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
- Bug Report: type generation for enum of ...
### 👟 Reproduction steps in the enum element value, instead of English, use another language (Khmer), in my case Khmer text. ``` export enum ProvinceType { ...
- Selfhosted 1.8.0 500 Server Error [Fresh...
Good evening, Currently running into issues with deploying 1.8.0 on a Dokploy instance I have. Prior to this we had 1.6.x running and it was fine. Tried to up...
- Invalid document structure: Unknown attr...
Hello. I have self hosted instance running on my server and has valid endpoint and most of things are working as should. Installation is fresh install of versio...