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
Commits page loads for a very, very long time if unclean shutdown has happened before.
Reason:
Since gpg creates lock file in /var/lib/gitea/home/.gnupg/public-keys.d/ , which is on a persistent volume, unclean shutdown leaves pubring.db.lock, and after following startup gpg operations fail because of the locked database.
Proposed fix:
I would suggest checking for the gpg database lock file during container startup, and remove it if it exists.
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No, requires ability to crash the container
How are you running Gitea?
Docker compose with /var/lib/gitea persisted in volume
The text was updated successfully, but these errors were encountered:
Description
Commits page loads for a very, very long time if unclean shutdown has happened before.
Reason:
Since gpg creates lock file in /var/lib/gitea/home/.gnupg/public-keys.d/ , which is on a persistent volume, unclean shutdown leaves
pubring.db.lock
, and after following startup gpg operations fail because of the locked database.Proposed fix:
I would suggest checking for the gpg database lock file during container startup, and remove it if it exists.
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No, requires ability to crash the container
How are you running Gitea?
Docker compose with /var/lib/gitea persisted in volume
The text was updated successfully, but these errors were encountered: