-
Notifications
You must be signed in to change notification settings - Fork 4
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
File permission issue on Linux #176
Comments
I have seen this before - I got the error however it still downloaded successfully, maybe that has changed with the updated version of WP CLI since we updated the PHP container. The cause is that the container doesn't have a writable WP CLI home directory so I think we might need to create a writable mount to the expected location. |
Possibly related to #183 |
This one is more to do with where on the server WP CLI is trying to write to I think rather than the issue you're seeing in #183. This one happens on all platforms. |
Not totally sure what's creating the uploads directory but ideally anything under the project directory should be writable regardless of where it's created. I misunderstood the issue at first so you're right @kadamwhite this is very related to #183 |
There may still be warnings shown as the temp files can't be written to the server but this should work now that #183 is resolved. Feel free to reopen if this is not the case. |
Can't seem to be able to install themes/plugins via CLI with this error:
>>> $ composer server cli -- theme install twentynineteen Installing Twenty Nineteen (1.6) Downloading installation package from https://downloads.wordpress.org/theme/twentynineteen.1.6.zip... The authenticity of twentynineteen.1.6.zip could not be verified as no signature was found. Unpacking the package... Warning: Could not create directory. Warning: The 'twentynineteen' theme could not be found. Error: No themes installed.
On 4.0.0 RC 1, the
uploads
directory was created with the owner set toroot
. Changing the ownership to my user didn't fix it. On v3, theuploads
directory wasn't created at all.The text was updated successfully, but these errors were encountered: