Back

Could not list X (users, buckets, etc) : fetch failed

  • 0
  • Self Hosted
  • Functions
  • Storage
Chantheepic
29 Oct, 2024, 04:52

Hi, I'm currently self-hosting Appwrite locally using Docker.

Using the node.js function template, I can invoke the /ping endpoint without issue. However, the function can't seem to access Users or Storage. I self-hosted using the commands outlined in https://appwrite.io/docs/advanced/self-hosting and haven't modified the given docker compose file (ports used are :80 and :443). Are there env variables I should have updated?

TL;DR
Issue: Developer self-hosting Appwrite locally using Docker cannot list Users or Storage from the node.js function template. Solution: Ensure that the environment variables are properly set after self-hosting Appwrite following the instructions provided in the documentation. Update any relevant environment variables that may be needed for accessing Users or Storage functionalities.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more