Permission problem
-
Hi,
I am trying to set up Updraftplus and have just tried a dummy run.
It outputs an error
‘unreadable file – could not be backed up (check the file permissions)
Google Drive: Account is not authorized.’and does not start.
Any suggestions will be much appreciated.
Thank you.
-
Hi Jamie,
1) If you check the UpdraftPlus log file, it’ll tell you which file in your web hosting space is the unreadable one.
2) “Google Drive: Account is not authorized” – have you been through the steps to authorize it? http://updraftplus.com/support/configuring-google-drive-api-access-in-updraftplus/
Best wishes,
DavidYes, it is the index.php file [currently with a 644 permission].
And yes, it is definitely authorized. It states ‘Success: you have authenticated your Google Drive account. Name: and Quota details set.’
Thank you for your help.
James
Hi James,
The “unreadable file” message is PHP’s is_readable() function returns false. Are you able to copy the log line from the log file, and some surrounding context?
Was your backup started before you finished Google Drive authorisation, or after?
David
Hi David,
There is no mention of this error in the log file. It is shown on the Current Status page:
Last backup job run: Mon, September 1, 2014 14:47
Warning: /home/****/public_html/wp-content/uploads/index.php: unreadable file – could not be backed up (check the file permissions)
Google Drive: Account is not authorized.
Download log fileThe backup was started after I had authorized Google Drive.
Thank you for looking into this for me.
James
Yes, it is the index.php file
When you say “the index.php file” are you thinking of WP’s main index.php in the root of the WP install? The log message you copied showed a different one – the one in wp-content/uploads.
Google Drive: best to just re-authorize. Go to the Google Drive section of the settings, and click the link to authorize again. *Then run a fresh backup, and wait for it to finish*.
Best wishes,
DavidHi David,
I removed the troublesome index.php file, re-authorized and it ran smoothly.
Thank you for your help.
A quick question…
Do you have any plans to include OneDrive as a remote backup location or is it possible to do this already?
James
Hi James,
That’s in the FAQs…
http://updraftplus.com/faqs/will-you-support-windows-live-skydrive/Best wishes,
DavidHi David
I have a similar problem. Message saying backup was successful but with errors – error “Warning: /home/beetgeme/public_html/wp-content/uploads/index.php: unreadable file – could not be backed up (check the file permissions)”
Must I change the permissions of the file or just delete the file in question which is what I think James did?
Regards
Charl
I’m not certain if the issues above are the same as my problem. I can use UpdraftPlus to back up to Dropbox. Yet Google Drive is problematic. After UpdraftPlus sends between 70% to 90% of the chunks to Google Drive, I get a Google Drive Upload Error. The 401 error states the problem as ‘Invalid Credentials.’ Then, UpdraftPlus starts sending chunks from the beginning again. This doesn’t always happen in the same spot in the backup. Sometimes it happens around the 70% point, sometimes it makes it to the 90% range before it errors out. Also, I was able to get it to back up successfully after several retries over the course of three days. Here is one of the sections with the error:
5908.777 (9) Googledrive chunked upload: 72.6 % uploaded (608436224)
5909.268 (9) ERROR: Google Drive upload error (Google_Service_Exception): Error calling PUT https://www.googleapis.com/upload/drive/v2/files?uploadType=resumable&upload_id=AEnB2UCvBDY3A: (401) Invalid Credentials (line: 79, file: /home/content/p3nexnas05_data03/50/2104150/html/wp-content/plugins/updraftplus/includes/Google/Http/REST.php)
5910.196 (9) Googledrive chunked upload: 0.1 % uploaded (524288)
5910.744 (9) Googledrive chunked upload: 0.1 % uploaded (1048576)Hi,
That’s something going on internally at Google’s end (which is why it happens at different points, rather than the same one). UpdraftPlus does all it can do from this end – tries again. You’d need to get support from Google to know why they sometimes call off the upload and force it to restart.
Best wishes,
David
The topic ‘Permission problem’ is closed to new replies.