Replies: 2 comments 1 reply
-
This is the WordPress compose file that doesn't work with the latest CLI image https://github.com/Jack-Dane/odoo-wp-plugin/blob/main/tests/end_to_end_tests/wordpress-compose.yaml. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you've got pre-existing storage, you'll want to match the permissions of it explicitly (by ID, not name), so something like |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Possibly related to #906.
The
cli:latest
docker image doesn't have thexfs
user (assigned to UID 33). When trying to run CLI commands to install plugins, I get permission errors:This user used to have a shared UID with the
www-data
user (in the base Wordpress container), but thexfs
has been removed.Wordpress CLI Container
This means I cannot install plugins, as there isn't a user that has access to these files.
WordPress Container
I am unsure if the
xfs
was supposed to share the UID of thewww-data
to ease permission issues, or if this was just a happy coincidence and another solution needs to be used.Workaround
Use an older CLI image, eg:
wordpress:cli-2.9.0-php8.3
resolves this issue.Beta Was this translation helpful? Give feedback.
All reactions