Does someone encounter the same weirdo issue with new Wordpress installation done by Virtualmin ? It’s 2 customers I create a new website in Virtualmin and then install WP using Web apps feature in Virtualmin.
Installation goes fine and wordpress works but when I want to install or update a plugin it fails stating it doesn’t have write access in upgrade folder. I double checked both accounts with other accounts with wordpress and rights are all good and similar.
I can’t find anything in Apache or PHP logs.
Someone else has seen that problem before ?
Webmin: 2.402
Virtualmin: 7.30.8 Pro
Debian 12
Wordpress: 6.8.3
Yeah it states that it can’t write in the wp-content/upgrade directory but I already checked and it has the proper permissions (based on other WP running on that same Virtualmin servers). I have added the option in wp-config define('FS_METHOD', 'direct'); but no changes.
I’m quite lost here as I have a bunch of other WP installed in virtual hosts in that virtualmin server and never had such problem
I’ll give it a try but I don’t think it’ll fix anytihng as WP has been installed by Virtualmin so it’s supposed to have proper rights and I have already checked folders of the WP and they have the proper owner and rights !
yep as it has been installed automatically using Web apps feature in Virtualmin and checked in the system, everything good for that (it’s in a sub server whose main virtual server is also hosting a wp that has no issue at all !
I found out the issue is linked with PHP in FCGI mode. Once switched the virtual web server in FPM mode, no more problem at all