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. No automatic app updates with pending box update?

No automatic app updates with pending box update?

Scheduled Pinned Locked Moved Solved Support
13 Posts 4 Posters 1.9k Views 5 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.
  • nebulonN Offline
    nebulonN Offline
    nebulon
    Staff
    wrote on last edited by
    #4

    Taking a closer look a the code path, indeed if there is a Cloudron update it will first attempt to run that and then will wait for the next cron updater to handle the apps once there is no Cloudron update pending: https://git.cloudron.io/cloudron/box/-/blob/master/src/cron.js?ref_type=heads#L219

    Of course in your case it will always be pending. Will fix for next release.

    1 Reply Last reply
    2
    • fbartelsF Offline
      fbartelsF Offline
      fbartels
      App Dev
      wrote on last edited by
      #5

      Thank you. I am assuming the next release will be a 7.6.x however, or not?

      Just checked again the run time of the current server and its still under contract till april, so I will get to planning the migration sometime in q1 next year.

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #6

        That is true, the fix will not really reach your server with such a release. I guess you would have to patch that file then. Will link the patch here then once done.

        1 Reply Last reply
        1
        • fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by
          #7

          Much appreciated

          1 Reply Last reply
          0
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #8

            Since this may take a bit to get done with proper testing, you may just skip the return at https://git.cloudron.io/cloudron/box/-/blob/master/src/cron.js?ref_type=heads#L223 for the moment to get over the issue. Have to discuss back with @girish more on the potential side-effects first.

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

              I have made a fix with https://git.cloudron.io/cloudron/box/-/commit/fa842034edfc0b8ba65a2c339a9b28112471945f . @fbartels unfortunately, you have to apply that patch manually on your server.

              E 1 Reply Last reply
              2
              • girishG girish has marked this topic as solved on
              • fbartelsF Offline
                fbartelsF Offline
                fbartels
                App Dev
                wrote on last edited by
                #10

                Hi @girish,

                thanks for the patch. I have just applied it manually and restarted the box service afterwards. There are currently some updates pending, so I will be able to report back tomorrow if these updates have been applied.

                1 Reply Last reply
                3
                • fbartelsF Offline
                  fbartelsF Offline
                  fbartels
                  App Dev
                  wrote on last edited by
                  #11

                  Just a small confirmation from my side that app updates were now automatically applied. Case closed.

                  1 Reply Last reply
                  3
                  • girishG girish referenced this topic on
                  • girishG girish

                    I have made a fix with https://git.cloudron.io/cloudron/box/-/commit/fa842034edfc0b8ba65a2c339a9b28112471945f . @fbartels unfortunately, you have to apply that patch manually on your server.

                    E Offline
                    E Offline
                    eddowding
                    wrote on last edited by
                    #12

                    @girish amazing, thank you!

                    Can you provide a Dummy's Guide to How to Use this Patch, please?

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

                      @eddowding you have to modify the file /home/yellowtent/box/src/cron.js and the systemctl restart box.

                      If you are not comfortable making the changes, you can write to us at support@cloudron.io and we can apply the changes for you.

                      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