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. WordPress (Managed)
  3. WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.

WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.

Scheduled Pinned Locked Moved Solved WordPress (Managed)
59 Posts 8 Posters 9.0k Views 8 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.
  • jdaviescoatesJ jdaviescoates

    @d19dotca good question! I've just enabled auto-updates on a load of plugins (and the Twenty Twenty theme) on one of my Unmanaged sites so will report back...

    LonkleL Offline
    LonkleL Offline
    Lonkle
    wrote on last edited by
    #36

    @jdaviescoates This was before my time here. But if you successfully get the feature working on Unmanaged. I'll install Managed and see where the break lies. I use to dive into the Wordpress Core Code for fun so I should be able to find what it's trying to write to but can't and quits (most likely a log file, maybe a backup before updating - but you'd think those files would be written in /uploads which is writeable.

    1 Reply Last reply
    2
    • jdaviescoatesJ jdaviescoates

      @d19dotca good question! I've just enabled auto-updates on a load of plugins (and the Twenty Twenty theme) on one of my Unmanaged sites so will report back...

      jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by
      #37

      @jdaviescoates said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

      @d19dotca good question! I've just enabled auto-updates on a load of plugins (and the Twenty Twenty theme) on one of my Unmanaged sites so will report back...

      Works!

      auto_updates_work_in_unmanaged.png

      I use Cloudron with Gandi & Hetzner

      LonkleL 1 Reply Last reply
      1
      • jdaviescoatesJ jdaviescoates

        @jdaviescoates said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

        @d19dotca good question! I've just enabled auto-updates on a load of plugins (and the Twenty Twenty theme) on one of my Unmanaged sites so will report back...

        Works!

        auto_updates_work_in_unmanaged.png

        LonkleL Offline
        LonkleL Offline
        Lonkle
        wrote on last edited by
        #38

        @jdaviescoates You're on unmanaged, right? If you are, I'll look into it on Managed to see if I can find the break. My actual expertise is Wordpress so I want to make WP a first class citizen on Cloudron as much as possible! ☺️

        jdaviescoatesJ d19dotcaD 2 Replies Last reply
        2
        • LonkleL Lonkle

          @jdaviescoates You're on unmanaged, right? If you are, I'll look into it on Managed to see if I can find the break. My actual expertise is Wordpress so I want to make WP a first class citizen on Cloudron as much as possible! ☺️

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #39

          @Lonk said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

          @jdaviescoates You're on unmanaged, right?

          Correct.

          @Lonk said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

          If you are, I'll look into it on Managed to see if I can find the break. My actual expertise is Wordpress so I want to make WP a first class citizen on Cloudron as much as possible! ️

          Great 🙂

          I use Cloudron with Gandi & Hetzner

          1 Reply Last reply
          1
          • LonkleL Lonkle

            @jdaviescoates You're on unmanaged, right? If you are, I'll look into it on Managed to see if I can find the break. My actual expertise is Wordpress so I want to make WP a first class citizen on Cloudron as much as possible! ☺️

            d19dotcaD Offline
            d19dotcaD Offline
            d19dotca
            wrote on last edited by d19dotca
            #40

            @Lonk That'd be awesome! I hope to learn lots from you over time, haha. I'm very comfortable with WordPress but not quite at the "development" level. So this sounds great if we can learn later what the root cause was (assuming you find one). 🙂

            --
            Dustin Dauncey
            www.d19.ca

            LonkleL 1 Reply Last reply
            2
            • d19dotcaD d19dotca

              @Lonk That'd be awesome! I hope to learn lots from you over time, haha. I'm very comfortable with WordPress but not quite at the "development" level. So this sounds great if we can learn later what the root cause was (assuming you find one). 🙂

              LonkleL Offline
              LonkleL Offline
              Lonkle
              wrote on last edited by
              #41

              @d19dotca said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

              @Lonk That'd be awesome! I hope to learn lots from you over time, haha. I'm very comfortable with WordPress but not quite at the "development" level. So this sounds great if we can learn later what the root cause was (assuming you find one). 🙂

              Thanks for the encouragement. Now that I feel Comfortable with Docker / Cloudron / Docerode / Networking / etc, I'll solely be focusing on making Wordpress better in every way I can. I used Wordpress for 10 years as a developer and I really loved it, so getting to help architecture the platform around it to make it run more efficiently / be easier for other's to use, I'm excited to do for this community (whom I feel has given me a lot of support when building my first app).

              d19dotcaD 1 Reply Last reply
              2
              • LonkleL Lonkle

                @d19dotca said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

                @Lonk That'd be awesome! I hope to learn lots from you over time, haha. I'm very comfortable with WordPress but not quite at the "development" level. So this sounds great if we can learn later what the root cause was (assuming you find one). 🙂

                Thanks for the encouragement. Now that I feel Comfortable with Docker / Cloudron / Docerode / Networking / etc, I'll solely be focusing on making Wordpress better in every way I can. I used Wordpress for 10 years as a developer and I really loved it, so getting to help architecture the platform around it to make it run more efficiently / be easier for other's to use, I'm excited to do for this community (whom I feel has given me a lot of support when building my first app).

                d19dotcaD Offline
                d19dotcaD Offline
                d19dotca
                wrote on last edited by
                #42

                @Lonk @girish So what was the fix for this btw, assuming you found one? Just curious because in the other thread I see the feature parity of plugin auto-updates working, so assumed someone found the root cause for that?

                --
                Dustin Dauncey
                www.d19.ca

                LonkleL 1 Reply Last reply
                1
                • d19dotcaD d19dotca

                  @Lonk @girish So what was the fix for this btw, assuming you found one? Just curious because in the other thread I see the feature parity of plugin auto-updates working, so assumed someone found the root cause for that?

                  LonkleL Offline
                  LonkleL Offline
                  Lonkle
                  wrote on last edited by
                  #43

                  @d19dotca I didn't get to looking into it so that was all @girish!

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

                    @d19dotca The issue had to with the plugin that was disabling automatic update of WordPress. I had initially removed the plugin since it disappeared from wordpress.org as well as reported here - https://forum.cloudron.io/topic/3114/wordpress-issue-the-plugin-disable-wordpress-core-updates-has-been-removed-from-wordpress-org . To fix that, I wrote a custom plugin which also has some issue I guess. In any case, I just removed the plugin now, it's not really needed.

                    LonkleL 1 Reply Last reply
                    2
                    • rmdesR Offline
                      rmdesR Offline
                      rmdes
                      wrote on last edited by
                      #45

                      I just installed a brand new domain and wanted to install Wordpress Managed
                      it all goes fine but when I want to upgrade WP to latest version, I'm being asked for FTP credentials ?
                      no matter what I use it does not work, WP won't upgrade itself.
                      I don't have this bug in any of my other WP managed installs..
                      I read this thread but now I'm even more confused on what's happening here..
                      Anyone managed to upgrade WP in the end ?

                      girishG 1 Reply Last reply
                      0
                      • girishG girish

                        @d19dotca The issue had to with the plugin that was disabling automatic update of WordPress. I had initially removed the plugin since it disappeared from wordpress.org as well as reported here - https://forum.cloudron.io/topic/3114/wordpress-issue-the-plugin-disable-wordpress-core-updates-has-been-removed-from-wordpress-org . To fix that, I wrote a custom plugin which also has some issue I guess. In any case, I just removed the plugin now, it's not really needed.

                        LonkleL Offline
                        LonkleL Offline
                        Lonkle
                        wrote on last edited by
                        #46

                        @girish said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

                        @d19dotca The issue had to with the plugin that was disabling automatic update of WordPress. I had initially removed the plugin since it disappeared from wordpress.org as well as reported here - https://forum.cloudron.io/topic/3114/wordpress-issue-the-plugin-disable-wordpress-core-updates-has-been-removed-from-wordpress-org . To fix that, I wrote a custom plugin which also has some issue I guess. In any case, I just removed the plugin now, it's not really needed.

                        So Managed now can enable automatic updates? Or maybe I’m confused - why isn’t it needed anymore?

                        1 Reply Last reply
                        2
                        • rmdesR rmdes

                          I just installed a brand new domain and wanted to install Wordpress Managed
                          it all goes fine but when I want to upgrade WP to latest version, I'm being asked for FTP credentials ?
                          no matter what I use it does not work, WP won't upgrade itself.
                          I don't have this bug in any of my other WP managed installs..
                          I read this thread but now I'm even more confused on what's happening here..
                          Anyone managed to upgrade WP in the end ?

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

                          @rmdes said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

                          it all goes fine but when I want to upgrade WP to latest version, I'm being asked for FTP credentials ?

                          You cannot update WordPress with the managed version. It's asking for FTP creds because the filesystem is read only. We will push an update to WP 5.5.3 in the coming day or two.

                          Some technical info: In previous managed cloudron packages, it won't show the update UI. This was because we had a custom plugin that blocked updates. Unfortunately, that plugin also blocked plugin auto updates. I had removed it so that automatic updates of plugins work in Managed WP. That removal has the side effect that you see update WP UI...

                          1 Reply Last reply
                          2
                          • rmdesR Offline
                            rmdesR Offline
                            rmdes
                            wrote on last edited by
                            #48

                            Oh I understand now, thanks for the explanation 🙂

                            girishG 1 Reply Last reply
                            1
                            • rmdesR rmdes

                              Oh I understand now, thanks for the explanation 🙂

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

                              @rmdes I have pushed a 5.5.3 package some time back 🙂

                              1 Reply Last reply
                              1
                              • LonkleL Offline
                                LonkleL Offline
                                Lonkle
                                wrote on last edited by
                                #50

                                @girish But why is the disable plugins not needed anymore, is it hard coded somewhere else (like in wp-config.php)?

                                1 Reply Last reply
                                1
                                • rmdesR Offline
                                  rmdesR Offline
                                  rmdes
                                  wrote on last edited by
                                  #51

                                  It's fixed over here, thanks a lot !!

                                  1 Reply Last reply
                                  1
                                  • robiR Offline
                                    robiR Offline
                                    robi
                                    wrote on last edited by
                                    #52

                                    Can the custom blocking plugin be modified to block core updates but allow other plugin auto-updates?

                                    Conscious tech

                                    LonkleL 1 Reply Last reply
                                    1
                                    • robiR robi

                                      Can the custom blocking plugin be modified to block core updates but allow other plugin auto-updates?

                                      LonkleL Offline
                                      LonkleL Offline
                                      Lonkle
                                      wrote on last edited by
                                      #53

                                      @robi said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

                                      Can the custom blocking plugin be modified to block core updates but allow other plugin auto-updates?

                                      I believe that’s what he did.

                                      girishG 1 Reply Last reply
                                      0
                                      • LonkleL Lonkle

                                        @robi said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

                                        Can the custom blocking plugin be modified to block core updates but allow other plugin auto-updates?

                                        I believe that’s what he did.

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

                                        @Lonk said in WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.:

                                        I believe that’s what he did.

                                        Unfortunately, no. Since, I am not a WP dev, I couldn't figure out how to just disable core updates and keep plugin updates enabled. So, I disabled the plugin altogether. https://git.cloudron.io/cloudron/wordpress-managed-app/-/commit/08e6cf17a24e047806f4846bf1083b33c40642d6 is the plugin we previously had. If you know how to disable just core updates but not plugin updates, let me know and I can put that plugin back in.

                                        1 Reply Last reply
                                        1
                                        • robiR Offline
                                          robiR Offline
                                          robi
                                          wrote on last edited by
                                          #55

                                          Since this plugin was before the WP auto-update functionality, it may make sense to rethink how to do this now.

                                          Allow all updates, but filter out only the core and hide the auto-update option from core to maintain the desired effect.

                                          Conscious tech

                                          rmdesR 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