File permissions errors since transfer
Hello,
I recently moved from CP 110 on centOS to CP 114, latest build, on Ubuntu 20.04.
I run mostly WordPress.
After the move I have two main strange issues:
1.
Trying to update an existing WP plugin prompts to supply FTP details to accept the file to the sever from the Internet. A solution was found to add the following line to the WP site system file of wp-config.php:
define( 'FS_METHOD', 'direct' );
-
OK, I solved it. As noted above, I realized there is mismatch between the web server process active user and the files and folders owner, so I researched about it and found there is a web server module called suPHP which makes the web server run using the user of the CP account, not root and not nobody. So, I went into WHM, to - Software > MultiPHP Manager > System Settings > PHP Handlers > PHP Version > (I have only one php version enabled, so there was only one line) > the PHP Handler attribute was set to cgi. I changed it to "suphp" and saved. Next, I went to Software > MultiPHP Manager > System Settings > User Domain Settings: For all the domains and their sub-domains (minus one root domain) - PHP-FPM was disabled, I enabled it for all, and now the issue is fixed, and even things are working noticeably faster. Next I reversed the other-write permissions I gave, as it is less secure and not really needed anymore. I looked at my former CP installation, the one I migrated from, version 110.0.114: php handler was cgi (and the only other option was "none") Domains: most were with php-fpm enabled Strangely suPHP was not enabled as module at the easyapache4 config. Overall, I think that CP probably didn't do a very good job in migration/transfer scenarios from older CP version, 110 in my case, to at least the current version, of 114. I know it is a big "jump", but since the CentOS tragedy, which made CP push users away from CentOS - it means there will be much more cases like mine, of users moving from old CP versions to the latest one (it will be worst for the ones who will wait for the last minute), which means many more will "fall" and "break" when the they will try to "Jump" the ever expanding gap between versions. 0 -
Hey hey! Moving from 110 to 114 wouldn't be considered a big jump at all, and I would expect things to work well. It does sound like the workaround you performed is correct, as that is what we recommend here: Transfer Tool | cPanel & WHM Documentation 0 -
Well, for me it was not so seamless, I expected it to much more smooth, I am glad you think it is not a big jump, but in my view that makes things worse - if it is not considered a big jump and I had the issues I had, what later versions gap will come across?... 0
Please sign in to leave a comment.
Comments
3 comments