Restore failing due to file permission issues

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Restore failing due to file permission issues

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #252857
    sebastianmantilla
    Participant

    We are attempting to restore some files to our RHEL Linux based WordPress installation, and continually seeing this problem:

    0024.746 () Unpacking backup… (backup_2017-12-28-1636_ePortfolios_d1c7c5ad87b3-uploads6.zip, 399.8 Mb)
    0030.132 () Restoring only the site with id=main: removing other data (if any) from the unpacked backup
    0030.404 () Moving unpacked backup into place…
    0030.404 () Cleaning up rubbish…
    0030.439 () restore_backup(backup_file=backup_2017-12-28-1636_ePortfolios_d1c7c5ad87b3-uploads7.zip, type=uploads, info=a:2:{s:4:”path”;s:33:”/var/www/html//wp-content/uploads”;s:11:”description”;s:7:”Uploads”;}, last_one=)
    0030.439 () Unpacking backup… (backup_2017-12-28-1636_ePortfolios_d1c7c5ad87b3-uploads7.zip, 399 Mb)
    0032.632 () Restoring only the site with id=main: removing other data (if any) from the unpacked backup
    0032.864 () Moving unpacked backup into place…
    0032.865 () Cleaning up rubbish…
    0032.918 () restore_backup(backup_file=backup_2017-12-28-1636_ePortfolios_d1c7c5ad87b3-uploads8.zip, type=uploads, info=a:2:{s:4:”path”;s:33:”/var/www/html//wp-content/uploads”;s:11:”description”;s:7:”Uploads”;}, last_one=)
    0032.918 () Unpacking backup… (backup_2017-12-28-1636_ePortfolios_d1c7c5ad87b3-uploads8.zip, 399.9 Mb)
    0056.011 () Restoring only the site with id=main: removing other data (if any) from the unpacked backup
    0056.992 () Moving unpacked backup into place…
    0060.227 () PHP event: code E_WARNING: copy(): The first argument to copy() function cannot be a directory (line 243, wp-admin/includes/class-wp-filesystem-direct.php)
    0060.228 () Error message: Could not move the files into place. Check your file permissions.
    0060.228 () Error data (move_failed): /var/www/html/wp-content/upgrade/1751bbe6/uploads/wp-migrate-db -> /var/www/html//wp-content/uploads/wp-migrate-db
    0060.278 () Restore failed…
    0060.278 () Error message: Could not move the files into place. Check your file permissions.
    0060.278 () Error data (move_failed): /var/www/html/wp-content/upgrade/1751bbe6/uploads/wp-migrate-db -> /var/www/html//wp-content/uploads/wp-migrate-db
    0060.278 () Restore failed

    We are using Azure blob storage for the files backup. Accessing the storage via the Azure extension from UpdraftPlus

    Can you please tell us what is the cause of these errors. It is critical that the restore succeed or we cannot use this plugin, which we have already paid for.

    #252971
    Bryle Crodua
    Moderator

    Hi,

    Can you make sure that UpdraftPlus and WordPress has the correct file permission. The following article on Smashing Magazine is a good guide as to the file permissions/ownerships that are required for WordPress: https://www.smashingmagazine.com/2014/05/proper-wordpress-filesystem-permissions-ownerships/#file-and-folder-ownership-for-wordpress

    Also, check that there is more than enough space for the files to be restored.

    Kind Regards,
    Bryle

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Restore failing due to file permission issues’ is closed to new replies.