-
-
Notifications
You must be signed in to change notification settings - Fork 655
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
'Failed to change ownership of the home directory' in PHP container #703
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue still occurs... |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@Venorcis I finally figure out the issue and will provide a fix shortly: grep -E '^(U|G)ID_M(IN|AX)' /etc/login.defs
UID_MIN 1000
UID_MAX 60000
GID_MIN 1000
GID_MAX 60000 It turns out, that the given user id was above the acceptable threshhold value. |
Turns out it is totally unrelated. The actual fix is to run |
Fixed here: #750 |
ISSUE TYPE
Checklist
.env
file is attacheddocker-compose.override.yml
is attached (if it exists)cfg/
dir are attached (if customized)docker-compose logs
andlog/
output is addedOS / ENVIRONMENT
SUMMARY
Trying to start the PHP (7.4) container for the first time fails. A work-around is to start it a second time, and then it works again.
STEPS TO REPRODUCE
EXPECTED BEHAVIOUR
The php server starts without issue.
ACTUAL BEHAVIOUR
The following output is reported:
Execution is halted at this point; the php server does not start correctly.
OTHER INFORMATION
If this error occurs, these steps are a work-around to allow the php server to start anyway:
The output is then:
So in summary, the second start (when uninterrupted by a 'down' or a full toolbox restart) always works.
The text was updated successfully, but these errors were encountered: