Please update Xcloner backup and restore plugin to the latest version 4.2.12, the issue should be fixed there and the authorisation input box should appear back.
Let us know if you have anymore issues.
Hi, Yeah that seems to have worked, thankyou! However, I now have a new issue when I try and upload the backup to Google Drive I get this error “errorInternal Server Error”
Any ideas? i have completely uninstalled the plugins and reinstalled and re-setup Google Auth but still, get the same message.
Does the google drive connection validates?
Please check the XCloner dashboard logged errors, maybe you can post here the error text.
Hi Here is the log after i tried to validate the Google Connection
2020-08-14 10:20:10] xcloner_remote_storage.INFO: Checking validity of the remote storage GDRIVE filesystem [] []
[2020-08-14 10:20:10] xcloner_remote_storage.INFO: Creating the Google Drive remote storage connection [“”] []
[2020-08-14 10:20:11] xcloner_remote_storage.INFO: Using target folder with ID usp=sharing on the remote storage [] []
[2020-08-14 10:20:16] php_system.ERROR: E_ERROR: array ( ‘type’ => 1, ‘message’ => ‘Uncaught Google_Service_Exception: { “error”: { “errors”: [ { “domain”: “global”, “reason”: “notFound”, “message”: “File not found: .”, “locationType”: “parameter”, “location”: “fileId” } ], “code”: 404, “message”: “File not found: .” } } in /home/sites/10b/f/f2830a2f7a/public_html/wp-content/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Http/REST.php:123 Stack trace: #0 /home/sites/10b/f/f2830a2f7a/public_html/wp-content/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Http/REST.php(98): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\\Psr7\\Response), Object(GuzzleHttp\\Psr7\\Request), \’Google_Service_…\’) #1 /home/sites/10b/f/f2830a2f7a/public_html/wp-content/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Task/Runner.php(176): Google_Http_REST::doExecute(Object(GuzzleHttp\\Client), Object(GuzzleHttp\\Psr7\\Request), \’Google_Service_…\’) #2 /home/sites/10b/f/f2830a2f7a/public_html/wp-content/plugins/xcloner-google-drive’, ‘file’ => ‘/home/sites/10b/f/f2830a2f7a/public_html/wp-content/plugins/xcloner-google-drive/vendor/google/apiclient/src/Google/Http/REST.php’, ‘line’ => 123, ) [] []
[2020-08-14 10:23:43] xcloner_file_system.INFO: Cleaning the backup storage LOCAL on matching rules [] []
You might have an issue there regarding the provided folder id, is the naming correct as seen in the logs “usp=sharing” ? Try and leave that empty for now, and try to validate the connection to see if it helps.
hmmm, your right, as soon i remove the Target ID or Root Path it validates successfully. then I put the share folder path is with ensuring the usp=sharing is at the end and it the errors out again with the same error.
maybe my syntax is incorrect? do you have an example of the Target ID?
Ok, so my backups work but they are getting dumped into the root of my Google Drive. i must be using the wrong syntax for it to place into a subfolder.
Any advice on the syntax for this as nothing I put in seems to work.
There is no special syntax to put there, you just need to fill in the correct folder name, so if the folder name is backups, you would add that name inside the Folder ID field. Additionally, you could identify the internal google drive folder id by getting the shared link like https://drive.google.com/drive/folders/1Efv_xxx?usp=sharing and the Folder ID wold be 1Efv_xxx value and you could copy paste that inside XCloner.
Hope it helps.
Most users can not use this plugin, Because of the outdated tutorial
An update has been posted in the XCloner main backup plugin which would allow for seamless authentication with Google Drive without the needs to provide and Auth Key and Secret, Watchful will act as a web app authorising google drive access.
Hopefully this will clear this up. Let us know if you have further issues.