Couldn't find this issue before here in the groups.
I am preparing the server for cloudlinux so I changed de EA4 profile to the cPanel default one. To avoid having CGI as the default handler I installed FCGI. (using cPanel documentation).
Everything went fine, all sites were working ok. But then we realized no account could upload files through their CMS (wordpress) /via Web. So we tested by changing the uploading folder permissions to 777 (which is a bad idea) but they couldn't still upload files.
We checked owners, groups, permissions, everything looks fine. We were using DSO+Ruid2 before that. In one account we noted the group was nobody but even after changing it to the respective owner the problem remained.
We then tried to run a script like Softacullous to install a CMS. And the application will work fine and will allow users to upload files. Again: users, groups, permissions were identical in the installed by Softacullous and the previuosly installed accounts. Still only the new installed app will be allowed to upload files.
I then noted that one user that had PHP-FPM enabled in his web site / account was able to upload files without any issue. So we went ahead and enabled PHP-FPM to all accounts and the issue was "solved". But now all sites have to be running with PHP-FPM, if I disable it, the issue will come back.
What am I missing?
Steps to reproduce:
1. Ran EA4 to install the Default cPanel Profile
2. To avoid using CGI I installed FCGI as the handler according to cPanel Documentation
3. No user is able to upload files via web / via their CMS (Wordpress), not with 755 or 775 or 777 folder permission. Checked permissions, owners and groups, everything seems to be fine.
4. If I use a script like softaculous to install and run an application, that application will be able to upload files without an issue. The others won't.
5. If I enable PHP-FPM for an account, that account will now be able to upload files and work without any issues.
I am preparing the server for cloudlinux so I changed de EA4 profile to the cPanel default one. To avoid having CGI as the default handler I installed FCGI. (using cPanel documentation).
Everything went fine, all sites were working ok. But then we realized no account could upload files through their CMS (wordpress) /via Web. So we tested by changing the uploading folder permissions to 777 (which is a bad idea) but they couldn't still upload files.
We checked owners, groups, permissions, everything looks fine. We were using DSO+Ruid2 before that. In one account we noted the group was nobody but even after changing it to the respective owner the problem remained.
We then tried to run a script like Softacullous to install a CMS. And the application will work fine and will allow users to upload files. Again: users, groups, permissions were identical in the installed by Softacullous and the previuosly installed accounts. Still only the new installed app will be allowed to upload files.
I then noted that one user that had PHP-FPM enabled in his web site / account was able to upload files without any issue. So we went ahead and enabled PHP-FPM to all accounts and the issue was "solved". But now all sites have to be running with PHP-FPM, if I disable it, the issue will come back.
What am I missing?
Steps to reproduce:
1. Ran EA4 to install the Default cPanel Profile
2. To avoid using CGI I installed FCGI as the handler according to cPanel Documentation
3. No user is able to upload files via web / via their CMS (Wordpress), not with 755 or 775 or 777 folder permission. Checked permissions, owners and groups, everything seems to be fine.
4. If I use a script like softaculous to install and run an application, that application will be able to upload files without an issue. The others won't.
5. If I enable PHP-FPM for an account, that account will now be able to upload files and work without any issues.