Support

Akeeba Backup for Joomla!

#11302 Dropbox backup transfer

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by nicholas on Thursday, 08 March 2012 01:06 CST

depika
I am transferring the backup to dropbox just fine for a couple of years now.

The last few days I am getting this error:


[120228 08:39:04] Failed to process file /administrator/components/com_akeeba/backup/site-sales.bebegogo.com-20120228-163549.jpa
[120228 08:39:04] Error received from the post-processing engine:
[120228 08:39:04] Cannot extract token! (form action=https://dl-web.dropbox.com/upload) n Cannot extract token! (form action=https://dl-web.dropbox.com/upload) n Cannot extract token! (form action=https://dl-web.dropbox.com/upload)

nicholas
Akeeba Staff
Manager
As I mentioned in other threads, DropBox is rolling out a gradual update of their interface. The upgraded accounts (those in www2.dropbox.com) are no longer compatible with Akeeba Backup. Unfortunately, until my own account is upgraded I can not even begin on working on a new DropBox integration. At this point in time I have no idea if the new (upgraded) accounts will ever be compatible with Akeeba Backup or if I will have to remove DropBox from the list of supported engines.

The official API is completely unsuitable for anything over a few dozen kilobytes, making it impossible to use with very large backup files (unless you have servers with 2Gb of max PHP memory, i.e. over 1Tb of total RAM - i.e. not going to happen in this decade!!!). As a result, I have to use a workaround which involves code which tries to simulate an interactive login and web upgrade. This is exactly what broke with the recent DropBox upgrade and I am not sure if the new interface will allow me to create a new compatible solution. If that's not possible, DropBox support will be dropped.

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!

depika
Oh no. I loved your dropbox support.

What is weird is that when I clicked on the administer backup pages to transfer the backup to dropbox, that worked!!!

Finally, if you would like to speed the process for upgrading your account, you should add the new demo software for transferring images directly from usbs etc to dropbox. You also get 5GB of free extra space!! This is what I did last week and my account was upgraded!

nicholas
Akeeba Staff
Manager
Unfortunately they don't give me that option on my Mac :(

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!

nicholas
Akeeba Staff
Manager
OK, that said, I might be able to use their v1 API for the next version of Akeeba Backup. I'm going to run some tests today and see how it goes.

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!

depika
If you would like to use my account to do some testing feel free to.
email me at [email protected] to give you a temp password in order to do your tests.

nicholas
Akeeba Staff
Manager
I am now taking a look at the new DropBox API. It seems that we may be better off using it instead, as it supports files up to 150Mb (the workaround I was using supported up to 50Mb). It also seems that the new API has lifted the requirement to pre-load the entire file to be uploaded into memory, which means that we will be able to use it for storing backups. Expect a proper solution by the end of the week. Solving this issue is now a top priority item on my to-do list, since I am observing a lot of people running into the same issue.

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!

depika
Thank you Nichola. As always you are the best!!

nicholas
Akeeba Staff
Manager
I'm waiting for Dropbox to approve my application to go live, then I'll publish a dev release with the new DB integration which works with all accounts, using their official API.

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!

depika
Great news Nichola!!

Egw omws thelw na xtypisw to kefali mou ston toixo gia to allo mou provlima

nicholas
Akeeba Staff
Manager
Unfortunately, my application to Dropbox was declined. I will retry, this time sending them a screencast of the setup instructions. If they decline the application again, I'll just write a blog post explaining why this feature is being dropped. Let's hope they will not decline the application again. It only took me a whole day to write and test this code...

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!

depika
is there anything else I can do to help?
i didn't know you had to get approval from them in order for your application to work.

nicholas
Akeeba Staff
Manager
I made yet another application with them. Let's see how it goes :)

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!

nicholas
Akeeba Staff
Manager
I have good news. It was accepted! Please download the latest dev release and install it on top of your existing installation. Then go to the Configuration page and click on the Configure button next to the Data Processing Engine. You will see that the options have changed compared to the previous version. Click on "Authorisation - Step 1"; a new popup window opens (if it doesn't, disable AdBlock and other popup blockers). This is a login page on Dropbox.com; log in. It will ask you if you want to allow Akeeba Backup to have access to your Dropbox account. Confirm it. Close the popup and click on the "Authorisation - Step 2". After 3-7 seconds you will see an alert window saying "OK". That's it! You should now be able to use Dropbox again.

Please confirm that this solution works on your site. I've tested it on half a dozen test and live sites, but I'd like to have one more tester confirming the validity of this solution :)

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!

depika
Hi Nicholas.

I am testing it asap and will let you know!!

depika
Hi Nichola

i tested again and again

when I click at the authorization step 1 a blank page loads...
HTTP 500 error
this is the url that loads
http://depika.biz/administrator/index.php?option=com_akeeba&view=config&task=dpeoauthopen&engine=dropbox

is it because I have sh404SEF enabled?
I have tried both in IE and firefox

nicholas
Akeeba Staff
Manager
Can you please tell me which is the exact PHP (e.g. 5.3.10) and Joomla! (e.g. 1.5.25) version so that I can try to replicate this? Moreover, please double-check that your host has activated the PHP cURL extension.

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!

depika
php version: 5.2.16
joomla version: 1.5.25

i believe curl is enabled I see this at the php info
curl
cURL support enabled
cURL Information libcurl/7.21.0 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5

nicholas
Akeeba Staff
Manager
Ah, darn, PHP 5.2... I knew I was forgetting something. I made a small change and re-uploaded the dev release. It's got the same version number (svn1261). Can you please redownload, reinstall and retry?

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!

depika
Nichola it works!!!

You are the best !!!

nicholas
Akeeba Staff
Manager
Awesome! I will be publishing a new release next week :)

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!

