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

Failing with DDEV HEAD due to permissions on /run/php #20

Closed
rfay opened this issue Feb 19, 2024 · 6 comments
Closed

Failing with DDEV HEAD due to permissions on /run/php #20

rfay opened this issue Feb 19, 2024 · 6 comments
Assignees

Comments

@rfay
Copy link
Member

rfay commented Feb 19, 2024

The tests are currently failing here against DDEV head @robertoperuzzo -

Recent changes to HEAD include:

  • Changing the base to Debian 12 Bookworm
  • PHP default changes to PHP8.2

The test says:

Something is wrong with Docker or Colima and /mnt/ddev_config is not mounted from the project .ddev folder. This can cause all kinds of problems

This is normally a docker problem, but other add-ons aren't having trouble.

The Dockerfile here is quite extensive, and tries to do a pecl install, which may not work on Bookworm?

Thanks for looking at it!

@rfay
Copy link
Member Author

rfay commented Feb 19, 2024

Here's what I see when running the tests manually:

[19-Feb-2024 01:59:25] ERROR: Unable to create the PID file (/run/php/php8.2-fpm.pid).: Permission denied (13)

DDEV HEAD has moved to php8.2 by default, so we're testing with that now.

@rfay
Copy link
Member Author

rfay commented Feb 19, 2024

This comes up "ok" but nonfunctional if I delete most of the contents of the Dockerfile.

rfay added a commit to rfay/ddev-sqlsrv that referenced this issue Feb 19, 2024
@rfay rfay changed the title Failing with DDEV HEAD Failing with DDEV HEAD due to permissions on /run/php Feb 19, 2024
@rfay
Copy link
Member Author

rfay commented Feb 19, 2024

I imagine that the Dockerfile has changed the permissions on /run/php (normally owned by www-data and 777). This probably has to do with us basing on Debian 12 Bookworm now.

@robertoperuzzo
Copy link
Collaborator

Thank you @rfay, I'm going to working on it in the these days.

@stasadev
Copy link
Member

I encountered the same error by adding only one php-gmp package:

@robertoperuzzo
Copy link
Collaborator

I encountered the same error by adding only one php-gmp package:

* [ddev start failed with php-gmp due to permissions on /run/php ddev#5898](https://github.com/ddev/ddev/issues/5898)

Thank you @stasadev for sharing that.

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

3 participants