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
The problem is that on restart, the script tries again to create a bare repository, but it already exists.
The early versions had the line 'rm -rf $GIT_PROJECT_ROOT/*' in the script, but they removed it in commit 027e0e3.
Additionally, redirecting stderr to dev/null masks all errors and it is impossible to understand what went wrong.
Workaround
docker-compose.yml
entrypoint: >
sh -c "rm -rf /var/lib/git/* &&
entrypoint"
The text was updated successfully, but these errors were encountered:
The problem is that on restart, the script tries again to create a bare repository, but it already exists.
The early versions had the line 'rm -rf $GIT_PROJECT_ROOT/*' in the script, but they removed it in commit 027e0e3.
Additionally, redirecting stderr to dev/null masks all errors and it is impossible to understand what went wrong.
Workaround
docker-compose.yml
The text was updated successfully, but these errors were encountered: