How to Start Discourse with Plugins Disabled?
-
I installed one too many plugins and now the app will not start.
How can I restart Discourse from Cloudron dashboard so the plugins are disabled at startup?
btw Itried "Recovery Mode" and it would not restart and enable terminal.
An error occurred during the configure operation: Inactive: Error getting IP of redis-12208b04-b0ef-41cf-a81a-c3df8a64f35b service
I include the error about redis but I hope there is a way to disable plugins from cloudron dashboard.
-
@briankb-0 For the redis error, go to Services -> redis and restart redis. Maybe give redis some more memory there.
As for how to start discourse with plugins disabled, looks like you can just rename the plugin directory per https://meta.discourse.org/t/adding-server-side-plugin-disabling-to-safe-mode/148299
-
@girish Thanks for that tip! When I checked redis memory was set to 112mb or something stupid low. That is even lower than the min allowed with the slider. I clicked "Reset to default" which is 512mb.
After restarting the Redis service with 512mb that error disappeared. I'm still having issues with the Discourse app though. Restore from backup is still disabled which I don't understand.
-
@girish I'm sorry, I've already uninstalled and reinstalling the app so I don't have the same instance to screenshot but here is one from the new install to pinpoint the disabled state of the restore button.
When I installed again it set the instance of Redis to only have 150mb of memory. One of the errors was a lack of memory for redis (database). so maybe the app should default to a larger redis memory of 256mb.