Back

Deleting function builds in console won't actually delete the file

  • 0
  • Functions
Joshi
21 Sep, 2023, 00:37

If I delete files in storage they get deleted appropriately but if I delete function builds they still remain.

I'm uisng DO Spaces, appwrite version 1.4.3. I had to delete them manually because they built up over 2gb of storage.

TL;DR
User is experiencing an issue where deleting function builds in the console does not actually delete the file. User tried manually deleting them to clear storage. Running Appwrite version 1.4.3 with DO Spaces. Solution not provided.
Drake
21 Sep, 2023, 01:06

any errors in the docker logs for the deletes worker container?

Joshi
21 Sep, 2023, 01:09

has failed Exception in /usr/src/code/vendor/utopia-php/storage/src/Storage/Device/S3.php:808

Drake
21 Sep, 2023, 01:09

can you share more of the logs?

Joshi
21 Sep, 2023, 01:14
Joshi
21 Sep, 2023, 01:14

I've redacted the personal data

Joshi
21 Sep, 2023, 01:16

after the json

Drake
21 Sep, 2023, 01:16

how about before and after this line?

Joshi
21 Sep, 2023, 01:17

LOL I did not see the block below my bad

Drake
21 Sep, 2023, 01:26

lol holy moly...i mean...good thing it failed...look at what it was trying to delete...btw, you should backup everything (including s3) just in case 😬

Drake
21 Sep, 2023, 01:26

any logs above?

Joshi
21 Sep, 2023, 01:28

<:PES2_Wot:513345720065982465>

Joshi
21 Sep, 2023, 01:28
Joshi
21 Sep, 2023, 01:28

and anything above that is just basically the same error

Drake
21 Sep, 2023, 01:29

were you trying to delete a function or a deployment?

Joshi
21 Sep, 2023, 01:29

Deployment

Joshi
21 Sep, 2023, 01:31
Drake
21 Sep, 2023, 01:31

would you please create an issue for this?

Joshi
21 Sep, 2023, 01:32

will do now

Drake
21 Sep, 2023, 02:36

I've submitted a PR. thanks so much for catching this!

Joshi
21 Sep, 2023, 02:42

you da goat man 👏

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