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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    App update to latest version failed with ERROR

    Moodle
    3
    13
    514
    Loading More Posts
    • 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.
    • imc67
      imc67 translator last edited by

      I just tried to update Moodle to the latest version and it ended up in a broke site and the app status in "starting", error message at front end app URL:

      813049AD-EBC7-4203-844E-0B84C55C4990_4_5005_c.jpeg

      (Fout = ERROR and Uitzondering = Exception)

      As you see I use the Moove theme (very nice BTW).

      I restored it quickly to the latest backup.

      What can I do to make the update successful?

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @imc67 last edited by

        @imc67 Is that theme part of standard moodle?

        imc67 1 Reply Last reply Reply Quote 0
        • girish
          girish Staff last edited by

          I have revoked the latest release, until we get this sorted out.

          1 Reply Last reply Reply Quote 0
          • imc67
            imc67 translator @girish last edited by

            @girish said in App update to latest version failed with ERROR:

            @imc67 Is that theme part of standard moodle?

            No this is by far the most used theme from the Moodle Themes: https://moodle.org/plugins/theme_moove

            girish 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @imc67 last edited by

              @imc67 I have fixed the bug in the new package. Can you check? (1.1.2-1)

              imc67 1 Reply Last reply Reply Quote 0
              • imc67
                imc67 translator @girish last edited by

                @girish after update it doesn’t start and in the logs it says:

                ==> Creating symlinks for temp files
                Mar 09 07:39:57 /app/pkg/start.sh: line 16: /usr/bin/rm: Argument list too long

                luckow 1 Reply Last reply Reply Quote 1
                • luckow
                  luckow translator @imc67 last edited by luckow

                  @imc67 my workaround:
                  from inside the terminal change directory to /app/data/moodledata/sessions/ and rm -rf * Restart the app and the update magic will happen.

                  Why rm -rf /app/data/moodledata/sessions/* quits with an Argument list too long error? I don't know.

                  Pronouns: he/him | Primary language: German

                  girish 1 Reply Last reply Reply Quote 1
                  • girish
                    girish Staff @luckow last edited by

                    @luckow Indeed, that seems to be the issue, thanks for debugging! Making a new package.

                    1 Reply Last reply Reply Quote 1
                    • girish
                      girish Staff last edited by

                      @imc67 pushed a new package now.

                      imc67 1 Reply Last reply Reply Quote 0
                      • imc67
                        imc67 translator @girish last edited by

                        @girish said in App update to latest version failed with ERROR:

                        @imc67 pushed a new package now.

                        Is there a way to force update to Version 1.1.2-2 as now the suggested app update is Version 1.1.2-1

                        imc67 1 Reply Last reply Reply Quote 0
                        • imc67
                          imc67 translator @imc67 last edited by

                          @girish got it, went to Cloudron - settings - updates - check updates

                          girish 1 Reply Last reply Reply Quote 1
                          • girish
                            girish Staff @imc67 last edited by girish

                            @imc67 Yes, correct. That "refreshes" the updates by fetching latest from server.

                            🤞 about the update. I did test the update manually with the moove plugin. But the rm logic was wrong, I guess you do have a lot of session files.

                            imc67 1 Reply Last reply Reply Quote 0
                            • imc67
                              imc67 translator @girish last edited by

                              @girish update went fine!!! Thanks!

                              Indeed there where 40K+ session files, they are all gone now.

                              I do see a new folder “Moodle-prev-do-not-touch” 🙂

                              1 Reply Last reply Reply Quote 1
                              • First post
                                Last post
                              Powered by NodeBB