Discourse stuck on loading screen after update (v2.4.0, Discourse 3.2.0)
-
After the last update, I'm no longer able to view my forum. Restarting app didn't help.
When I load the app in browser, I see a loading indicator bouncing indefinitely. The browser console suggests that there is an issue with Ember (v5.5.0):
I took a look in my Cloudron app logs, and don't see any notable errors. Saw a few iterations of these two messages while on the loading screen, which I suspect is normal/expected, but wanted to mention just in case.
Feb 07 08:45:00 Redirected to <...>/login Feb 07 08:45:00 Filter chain halted as :redirect_to_login_if_required rendered or redirected
(This Discourse is configured to put all functionality behind a login.)
-
I just discovered Safe Mode, and that helped me narrow the source of the issue to either the theme and theme components that I'm using. Next step is tracking that down, but this helped considerably.
Wanted to share in case others run into the same issue! Visit
<discourse_app>/safe-mode
to toggle off three different potential sources of issues. -
Next step was visiting https://learning.aribadernatal.com/admin/customize/themes and checking for updates on the theme and each theme component. After installing all of the updates, I exited Safe Mode and visit in a new window. Discourse is accessible again!
-
@girish Two ideas based on this experience for small additions to https://docs.cloudron.io/apps/discourse/
- Would be great to mention Safe Mode as a useful debugging tool on this page.
- Would be helpful to add a section on how to uninstall plugins. When I searched online, everything pointed to removing an entry from
app.yml
, which doesn't exist in the Cloudron setup. I'd imagine it's a modified version of the current section on installing plugins: removing a directory and perhaps re-runningplugin:install_all_gems
but that's just a guess.