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
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...