WordPress 5.5 auto-updates not working in Managed version, likely due to core updates blocked.
-
@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. -
@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.
-
@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. -
@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!
-
@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! οΈ
-
@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
-
@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).
-
@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).
-
@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.
-
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 ? -
@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?
-
@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...