Skip to content
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

Allow import of big gitlab projects #185

Closed
Gredin67 opened this issue Apr 2, 2022 · 3 comments
Closed

Allow import of big gitlab projects #185

Gredin67 opened this issue Apr 2, 2022 · 3 comments

Comments

@Gredin67
Copy link

Gredin67 commented Apr 2, 2022

Describe the bug

trying to import a gitlab project, I get 413 Request Entity Too Large although the file weights 477M and the limit in /etc/gitlab/gitlab-persistent.rb is nginx['client_max_body_size'] = "1000m"
I also tried adding client_max_body_size 500m; in /etc/nginx/nginx.conf

@kay0u
Copy link
Member

kay0u commented Apr 4, 2022

After changing the file gitlab-persistent.rb did you launch the command:

sudo gitlac-ctl reconfigure

And after changing the file /etc/nginx/conf.d/you.gitlab.domain.d/gitlab.conf (not /etc/nginx/nginx.conf), did you reload the nginx config with:

sudo systemctl reload nginx

@kay0u kay0u closed this as completed Sep 7, 2022
@farvardin
Copy link
Member

farvardin commented Sep 14, 2022

hello @kay0u

thanks a lot for the hint about /etc/nginx/conf.d/you.gitlab.domain.d/gitlab.conf

it seems to do the trick for me...

First I was modifying
/etc/yunohost/apps/gitlab/conf/nginx.conf instead (it's the only relevant file I got from a mlocate search for nginx.conf)

What are the difference between the 2 files? They look similar, except for the part I've altered and a thing about proxy_pass.

What is the use of /etc/yunohost/apps/gitlab/conf/nginx.conf if it's not parsed as expected?

@kay0u
Copy link
Member

kay0u commented Sep 14, 2022

Hi @farvardin

You're not supposed to modify the files in /etc/yunohost/apps/. It represents the package used during the install/upgrade of this app and it's mainly used for the backup/restore process of the app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants