Back

Github VCS Does not work with S3 Storage (wasabi)

  • 0
  • Functions
Drake
2 Sep, 2023, 22:02

It should be your project id. I'm going to assume that's correct and that's not the problem...

are you able to upload a file to a bucket?

TL;DR
The user is reporting that Github VCS does not work with S3 storage (Wasabi). They have created an issue in the Github repository to track this problem. Additionally, they are asking for help with an error that occurs during Github deployment but not during manual deployment. They also mention that they have deleted a function and deployed another manually to recreate the error. The user is asking if others are able to upload a file to a bucket. Solution: No solution is provided in this support thread.
SenZi
2 Sep, 2023, 22:08

yes, and uploads show up in s3 storage too

Drake
2 Sep, 2023, 22:12

Can you share the full error?

SenZi
2 Sep, 2023, 22:17

I've deleted the function and deployed another manually, I'll try to recreate the error.

SenZi
7 Sep, 2023, 01:46
<?xml version="1.0" encoding="UTF-8"?>

<Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>storage/functions/app-64f2802c78186351f552/64f92b52eea803b0858a.gz</Key><RequestId>2E96BCA00ADB57A1:A</RequestId><HostId>98Nw0veT99Z1hB4d/RtNalvmJI+TiPt62awPPAHO1HPvjbTdHRFwRobhzHg2JYdfRazWtZskY58M</HostId></Error>

Drake
7 Sep, 2023, 02:15

Where does this error show?

SenZi
7 Sep, 2023, 02:16

function build logs

Drake
7 Sep, 2023, 02:17

Can you share the logs from there?

SenZi
7 Sep, 2023, 02:17

this is it

SenZi
7 Sep, 2023, 02:17

only that

SenZi
7 Sep, 2023, 02:17

build failed and this is what the logs show in the console

Drake
7 Sep, 2023, 02:19

Would you please share the related docker logs from the appwrite-worker-builds and openruntimes-executor containers?

SenZi
7 Sep, 2023, 02:21

appwrite-worker-builds

SenZi
7 Sep, 2023, 02:22

openruntimes-executor

Drake
7 Sep, 2023, 02:22

And you said this file exists in wasabi?

SenZi
7 Sep, 2023, 02:23

nope, the file does not exist

SenZi
7 Sep, 2023, 02:23

only the function i created manually exists there

Drake
7 Sep, 2023, 02:27

@Meldiron could you help with this error? It happens on GitHub deployment, but not manual

Meldiron
7 Sep, 2023, 07:18

@SenZi In docker-compose.yml, can you please find executor and let me know what version of image is it on?

SenZi
7 Sep, 2023, 15:01

is this it? openruntimes/executor:0.3.5

Drake
7 Sep, 2023, 23:57
Drake
8 Sep, 2023, 15:14

could you try adding the S3 env vars to your docker-compose.yml file for the appwrite-worker-builds container?

SenZi
8 Sep, 2023, 20:56

i will give it a try on another test instance and let you know

Drake
13 Sep, 2023, 16:14

did it work?

SenZi
14 Sep, 2023, 08:09

i didn't get the time to test it later as i was busy migrating the functions and stuff to the latest instance. will give it a try

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