depika
There is a site that I have installed the akeeba backup update and the dropbox authentication step 1 window is blank. As a result the authentication is not proceeding.
php 5.2.17 and curl is enabled.

nicholas
Akeeba Staff
Manager
a new release which addresses the issue will be published as soon as people stop flooding me with support requests

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!

depika
I have updated to the latest version and I managed to authenticate dropbox. with the old version I couldn't.
However, when I run the backup I encountered the following error:

(Status Code: 400)
(Status Code: 400)
(Status Code: 400)
Failed to process file /usr/local/pem/vhosts/111331/webspace/httpdocs/saltwatersandals.ca/administrator/components/com_akeeba/backup/site-www.saltwatersandals.ca-20120307-190826.jpa
Post-processing interrupted -- no more files will be transferred

nicholas
Akeeba Staff
Manager
Γειά σου Δέσποινα,

Εν τω μεταξύ βρήκα ποίο είναι το πρόβλημα. Αν έχεις ενεργοποιημένο το Safe Mode στην PHP δημιουργεί αυτό το θέμα. Έχω βγάλει μια νέα δοκιμαστική (dev release) έκδοση. Για να την κατεβάσεις κάνε κλικ στο dev releases στο κάτω μέρος οποιασδήποτε σελίδας του site μας, πάτα στο Akeeba Backup Professional και είναι η έκδοση πάνω-πάνω. Εγκατέστηςσέ τη πάνω από την παλιά έκδοση και τρέξε ένα νέο backup. Τώρα η μεταφορά στο Dropbox δουλεύει.

Αν μπορείς σε παρακαλώ να μου επιβεβαιώσεις κι εσύ ότι η νέα λύση λευτουργεί θα είναι η τρίτη επιτυχής δοκιμή και θα βγάλω μια νέα official έκδοση αύριο το πρωί.

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!

depika
Δουλεύει μία χαρά Νικόλα!!

nicholas
Akeeba Staff
Manager
Άψογα! Σ'ευχαριστώ για το feedback. Θα ξεκινήσω το πακετάρισμα της νέας έκδοσης σε καμιά ωρίτσα :)

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!

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!