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. Support
  3. Cloudron 5.2 update failed

Cloudron 5.2 update failed

Scheduled Pinned Locked Moved Solved Support
redisupdate
8 Posts 4 Posters 1.4k Views 4 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.
  • T Offline
    T Offline
    Trankery
    wrote on last edited by girish
    #1

    Hi!

    I logged into cloudron this morning, and all the sudden, it kept giving me Nginx 500 Errors.

    Later I updated to the latest release of this week.

    The errors continued.

    Then I've realized that redis is missing from the system?!

    https://gyazo.com/23842f36afd19ff4561b83952cbee032

    Anyone able to help me out? This is a production server and we urgently need this fixed.

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

      @Trankery Can you check the server logs? The file /home/yellowtent/platformdata/logs/box.log has the logs. Do you see any errors?

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

        So there was a crash because of redis:

        invalid argument "NaN" for "-m, --memory" flag: invalid size: 'NaN'
        See 'docker run --help'.
        
            at ChildProcess.exithandler (child_process.js:294:12)
            at ChildProcess.emit (events.js:198:13)
            at maybeClose (internal/child_process.js:982:16)
            at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
          killed: false,
          code: 125,
          signal: null,
          cmd:
        
        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          There is a bug that if the redis memory limit is adjusted before the platform code starts up, it crashes. This is because of a typo in the code 😞

          In the rare chance someone else hits this, just apply the one line change to /home/yellowtent/box/src/addons.js - https://git.cloudron.io/cloudron/box/-/commit/4ede765e1f9a1a89d497255465721b0b930db642 and then systemctl restart box.

          T 1 Reply Last reply
          1
          • girishG girish

            There is a bug that if the redis memory limit is adjusted before the platform code starts up, it crashes. This is because of a typo in the code 😞

            In the rare chance someone else hits this, just apply the one line change to /home/yellowtent/box/src/addons.js - https://git.cloudron.io/cloudron/box/-/commit/4ede765e1f9a1a89d497255465721b0b930db642 and then systemctl restart box.

            T Offline
            T Offline
            Trankery
            wrote on last edited by
            #5

            @girish No Idea how this happened! Sorry!

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gml
              wrote on last edited by
              #6

              My whole cloudron was not really working after the update. I did a reboot, nothing really changed, System looked like this: Screenshot_2020-05-30.png

              After the fix from @girish and restart of box everything worked again.

              Hope you push a hotfix pretty soon for all others. Still wish for a GUI option to choose if i want auto or manually install system updates, just for cases like this (this exists for the apps and has existed for the cloudron itself in the past). Auto updates always have this bitter aftertaste of waking up next day and it could work or not work.

              1 Reply Last reply
              1
              • valkalonV Offline
                valkalonV Offline
                valkalon
                wrote on last edited by
                #7

                Same here thanks for the fix @girish it worked! I got to say I was scared, glad you reacted so fast 😉

                T 1 Reply Last reply
                1
                • valkalonV valkalon

                  Same here thanks for the fix @girish it worked! I got to say I was scared, glad you reacted so fast 😉

                  T Offline
                  T Offline
                  Trankery
                  wrote on last edited by
                  #8

                  @valkalon Cloudron support is still the best 😉

                  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