Support

Site Restoration

#29795 Kickstart pro import from url fails to get archive from Google Drive

Posted in ‘Site restoration’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by on Saturday, 07 July 2018 17:17 CDT

jordand714
I am trying to do a test restore of one of my sites using pro version of kickstarter Pro and import from url wuth the archive stored on google drive.

On google drive I shared the archive with the following parameters:

On- Public on the web, anyone on the internet can find and access. No sign in required.
Access: Anyone (no sign in required): Can Edit

The URL that is presented has the following form:

https://drive.google.com/file/d/series of numbers letters and characters/view?usp=sharing

For security purposes I did not paste the actual URL which I am happy to provide as needed.

When I place the URL into the import from url dialog box in kickstarter the import seems to happen almost instantly. Restarting kickstarter reveals the archive is not recognized.

It seems the archive was not downloaded. Instead a file with the name "view" is created. The file is 124 KB and the content starts with the following:

<!DOCTYPE html><html><head><meta name="google" content="notranslate"><meta http-equiv="X-UA-Compatible" content="IE=edge;"><style>@font-face{font-family:'Roboto';font-style:italic;font-weight:400;src:local('Roboto Italic'),local('Roboto-Italic'),url(//fonts.gstatic.com/s/roboto/v1

and it goes on and on.

Can you suggest why the import from URL is not working for me? Did I share it incorrectly on Google Drive? Is the format of the URL unexpected?

Thanks for your advice.

nicholas
Akeeba Staff
Manager
Google Drive does not give you a direct download URL. It gives you the URL to an HTML page which executes a JavaScript program when you click the download button which then fetches a download URL and lets your browser download the file.

You need to do some manipulation of the URL to get a direct download URL for Google Drive.

Please note that this trick may no longer work. I've not tried it myself. I no longer use Google Drive except for testing the upload engine of Akeeba Backup. It's too complicated and restrictive for my taste :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!