Manually Update Plugins?
- This topic has 6 replies, 4 voices, and was last updated 7 years, 8 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.
So, I just updated Cbox to the most recent version. Worked great, no problems. When I went to the site, I got the standard “Commons In A Box is almost ready! You only have one last thing to do. We promise!” message.
Clicked on the “Upgrade” button and I was taken to the page in which you input server credentials for automated updating. Unfortunately, our servers are configured for SFTP, which WP doesn’t support for automated upgrades…we do all upgrades/updates automatically. However, this version of Cbox doesn’t seem to let me past this point at all. Can’t access core functionality without updating plugins.
So, is there a way past this to see which of the plugins need upgrading so I can do so manually?
Hi Ethan, the CBox crew can give you more specific advice, but there was something that might help you in a recent thread.
https://commonsinabox.org/groups/help-support/forum/topic/wordpress-4-7-and-bbpress/
Cheers,
t
Hi Ethan,
Troy’s advice is correct – the way to override CBOX’s plugin management is to add the following code to your wp-config.php file:
define('CBOX_OVERRIDE_PLUGINS', true);
The CBOX plugins will then appear in your plugin list and can be updated from there. What you lose, of course, is the curation which tries to ensure that the suite of plugins work properly together. This may not be a problem, but it can make it harder to debug if things don’t work as expected.
Cheers, Christian
Thanks all. I’m assuming I could add the line to the wp-config file, update things, and then comment it out.
Any specific place in the wp-config that the line needs to go?
Any specific place in the wp-config that the line needs to go?
Anywhere will do.
Cheers, Christian
I added the line to the wp-config file, logged back in to see that the plugins that needed updating we’re all listed. Awesome.
I manually updated them (8 in total). Unfortunately, when I went back into the install, it still gives me the “Commons In A Box is almost ready! You only have one last thing to do. We promise!” message and says that there is one plugin that needs updating. When I go into the plugin dashboard, it lists all plugins as being up to date.
Thoughts?
Hi Ethan,
Regarding:
Unfortunately, our servers are configured for SFTP, which WP doesn’t support for automated upgrades…we do all upgrades/updates automatically.
Can you explain a bit more about this? How are you updating your non-CBOX plugins?
You might be interested in the following StackOverflow article, so you can use SFTP with WordPress without providing your credentials:
http://stackoverflow.com/questions/640409/can-i-install-update-wordpress-plugins-without-providing-ftp-access
Let us know if that helps.
—-
Regarding:
Unfortunately, when I went back into the install, it still gives me the “Commons In A Box is almost ready! You only have one last thing to do. We promise!” message and says that there is one plugin that needs updating. When I go into the plugin dashboard, it lists all plugins as being up to date.
When you refer to the plugin dashboard, are you referring to the CBOX plugins dashboard or the WP plugins page?
The one plugin could be related a non-wordpress.org plugin. What CBOX plugins do you have activated? It could either be Wiki, Group Announcements, External RSS Feeds for Groups or Reply By Email.
In that case, if you are still running into permissions issues, you can manually download the plugin you need to update from one of our Github repositories. Let me know which one in particular and I’ll provide you a link.