docker-compose-wordpress icon indicating copy to clipboard operation
docker-compose-wordpress copied to clipboard

Unable to install WP-CLI packages

Open rahul286 opened this issue 7 years ago • 1 comments

I tried installing https://github.com/trepmal/wp-revisions-cli

ee wp rtcamp.li.rtdemo.in package install trepmal/wp-revisions-cli

Got error

╭─[email protected] ~
╰─➤  ee4 wp rtcamp.li.rtdemo.in package install trepmal/wp-revisions-cli                                                             127 ↵
Error: Composer directory '/var/www/.wp-cli/packages' for packages couldn't be created: mkdir(): Permission denied

rahul286 avatar Feb 10 '18 15:02 rahul286

The wordpress image used by ee4 is being built using this Dockerfile

This issue can be solved by updating the permissions of the /var/www directory.

mbtamuli avatar Feb 11 '18 01:02 mbtamuli