Skip to content

500 Internal Server Error when attempting to upload large image to container registry

While attempting to upload an image with a full checkout of the tor-browser repository I got a 500 Internal Server Error. The image was around 8.8GB.

Smaller images (4-5GB) do not have the same issue.

This can be reproduced locally by building and attempting to push the image created by this Containerfile.

I have also seen this happen when attempting to upload the image from CI, see: https://gitlab.torproject.org/brizental/tor-browser/-/jobs/626357

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information