【发布时间】:2019-11-20 14:59:51
【问题描述】:
我刚刚按照以下步骤在 Google Cloud Platform App Engine STANDARD 环境中安装了 WordPress 的新副本:https://cloud.google.com/community/tutorials/run-wordpress-on-appengine-standard
gcloud app deploy cron.yaml 有问题
我已经检查了很多次 cron.yaml 文件,被覆盖,现在很空(cron:)
我总是收到这个错误:
xxx@xxx:~/wordpress$ gcloud app deploy cron.yaml
Configurations to update:
descriptor: [/home/xxx/wordpress/cron.yaml]
type: [cron jobs]
target project: [xxx-news]
Do you want to continue (Y/n)? y
Updating config [cron]...failed.
ERROR: gcloud crashed (TypeError): sequence item 0: expected str instance, bytes found
【问题讨论】:
-
我使用了相同的教程,并且能够部署 cron.yaml。你能在这里分享你的 cron.yaml 并检查是否有什么问题吗?
-
我有时会覆盖我的 cron,删除并重新创建,但无法更新 cron 文件
-
请提供 cron.yaml 进行检查。谢谢
-
您分享的链接对我来说非常有效,但有两点:我跳过了第 2 步。在设置下因为没有必要,并且我使用了
php vendor/bin/wp-gae create在创建新的 WordPress 项目下而不是@987654326 @
标签: wordpress google-app-engine cron