Back

Can i use GItlab for functions instead of Github?

  • 0
  • Self Hosted
  • Functions
  • Tools
Ewyn
29 Aug, 2024, 13:47

i did

TL;DR
Developers are facing an issue with Appwrite, getting an error message specifying file size limitations when trying to deploy functions. The solution involves adjusting the `_APP_STORAGE_LIMIT` environment variable to a higher value in the `.env` file located in the Appwrite folder. Additionally, developers inquire about using GitLab with Appwrite for function deployment, to which it's suggested they can establish a CI/CD pipeline in GitLab using the Appwrite CLI to push updates.
Joshi
29 Aug, 2024, 13:47

What value did you set

Ewyn
29 Aug, 2024, 13:48

300MB

Ewyn
29 Aug, 2024, 13:48

so

Ewyn
29 Aug, 2024, 13:48

300000000

Ewyn
29 Aug, 2024, 13:48

my file is 163,1 MB

Joshi
29 Aug, 2024, 13:48

Do 1GB just in case

Joshi
29 Aug, 2024, 13:48

Maybe it gets bigger than 300mb when compiled

Ewyn
29 Aug, 2024, 13:49

true

Ewyn
29 Aug, 2024, 13:49

didnt think of that

Ewyn
29 Aug, 2024, 13:50

not working, probably the file itself is somehow the problem

Joshi
29 Aug, 2024, 13:51

Tell me your steps how you restarted your container

Ewyn
29 Aug, 2024, 13:51

stopped the container

Ewyn
29 Aug, 2024, 13:51

let it stop

Ewyn
29 Aug, 2024, 13:51

started again

Joshi
29 Aug, 2024, 13:51

What container

Joshi
29 Aug, 2024, 13:51

All container?

Ewyn
29 Aug, 2024, 13:51

yup

Joshi
29 Aug, 2024, 13:52

Do 2GB now lmao

Joshi
29 Aug, 2024, 13:52

Python tends to get really big

Ewyn
29 Aug, 2024, 13:52

bruh LMAO

Ewyn
29 Aug, 2024, 13:54

does not worj

Ewyn
29 Aug, 2024, 13:54

i have python in there, latex and some images for the generation of a PDF. oh and .conda

maybe its because of .conda?

Joshi
29 Aug, 2024, 13:55

Check your docker logs

Ewyn
29 Aug, 2024, 13:58
TypeScript
[Error] Method: POST
[Error] URL: /v1/functions/:functionId/deployments
[Error] Type: Appwrite\Extend\Exception
[Error] Message: The file size is either not valid or exceeds the maximum allowed size. Please check the file or the value of the _APP_STORAGE_LIMIT environment variable.
[Error] File: /usr/src/code/app/controllers/api/functions.php
[Error] Line: 1135
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