Functions fail to deploy after switching to S3 (_APP_STORAGE_DEVICE=s3)
- 0
- Self Hosted
- Flutter
- Functions
Hi @D5 , after switching my self-hosted Appwrite instance to use AWS S3 as the storage backend, my Cloud Functions stopped working. I’m running Appwrite via Docker on an Ubuntu server.
What I did: • Updated .env with _APP_STORAGE_DEVICE=s3 and added all required APP_STORAGE_S3* variables • Restarted the Appwrite stack successfully • File uploads to S3 work fine from the Flutter app • However, when I try to appwrite push function --all, both of my functions fail to deploy • Console shows errors like:
% appwrite push function --all
ℹ Info: Validating functions ...
ℹ Info: Checking for changes ...
ℹ Info: Pushing functions ...
✗ Error • test-function (test-function) • Failed to deploy
✗ Error: Deployment of test-function has failed. Check at http://*******/console/*******/functions/function-test-function/deployment-6851d24c26ee70158b82 for more details
I’ve deleted and reinitialized the functions, removed appwrite.json, and re-pulled the project. Still no luck.
📌 My question: How can I properly deploy cloud functions with S3 enabled? Do I need to change _APP_DOMAIN_FUNCTIONS to my public IP or domain?
Thanks for any guidance! 🙏
Docker logs are attached in the text file
Recommended threads
- After assigning a domain to my Dart func...
I’ve attached the images. Could anyone please explain how this execution is being performed?
- how to access the value of account statu...
- Redirect from clicking team invite link ...
Hi all! Pretty new to app development in general so this might be something more generic than appwrite, but I've found (after reading the docs for the Teams API...