-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Chown command running issue when gitea starts #4425
Comments
It also happens at version v1.5 |
We encountered the same issue having the respective folders on a slow NFS. |
I'm on |
I found that the step was hung for me because of a huge |
[x]
):Description
Gitea container was down due to maintenance, then I restart the container, the container is up without problem, but the gitea is not running. I went to inside the container using docker exec, I found that it is all because the container is running
chown -R git:git /data/gitea /app/gitea /data/git
on every start. Let's say I have quite a number of projects with large repositories, this command will take a long time to finish. After it has finished, gitea is up again without problem.https://hub.docker.com/r/gitea/gitea/tags/
So here is solution, remove
chown
step when start, please do not run chown to the whole data folder in any circumstance, it is not a scalable way to manage the data folderThe text was updated successfully, but these errors were encountered: