Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor bcrodua

    (@bcrodua)

    Hi,

    Can you also send us a copy of the backup log please?

    Thanks,
    Bryle

    Thread Starter Niranjan F.

    (@niranjan0)

    Hey Bryle,

    Thank you for the response, the reason for the unsuccessful backup was my faulty FTP Server which I found out after looking at the logs, but the unreadable file error/warning is still there, I’ve linked a Pastebin below containing the recent log file.

    Log.

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    This means that files exist in your web hosting space which PHP (i.e. WordPress and hence UpdraftPlus) cannot read. Thus, they can’t be backed up. To know why that is/fix it, you’ll want to speak to your web hosting company. Normally any file that WP wrote, it can also read, so there must be something else going on on your particular setup.

    Thread Starter Niranjan F.

    (@niranjan0)

    Hey,

    Thank you for the update David.

    My site is hosted on Oracle Cloud. I recently started using Ewww Image optimizer for converting images to webp automatically. The webp images are stored in the same directory as the original files.

    So I don’t see any reason with my hosting conflicting with the backup process. And for the “PHP cannot access the webp files” thing, the webp files are loaded just fine when i access my site.

    Plugin Author David Anderson / Team Updraft

    (@davidanderson)

    Hi,

    The “is not readable” message is logged when UpdraftPlus asks PHP “is this file readable?” and gets a negative response back (https://www.php.net/manual/en/function.is-readable.php).

    So, if the files *are* readable, you’d still need to talk to your web host, to ask them why the PHP “is_readable” function is not working properly on their server, if it’s reporting that readable files are not readable.

    David

    Thread Starter Niranjan F.

    (@niranjan0)

    Hey David,

    Thank you for the response, after some digging I found out that the owner of the /wp-content/ directory was wrong, that’s why PHP was unable to access the webp files, weird.

    Anyways, I fixed that with a simple chown, and now everything works perfectly.

    Thank you for your time. Have a great day.!

    The CHOWN Command:

    sudo chown -R www-data:www-data /var/www/example.com/;

    • This reply was modified 2 years, 6 months ago by Niranjan F..
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cannot complete backup due to “unreadable file” error’ is closed to new replies.