You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My gitea setup has nginx in front of it but that cannot be the problem because it only happens to a specific layer in a docker image.
We have about 20 docker images in our registry with none of them having any problems, however 2 docker images have 1 layer that gets stuck in retrying.
The layer b2f0f717169a gets stuck retrying indefinitely, I've tried the following:
Deleting the package and pushing it again
Disable proxy_buffering & proxy_request_buffering in nginx
Upgrading my gitea from v1.7.0 to v1.7.1
We have many images in our team and all of them work fine, this one used to work fine too but for some reason this missing layer issue comes up if I make a few changes in my project and push the image again.
I don't have the logs but I can see the problem, database entries aren't verified correctly. When I push the image there are a series of head requests for each layer and only the ones that return a 404 are uploaded. This layer is incorrectly reported as existing, the Head request returns a 200 even though the layer doesn't exist in the fs. I think just adding an additional lookup to the fs wouldn't slow down the entire process a lot and would be a sure way of ensuring this bug come up.
Description
My gitea setup has nginx in front of it but that cannot be the problem because it only happens to a specific layer in a docker image.
We have about 20 docker images in our registry with none of them having any problems, however 2 docker images have 1 layer that gets stuck in retrying.
First I build my image
then everything for this specific image gets pushed properly
Then I delete all of the local images:
and I finally pull the image from the registry
The layer
b2f0f717169a
gets stuck retrying indefinitely, I've tried the following:proxy_buffering
&proxy_request_buffering
in nginxv1.7.0
tov1.7.1
We have many images in our team and all of them work fine, this one used to work fine too but for some reason this missing layer issue comes up if I make a few changes in my project and push the image again.
Gitea Version
1.17.1
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
https://gist.github.com/Taha-Firoz/8c0a6b9825879917283d47c4ee23d55c
Screenshots
No response
Git Version
No response
Operating System
ubuntu server 22.04
How are you running Gitea?
docker-compose file with mysql as it's db
Database
MySQL
The text was updated successfully, but these errors were encountered: