-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 Bug Report: Swift and Deno Function error while deploying using Digital Ocean droplet #5865
Comments
To investigate the issue further I went looking in the open runtimes thing on docker, i.e. here: https://hub.docker.com/r/openruntimes/deno In the sidebar it says to run Same for Node and Swift runtimes |
Hi @joeldrotleff thanks for bringing this issue up. I will be checking with the team to understand why this is happening. Also, did you migrate to 1.3.8? |
Re: migrate, on my droplet in my docker-compose.yml file, I see 'image: appwrite/appwrite:1.3.8'. So it looks like I'm on 1.3.8. |
Thanks for the response. I have notified my team, someone will look into it ASAP. |
Also, @joeldrotleff it will be great if you can repost this question in our support channel in discord - https://appwrite.io/discord , our team will be assisting you there :) |
Would you please try updating the appwrite package in your deps.ts to 7.0.0? |
@stnguyen90 Ok so that worked! My Deno deploy was successful now. I tried the same thing for a Swift function (Updating Package.swift file) but that doesn't seem to have worked, still errors out on deploy: Here is what my Package.swift looks like: let package = Package( |
I also verified that Package.resolved is showing 2.0.0:
|
@stnguyen90 Any ideas on the Swift runtime issues? |
Swift takes a long time to compile. You probably need more CPU and memory to build the function so it doesn't time out. |
👟 Reproduction steps
appwrite init function
)app write deploy function
👍 Expected behavior
Functions should deploy correctly without errors
👎 Actual Behavior
The Node function deploys correctly and runs
The Deno function errors out with:
The Swift function errors out with:
🎲 Appwrite version
Version 1.3.x
💻 Operating system
Linux
🧱 Your Environment
I created a Droplet on Digital Ocean w/ 2gb ram, Ubuntu 22.04 created from this template: https://marketplace.digitalocean.com/apps/appwrite
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: