• Resolved cold_fire99

    (@cold_fire99)


    I have the following error.log from OpenLightpeed WebServer running a WordPress Site (latest Versions), where I want to install e.g. better-search-replace plugin (same with other plugins):

    Certainly the wp-content diretcory and all others are completely accessible – there is no reason for missing permissions – the error occurs also when I set everything to 777.

    Line 6893 in functions is a file access….

    I am totally lost ………

    Can somebody help?

    2025-01-09 20:33:54.319040 [NOTICE] [864] [91.214.65.172:65430:HTTP2-661#Houseaffair] [STDERR] PHP Warning: file_get_contents(/var/www/houseaffair/wp-content/upgrade/better-search-replace/better-search-replace/better-search-replace.php): Failed to open stream: Permission denied in /var/www/houseaffair/wp-includes/functions.php on line 6893
    2025-01-09 20:33:54.319114 [NOTICE] [864] [91.214.65.172:65430:HTTP2-661#Houseaffair] [STDERR] PHP Warning: file_get_contents(/var/www/houseaffair/wp-content/upgrade/better-search-replace/better-search-replace/index.php): Failed to open stream: Permission denied in /var/www/houseaffair/wp-includes/functions.php on line 6893

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter cold_fire99

    (@cold_fire99)

    Thanks!

    1. Set the directory permissions to 755 and file permissions to 644 for the wp-content/upgrade folder. -> My Permissions are 775 and 664
    2. Ensure the web server user owns the WordPress files. -> This is not the case: the owner of the files is www-data:www-data. The Webserver is running with nobody:nogroup. nobody as group rights for www-data group. www-data has group rights for nogroup. I did expect that this must work. Actually it did not! I changed webserver to www-data:www-data and now it works -> I find this strange, becase why does the webserver needs to be an owner -> this seems to me no correct linux logic
    3. Verify if any security settings in OpenLiteSpeed are restricting file access. -> done
    4. If the issue persists, manually upload the plugin via FTP to the wp-content/plugins directory and activate it from the WordPress dashboard.
Viewing 1 replies (of 1 total)

The topic ‘Installation of all Plugins fails with error’ is closed to new replies.