• I’m wondering if anyone can perhaps suggest a direction.

    I have a Digital Ocean server I setup. It’s a single domain development server, CentOS7.

    I copied files into /var/www/html using rsync from another server. I have checked permissions (755 on folders, 644 on files). I have set the ownership of the files to be apache:apache. PHP is running under apache.

    WordPress runs great. I can view the site, I can post, I can upload files, I can update plugins, WordPress core updates fail however. Initially they fail with a request for FTP credentials. After I add define(‘FS_METHOD’, ‘direct’); to config.php I get an error:

    Downloading update from https://downloads.www.ads-software.com/release/wordpress-4.9.6-no-content.zip…

    Unpacking the update…

    Warning: copy(/var/www/html/development/wordpress/wp-admin/includes/update-core.php): failed to open stream: Permission denied in /var/www/html/development/wordpress/wp-admin/includes/class-wp-filesystem-direct.php on line 243
    The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php

    Installation Failed

    line 243 refers to wp-admin/page.php which does not exist.

    Everything I have read suggests my ownership and permissions are correct, I can update plugins … but not the core. Does anyone have any suggestion as to why they might be different.

    Thank you!

    Regards
    Mike

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Core requests FTP info to update, plugins do not …’ is closed to new replies.