2015-12-07 22:54 阅读 52

如何在Google Container Engine上安装Wordpress更新?

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?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享

1条回答 默认 最新

  • 已采纳
    dongtuo2373 dongtuo2373 2015-12-08 02:30

    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.

    点赞 评论 复制链接分享