I run my own VPS, which hosts multiple WordPress websites. When it comes to adding/removing Plugins via the WordPress Dashboard, I have never had a problem.
For one of my domains, I wanted to perform a clean WordPress install as to troubleshoot some issues. Upon doing so, I noticed that the following pop up would appear when trying reinstall Plugins onto the clean WordPress installation:
Initially, I saw that the issue could be to do with the file permissions. As such, I changed the file permissions as follows:
- Folders: 755
- Files: 644
I have also tried inserting
define( 'FS_METHOD', 'direct' ); into the
wp-config.php file. Whilst this removes the request for FTP Login credentials, it does produce the following error message:
Installation failed: Could not create directory.
Regardless, I should not need to add additional lines of code to the
wpconfig.php file, since my other domains did not need it. Even if this did work, I feel it would had been masking the issue rather than solving the source of the issue.
Unfortunately, the issue still persists. What else could be causing this issue? I thought it may had been to do with the VPS but my other domains do not seem to have the same issue.
Further Findings ...
I have just re-uploaded a Backup of my Web Files, as to compare, and found that the 'User' and 'Group' column had different entries for the
.htaccess file as follows:
Working Web Files
Problematic Web Files
Could this be the issue? If so, how could I amend this, in order to 'my fto useraname' and 'pssacIn' entries to 'root'?