简体   繁体   中英

How to install Wordpress updates on Google Container Engine?

I recently setup a Wordpress site hosted on Container Engine, following these instructions . Now I'm connected to wordpress wp-admin page and trying to update the latest Wordpress version updates. So I click on Dashboard->Updates->Update Now which results in this error:

Unpacking the update…

The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php

Installation Failed

I'm new to kubernetes, and can't seem to find how I can connect to the running wordpress container via the gcloud console, and look at wordpress files and see if there are any permission issues to fix there. Help?

I'm not sure about the permissions issues, but you can debug using kubectl exec .

If you have a pod named wordpress-abcde , you should be able to run kubectl exec wordpress-abcde -i -t sh to open up a shell in in the (only) container in that pod. Here's the docs for kubectl exec .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM