Tagged: Restorations
-
AuthorPosts
-
October 28, 2021 at 9:54 am #44293Christoph TreichlerGuest
Hello, when I tried to restore a backup version of the entire website with Total Upkeep, the error message “Permission Denied – Restoration failed” shows up. Can you help?
October 28, 2021 at 10:20 am #44302Brandon CKeymasterHi Christoph,
Thanks for your questions and thank you for using Total Upkeep for WordPress!
This error is related to the file permissions on your server. Normally when you see this it means your System Administrator disabled write permissions on the root of your website, and only allows the user to write to the wp-content directory rather than the core WordPress files.
It might help for us to view your restoration log. Navigate to Total Upkeep > Tools > Logs and locate the log file called
restore-XXXXXXX.log
with a timestamp that corresponds to the failed restoration, and copy and paste any errors in that log here so we can dig deeper for you.We look forward to hearing from you!
October 28, 2021 at 11:47 am #44304Christoph TreichlerGuestHere’s the restore-log:
[2021-10-28 12:41:26 UTC] Last error: Array
(
[type] => 8
[message] => Undefined index: page
[file] => /home/ch245429/web/cardea.ch/public_html/wp-content/plugins/webmaster-tools-verification/webmaster-tools-verification.php
[line] => 52
)[2021-10-28 12:41:26 UTC] Cannot add signal handlers, pcntl_async_signals function does not exist.
[2021-10-28 12:41:26 UTC] Last error: Array
(
[type] => 2
[message] => file_get_contents(/home/ch245429/boldgrid_backup/logs-b56bcfbe-18692bc4fca6134d/restore-1635424886.log): failed to open stream: No such file or directory
[file] => /home/ch245429/web/cardea.ch/public_html/wp-admin/includes/class-wp-filesystem-direct.php
[line] => 39
)[2021-10-28 12:41:26 UTC] Restoration process initialized.
[2021-10-28 12:41:26 UTC] Memory usage – limit / current / peak memory usage: 128M / 81949168 (78,15 MB) / 82371120 (79 MB)
[2021-10-28 12:41:26 UTC] Restore info: Array
(
[mode] => restore
[dryrun] =>
[filename] => boldgrid-backup-b56bcfbe-uploaded-1635424686.zip
[filepath] => /home/ch245429/boldgrid_backup/boldgrid-backup-b56bcfbe-uploaded-1635424686.zip
[filesize] => 851480790
[archive_key] => 1
[restore_ok] => 1
)[2021-10-28 12:41:26 UTC] Last error: Array
(
[type] => 2
[message] => chmod(): Operation not permitted
[file] => /home/ch245429/web/cardea.ch/public_html/wp-admin/includes/class-wp-filesystem-direct.php
[line] => 173
)[2021-10-28 12:41:26 UTC] Permission denied. Unable to restore the following file: /home/ch245429/web/cardea.ch/public_html/./
October 28, 2021 at 12:25 pm #44319Brandon CKeymasterThank you Christoph.
Yes it appears to be what I suspected, the user permissions set in your public_html file are blocking the restoration.
[2021-10-28 12:41:26 UTC] Permission denied. Unable to restore the following file: /home/ch245429/web/cardea.ch/public_html/./
You’ll need to log into your cPanel and change your user permissions in order for the restoration to complete. Your Web Host can help with this if you’re unsure of how to do so, I also located a guide that you might find useful.I hope this helps.
-
AuthorPosts
- The topic ‘Total Upkeep Restoration Is Failing with a Permissions Denied Error Message’ is closed to new replies.