Was having this same issue with the DigitalOcean one click install of GitLab CE. It seems the fix is related to either Apache or Nginx. (Unsure what’s installed by the one-click installer.)
DigitalOcean recommended via Twitter to come here for help with resolving this due to the lack of any kind of tutorial on fixing this problem.
Can anyone help?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
The DigitalOcean GitLab One-Click image uses GitLab’s “omnibus” installer which bundles it’s own copy of Nginx. You can insert custom Nginx settings, by editing
/etc/gitlab/gitlab.rb
If you wanted to increase theclient_max_body_size
add this line:For the change to take effect, you must then run:
sudo gitlab-ctl reconfigure
For more information on customizing GitLab’s Nginx configuration, see the upstream documentation.
Hey there, I read over that stack overflow and you want to take a look at the solution for Nginx that was proposed in the top answer. I’ll copy it below:
Andrew DigitalOcean TechOps