Back

Function deploy and activation with Wasabi

  • 0
  • Functions
dr.pand
15 Mar, 2023, 09:56

Hello. Using Wasabi as storage.

Coded function in dart. Even simple functions cant be deployed.

Runtime: Dart - 2.17 When trying to deploy and activate any function: Logs: No logs recorded Error: Could not resolve host: .s3.eu-central-2.wasabisys.com

When trying to activate: Build with the requested ID is building and not ready for execution.

Also tried to make uploaded file public access in Wasabi console.

TL;DR
User is experiencing issues with deploying and activating functions with Wasabi storage. They have checked and confirmed that all environment variables are set correctly. Possible solution: Check the environment variables for the Wasabi bucket and append it to the host. Additionally, check the memory assigned (_APP_FUNCTIONS_MEMORY). If the issue persists, try setting it to 2048.
joeyouss
15 Mar, 2023, 09:58

Hi

joeyouss
15 Mar, 2023, 09:59

Can you let me know the memory assigned?

joeyouss
15 Mar, 2023, 09:59

You can check _APP_FUNCTIONS_MEMORY

dr.pand
15 Mar, 2023, 10:00

_APP_FUNCTIONS_MEMORY - 0

joeyouss
15 Mar, 2023, 10:02

Can you try setting it to 2048 and try again?

dr.pand
15 Mar, 2023, 10:03

Did that, Nothing chaned

joeyouss
15 Mar, 2023, 10:04

ok, allow me to look into this further since this is not a memory issue

dr.pand
15 Mar, 2023, 10:09

Thank u)

joeyouss
15 Mar, 2023, 16:50

Hi again

joeyouss
15 Mar, 2023, 16:50

So

joeyouss
15 Mar, 2023, 16:51

As you can see in your host the bucket is missing

joeyouss
15 Mar, 2023, 18:14

So what you need to do is

joeyouss
15 Mar, 2023, 18:14

Check your environment variables for the wasabi bucket and once you have it you can append that to your host

dr.pand
16 Mar, 2023, 06:17

Thank you, for ur response. You mean:

_APP_STORAGE_WASABI_BUCKET

_APP_STORAGE_WASABI_REGION And others?

If so, they are all done, and I’m able to upload and manipulate any files in wasabi storage by sdk

Drake
16 Mar, 2023, 20:03

If so, they are all done, and I’m able to upload and manipulate any files in wasabi storage by sdk What do you mean by this?

dr.pand
16 Mar, 2023, 21:45

Earlier, there was error on appwrite side, so I wasn’t able to upload any files to wasabi throw appwrite console. This was fixed with new update. So, I was thinking, may be something related to this error?

All env variables a set correctly. So it uploaded tz archive to wasabi. But nothing happens after. Function not deploying and not activated

Drake
16 Mar, 2023, 21:49

Does docker compose exec appwrite-executor vars show the right wasabi values?

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