Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. Discourse stuck on loading screen after update (v2.4.0, Discourse 3.2.0)

Discourse stuck on loading screen after update (v2.4.0, Discourse 3.2.0)

Scheduled Pinned Locked Moved Discourse
18 Posts 6 Posters 2.3k Views 6 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ari
    wrote on last edited by
    #1

    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):

    Screenshot 2024-02-07 at 8.45.33 AM.png

    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.)

    1 Reply Last reply
    1
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @ari so package 2.3.0 worked and only 2.4.0 is causing the above error?

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        One thing is that in 2.4.0 we raised the memory limit to 4GB . Otherwise, it just runs out of memory at times. If you go to App -> Resources . Can you bump the memory even more and see if that helps?

        1 Reply Last reply
        0
        • A Offline
          A Offline
          ari
          wrote on last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • A Offline
            A Offline
            ari
            wrote on last edited by
            #5

            @girish Looking at the Event Log tab, I see that I was running v2.2.3 until this week and then updated to 2.3 and then 2.4 in a day. So entirely possible this broke with v2.3.0.

            girishG 1 Reply Last reply
            0
            • A ari

              @girish Looking at the Event Log tab, I see that I was running v2.2.3 until this week and then updated to 2.3 and then 2.4 in a day. So entirely possible this broke with v2.3.0.

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @ari If you clone from the 2.3.0 backup, it will help us narrow down the issue.

              A 1 Reply Last reply
              0
              • L Offline
                L Offline
                Locutus
                wrote on last edited by
                #7

                I had the same problem as you did. Turning off the discourse-follow plugin resolved the issue for me. It could be either that or one of your other plugins.

                1 Reply Last reply
                1
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  Yeah, discourse plugins are just cloned from git . At the same time, they aren't compatible between releases. This just breaks installations 😕 Best not to install plugins unless you are paying attention.

                  1 Reply Last reply
                  0
                  • girishG girish

                    @ari If you clone from the 2.3.0 backup, it will help us narrow down the issue.

                    A Offline
                    A Offline
                    ari
                    wrote on last edited by
                    #9

                    @girish Rolling back now. Will report what I find.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      ari
                      wrote on last edited by
                      #10

                      Rolling back to my 2.3.0 backup fixed the problem. Seems like the issue entered in 2.3.0=>2.4.0.

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        ari
                        wrote on last edited by
                        #11

                        I have four plugins installed, but only one is active. Could an inactive plugin still cause issues?

                        Screenshot 2024-02-07 at 3.45.45 PM.png

                        1 Reply Last reply
                        0
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #12

                          The main difference in 2.4.0 is that they put some ember based asset building . Maybe one or more plugins are incompatible. I don't know if inactive plugins can cause problems.

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            ari
                            wrote on last edited by
                            #13

                            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.

                            D6318D1A-0393-4ADD-8D9B-AC629E2FBE0E-2794-0000351BB8D0B39D.png

                            1 Reply Last reply
                            1
                            • A Offline
                              A Offline
                              ari
                              wrote on last edited by ari
                              #14

                              Next step was visiting /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!

                              1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                ari
                                wrote on last edited by
                                #15

                                @girish Two ideas based on this experience for small additions to https://docs.cloudron.io/apps/discourse/

                                1. Would be great to mention Safe Mode as a useful debugging tool on this page.
                                2. 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-running plugin:install_all_gems but that's just a guess.
                                1 Reply Last reply
                                2
                                • E Offline
                                  E Offline
                                  eddowding
                                  wrote on last edited by
                                  #16

                                  +1 on guidance how to uninstall plug-ins from the CLI please

                                  1 Reply Last reply
                                  2
                                  • W Offline
                                    W Offline
                                    wrapper
                                    wrote on last edited by
                                    #17

                                    Hey any updates on the above? Also trying to remove a plugin and not sure what the official instructions are

                                    1 Reply Last reply
                                    1
                                    • J Offline
                                      J Offline
                                      joseph
                                      Staff
                                      wrote on last edited by
                                      #18

                                      @wrapper this is quite an old issue. Can you create a new post with whatever issue you are facing?

                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      • Login

                                      • Don't have an account? Register

                                      • Login or register to search.
                                      • First post
                                        Last post
                                      0
                                      • Categories
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Bookmarks
                                      • Search