Skip to content
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

error: failed switching to "root": operation not permitted when using webdevops/php-apache:7.4-alpine on heroku #415

Open
rhyek opened this issue Jul 28, 2021 · 0 comments

Comments

@rhyek
Copy link

rhyek commented Jul 28, 2021

Related: #366 #333 #387

On Heroku I get the following logs:

2021-07-28T00:24:46.516356+00:00 heroku[web.1]: Process exited with status 1
2021-07-28T00:24:46.586377+00:00 heroku[web.1]: State changed from starting to crashed
2021-07-28T00:24:46.590702+00:00 heroku[web.1]: State changed from crashed to starting
2021-07-28T00:25:03.490812+00:00 heroku[web.1]: Starting process with command `supervisord`
2021-07-28T00:25:07.602192+00:00 app[web.1]: error: failed switching to "root": operation not permitted
2021-07-28T00:25:07.665596+00:00 heroku[web.1]: Process exited with status 1
2021-07-28T00:25:07.772202+00:00 heroku[web.1]: State changed from starting to crashed
2021-07-28T00:25:09.030906+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=monoapp.somedomain.com request_id=f38e393b-87fb-4d39-bc87-3c30e0b02ec2 fwd="24.171.221.251" dyno= connect= service= status=503 bytes= protocol=https
2021-07-28T00:25:09.858956+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=monoapp.somedomain.com request_id=8c9b728b-9512-4426-b6b0-c3ffc679d5a4 fwd="24.171.221.251" dyno= connect= service= status=503 bytes= protocol=https
2021-07-28T00:25:10.632758+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=monoapp.somedomain.com request_id=ee97ad53-33ad-4beb-be95-8bd6983bcbef fwd="24.171.221.251" dyno= connect= service= status=503 bytes= protocol=https

If I understand correctly, the change that fixed this in the past was reverted according to #333 (comment).

I want to confirm that until #387 is merged, this image can't be used on services that restrict root elevation like Heroku. Thanks.

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

1 participant