【问题标题】:How to install Wordpress updates on Google Container Engine?如何在 Google Container Engine 上安装 Wordpress 更新?
【发布时间】:2016-03-12 17:21:56
【问题描述】:

我最近在 these instructions 之后设置了一个托管在 Container Engine 上的 Wordpress 站点。现在我已连接到 wordpress wp-admin 页面并尝试更新最新的 Wordpress 版本更新。所以我点击 Dashboard->Updates->Update Now 这会导致这个错误:

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

我是 kubernetes 的新手,似乎无法找到如何通过 gcloud 控制台连接到正在运行的 wordpress 容器,并查看 wordpress 文件,看看是否有任何权限问题需要修复。帮忙?

【问题讨论】:

    标签: php wordpress kubernetes google-kubernetes-engine


    【解决方案1】:

    我不确定权限问题,但您可以使用kubectl exec 进行调试。

    如果您有一个名为 wordpress-abcde 的 pod,您应该能够运行 kubectl exec wordpress-abcde -i -t sh 在该 pod 的(唯一)容器中打开一个 shell。这是kubectl exec 的文档。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-05-30
      • 2018-01-09
      • 1970-01-01
      • 2017-09-07
      • 2021-01-07
      • 2011-08-26
      • 2017-03-26
      相关资源
      最近更新 更多