Skip to content

Upgrade to 17.7.4 version error #3074

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

Open
106062 opened this issue Feb 27, 2025 · 1 comment
Open

Upgrade to 17.7.4 version error #3074

106062 opened this issue Feb 27, 2025 · 1 comment

Comments

@106062
Copy link

106062 commented Feb 27, 2025

stat: cannot statx '/home/git/gitlab/config/gitlab.yml': Operation not permitted

I'm update from 17.6.5 to 17.7.4 have this file question, befrore this i have no volumes to have this config path
so i think that is not exist in 17.7.4 so get this error,
then after create this volumes to image i have another error how can i fix this thx

stat: cannot statx '/home/git/gitlab/config/gitlab.yml': Operation not permitted
sudo: unknown user envsubst
sudo: error initializing audit plugin sudoers_audit
@kkimurak
Copy link
Contributor

then after create this volumes to image

Please don't do that. By creating a volume, the owner of gitlab.yml may be set to a user within the container's host, and that user is often a invalid within the container. That may be why sudo: unknown user envsubst is reported (I have never tested so this is just my guess).

About the root causes (cannot statx): There are too many possible causes to determinate. Please provide all docker logs for the gitlab container, preferably with the container environment variable "DEBUG" set to "true" to check which process (possibly in assets/runtime/functions) causes the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants