简体   繁体   English

使用样板在Bluemix.net上部署Wordpress-现在我不知道如何添加新插件

[英]Deployed Wordpress on Bluemix.net using a Boilerplate - Now I can't figure out how to add a new plugin

I learned the hard way that plugins can and will disappear if I add them via the UI. 我了解了通过UI添加插件后可以消失的困难方式。 According to the help: "Bluemix, like other cloud platforms, has an ephemeral filesystem. Every time you push or restart your app, the container that stores the files for your app is destroyed and recreated. If you update the WordPress Core from the UI, then the update is rolled back when your app is restarted." 根据帮助:“ Bluemix与其他云平台一样,具有短暂的文件系统。每次您推送或重新启动应用程序时,都会破坏并重新创建用于存储应用程序文件的容器。如果您从UI更新WordPress Core, ,然后在您的应用重新启动时回滚更新。”

So I'm now trying to add them via the Cloud Foundry command line interface as suggested in the help docs. 因此,我现在尝试按照帮助文档中的建议通过Cloud Foundry命令行界面添加它们。

I downloaded the application starter code, extracted it to a New_folder, downloaded the plugin I wanted, extracted that to the New_folder/wp-content/plugins/ and then tried to do a cf push. 我下载了应用程序启动程序代码,将其解压缩到New_folder,下载了我想要的插件,将其解压缩到New_folder / wp-content / plugins /,然后尝试执行cf push。 I got no errors but the plugin is not showing up in the wp-admin page. 我没有错误,但是插件未显示在wp-admin页面中。

Total Wordpress newbie here... Can anyone provide me any clues on what I'm doing wrong or steps I'm missing? 这里的Wordpress新手总数...有人可以提供有关我做错了什么或缺少的步骤的任何线索吗? Has anyone else tried this? 还有其他人尝试过吗?

Ok got it working. 好的,它起作用了。 I figured it out with help from the Bluemix dev team, here is what they said: 我在Bluemix开发团队的帮助下弄清楚了,这就是他们所说的:

We are still waiting for our updated documentation to land. 我们仍在等待更新的文档发布。 We should have synchronized the updated deployment with the corresponding documentation updates, sorry for the trouble. 我们应该已经将更新的部署与相应的文档更新进行了同步,对于此问题,我们深表歉意。

Until the docs at https://www.ng.bluemix.net/docs/#starters/wordpress/index.html#wordpress are updated, please follow the steps posted at https://developer.ibm.com/answers/questions/181148/wordpress-changed-wordpress-file-not-uploaded/#answer-181784 and report back if you have any trouble. https://www.ng.bluemix.net/docs/#starters/wordpress/index.html#wordpress上的文档更新之前,请按照https://developer.ibm.com/answers/questions上发布的步骤进行操作/ 181148 / wordpress-changed-wordpress-file-not-uploaded /#answer-181784 ,如果有任何问题,请报告。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Bluemix.net的Wordpress样板不发送电子邮件 - Bluemix.net's Wordpress boilerplate not sending emails 如何在Now Reading wordpress插件中随机选择书籍? - How can I select books randomly in Now Reading wordpress plugin? 神秘的 WordPress 问题——想不通 - Mysterious WordPress problem — can't figure this out 刚刚部署 wordpress 网站,现在无法登录到我的后端 - Just deployed wordpress site and now can't login to my backend 以管理员身份登录时无法升级 WordPress 或添加新插件(使用 Sage 主题) - Can't upgrade WordPress or add new plugin while logged in as admin (using Sage theme) add_action 在插件 activate() 中不起作用 使用 wordpress 插件样板的方法 - add_action not working in plugin activate() Method using wordpress plugin boilerplate 如何通过 Wordpress 插件使用代码添加新页面? - How do I add a new page using code thru a Wordpress plugin? 无法弄清楚为什么$ wpdb在wordpress页面中不起作用 - Can't figure out why $wpdb is not working in wordpress page WordPress网站上的Google Map。 无法弄清楚如何为地标放置自定义图标 - Google Map on a wordpress site. Can't figure out how to put a customized icon for placemark Wordpress 插件破坏了我的网站并且无法弄清楚如何解决? - Wordpress Plugin Broke My Site & Cant Figure Out How To Resolve?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM