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 8.9k 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.
  • MooCloud_MattM MooCloud_Matt

    https://www.wordfence.com/blog/2020/08/wordpress-auto-updates-what-do-you-have-to-lose/

    jdaviescoatesJ Online
    jdaviescoatesJ Online
    jdaviescoates
    wrote on last edited by
    #21

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

    https://www.wordfence.com/blog/2020/08/wordpress-auto-updates-what-do-you-have-to-lose/

    A good overview (as one would expect from Wordfence), thanks.

    I use Cloudron with Gandi & Hetzner

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

      OK, I waiting for Hello Dolly to auto-update in 12 hours to see what the error is. I couldn't figure an obvious way to trigger auto-updates immediately.

      b2fa52cb-506c-4abc-8942-82fdd15733c6-image.png

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

        I was able to reproduce this. It looks like it triggers the cron event wp_update_plugins but that even does nothing.

        root@01d9cbb3-049c-4b99-b5e6-299ea3775d75:/app/code# exec /usr/local/bin/gosu www-data:www-data /app/pkg/wp --skip-themes cron event run wp_update_plugins
        Executed the cron event 'wp_update_plugins' in 0.007s.
        Success: Executed a total of 1 cron event.
        
        d19dotcaD 1 Reply Last reply
        1
        • girishG girish

          I was able to reproduce this. It looks like it triggers the cron event wp_update_plugins but that even does nothing.

          root@01d9cbb3-049c-4b99-b5e6-299ea3775d75:/app/code# exec /usr/local/bin/gosu www-data:www-data /app/pkg/wp --skip-themes cron event run wp_update_plugins
          Executed the cron event 'wp_update_plugins' in 0.007s.
          Success: Executed a total of 1 cron event.
          
          d19dotcaD Offline
          d19dotcaD Offline
          d19dotca
          wrote on last edited by
          #24

          @girish Is this a WordPress issue then in that case or to do with the way this is packaged in Cloudron?

          --
          Dustin Dauncey
          www.d19.ca

          d19dotcaD 1 Reply Last reply
          0
          • d19dotcaD d19dotca

            @girish Is this a WordPress issue then in that case or to do with the way this is packaged in Cloudron?

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

            @girish just wanted to follow-up on this. Any idea what could be causing this?

            --
            Dustin Dauncey
            www.d19.ca

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

              @d19dotca It's in my todo list, have to investigate but so it's not obvious yet what the issue is.

              jdaviescoatesJ 1 Reply Last reply
              1
              • girishG girish

                @d19dotca It's in my todo list, have to investigate but so it's not obvious yet what the issue is.

                jdaviescoatesJ Online
                jdaviescoatesJ Online
                jdaviescoates
                wrote on last edited by
                #27

                @girish @d19dotca I wonder if the issue I'm having with configuring Wordfence Firewall is related....?

                When I try to do it I end up getting asked for FTP credentials (which of course I can't supply as they don't exist for WordPress Managed app).

                Wordfence_asks_for_credentials.png

                I use Cloudron with Gandi & Hetzner

                d19dotcaD 1 Reply Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  @girish @d19dotca I wonder if the issue I'm having with configuring Wordfence Firewall is related....?

                  When I try to do it I end up getting asked for FTP credentials (which of course I can't supply as they don't exist for WordPress Managed app).

                  Wordfence_asks_for_credentials.png

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

                  @jdaviescoates Good question! That won't be the root cause for me though I'm pretty sure as I don't have WordFence installed (or any security-related plugins really yet).

                  --
                  Dustin Dauncey
                  www.d19.ca

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

                    @jdaviescoates Yeah, same as @d19dotca for my setup as well. I don't have WordFence. Why does wordfence want FTP permissions anyway? Is it patching some code?

                    jdaviescoatesJ d19dotcaD 2 Replies Last reply
                    0
                    • girishG girish

                      @jdaviescoates Yeah, same as @d19dotca for my setup as well. I don't have WordFence. Why does wordfence want FTP permissions anyway? Is it patching some code?

                      jdaviescoatesJ Online
                      jdaviescoatesJ Online
                      jdaviescoates
                      wrote on last edited by
                      #30

                      @girish it's for adding firewall rules to .htaccess

                      I use Cloudron with Gandi & Hetzner

                      MooCloud_MattM 1 Reply Last reply
                      0
                      • jdaviescoatesJ jdaviescoates

                        @girish it's for adding firewall rules to .htaccess

                        MooCloud_MattM Offline
                        MooCloud_MattM Offline
                        MooCloud_Matt
                        wrote on last edited by
                        #31

                        @jdaviescoates
                        Normally this kind of plugin for security they want to have access to all the WordPress to intervene if needed on all the WordPress root directory.
                        This message is form wp. Because WordPress it's self provide an interface not edit files and accessing data, when a plugin try to access the filesystem with the filesystem API and the API fail, will automatically ask for the credential of ftp.
                        But .htaccess is editable I think on managed too, so it's trying to do something in a read only directory on the image.

                        Matteo. R.
                        Founder and Tech-Support Manager.
                        MooCloud MSP
                        Swiss Managed Service Provider

                        1 Reply Last reply
                        0
                        • girishG girish

                          @jdaviescoates Yeah, same as @d19dotca for my setup as well. I don't have WordFence. Why does wordfence want FTP permissions anyway? Is it patching some code?

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

                          @girish Hi Girish, Any updates on this one? Did we ever find what causes the auto-updates to not work?

                          --
                          Dustin Dauncey
                          www.d19.ca

                          girishG 1 Reply Last reply
                          1
                          • d19dotcaD d19dotca

                            @girish Hi Girish, Any updates on this one? Did we ever find what causes the auto-updates to not work?

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

                            @d19dotca This one has me totally stumped. It's crazy that there is no obvious way to test this. All the time it is "scheduled in 12 hours".

                            d19dotcaD 1 Reply Last reply
                            0
                            • girishG girish

                              @d19dotca This one has me totally stumped. It's crazy that there is no obvious way to test this. All the time it is "scheduled in 12 hours".

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

                              @girish Do we know if this works in Unmanaged? I haven't tried there, but if it works in Unmanaged... maybe that's one more reason to make Unmanaged the primary WordPress app package 😉 haha I'll maybe try in Unmanaged over the weekend if it hasn't already been tried.

                              --
                              Dustin Dauncey
                              www.d19.ca

                              jdaviescoatesJ 1 Reply Last reply
                              1
                              • d19dotcaD d19dotca

                                @girish Do we know if this works in Unmanaged? I haven't tried there, but if it works in Unmanaged... maybe that's one more reason to make Unmanaged the primary WordPress app package 😉 haha I'll maybe try in Unmanaged over the weekend if it hasn't already been tried.

                                jdaviescoatesJ Online
                                jdaviescoatesJ Online
                                jdaviescoates
                                wrote on last edited by jdaviescoates
                                #35

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

                                I use Cloudron with Gandi & Hetzner

                                LonkleL jdaviescoatesJ 2 Replies Last reply
                                1
                                • 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 Online
                                    jdaviescoatesJ Online
                                    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 Online
                                        jdaviescoatesJ Online
                                        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
                                          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