Support

Akeeba Backup for Joomla!

#28554 Authentication problems with Dropbox

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 dimoss on Friday, 06 October 2017 04:24 CDT

dimoss
Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

Hi,

The last 7 days the automatic upload to the dropbox failed and the backup taken via Webcron cannot be completed.
When I tried to redo the Authentication steps I got this error:

Dropbox API Error

v1_retired (Status Code: 400)

Any idea why this stopped to work?

Thanks

dlb
Dropbox dropped support for the version 1 API. We dropped support for that API from Akeeba Backup some time ago. You need to select Dropbox (v2 API) as your post processing engine. You will need to set up the authorization again.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

dimoss
Hi,

I don't have the option for Dropbox API v2 in Akeeba 4.1.1

Thanks

dlb
Your version of Joomla! is badly out of date. You can upgrade to Akeeba Backup 4.7.6, which can be downloaded here: https://www.akeebabackup.com/download/akeeba-backup/4-7-6.html.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

dimoss
Hi

When I tried to install the 4.7.6 ver via the extension manager I couldn't see the configuration settings of Akeeba.
The same happened when I tried to uninstall 4.1.1 ad install 4.7.6.
I couldn't upgrade because my Joomla ver is 3.1.6.

Any idea?
Thanks

nicholas
Akeeba Staff
Manager
Akeeba Backup 4.7 is compatible with Joomla! 1.6 and all the way to 3.4. I tested that personally. The only solution we have for you is upgrade to 4.7.

Why you don't see the settings? I can think of two issues. Either some old files are not being removed or you have a Javascript issue. I am pretty sure about this since the jQuery-based code that renders the Configuration page was unchanged between December 2009 when it was first written and early 2017 when Akeeba Backup 4.7 was released. We only changed that code in Akeeba Backup 5.3 and later versions, removing the dependency to jQuery. So, what you have (4.1) and what we tell you to install (4.7) use the same code. The only difference would be what I mentioned.

I'd first start by exporting the backup profiles and keeping a copy of all the backups you have stored on your site just in case.

Then I'd recommend deleting the administrator/components/com_akeeba folder (except for the /backup subdirectory). Then install Akeeba Backup 4.7.

If that didn't help, check the browser's Javascript console. What is the Javascript error? Do you get any 403 errors trying to load a Javascript file? Do you have any plugins or a CDN, like CloudFlare, which tries to rearrange the script loading on the page (our code will NOT work if a third party tries to make our dependencies load after our page script initialization which uses those dependencies, of course).

If all else fails ping me so I can make this ticket private and ask you for connection details.

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
PS: We are in the same timezone, whereas Dale is in US Eastern. If you reply during your office hours I will be around to reply back in a relatively short amount of time :)

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!

dimoss
Hi Nicholas

Deleting the folder and installing again didn't solve the problem.
Checking at the browser console I got the following erros:

Uncaught DOMException: Failed to execute 'appendChild' on 'Node': The new child element contains the parent.
    at HTMLSpanElement.<anonymous> (http://url.dot.com/media/jui/js/jquery.min.js:2:66534)
    at init.domManip (http://url.dot.com/media/jui/js/jquery.min.js:2:69073)
    at init.append (http://url.dot.com/media/jui/js/jquery.min.js:2:66454)
    at init.v.fn.(anonymous function) [as appendTo] (http://url.dot.com/media/jui/js/jquery.min.js:2:70158)
    at Object.<anonymous> (http://url.dot.com/media/com_akeeba/js/configuration.js?8b38ce39ba975eea745a94f461b8d472:359:26)
    at Function.each (http://url.dot.com/media/jui/js/jquery.min.js:2:14494)
    at Object.<anonymous> (http://url.dot.com/media/com_akeeba/js/configuration.js?8b38ce39ba975eea745a94f461b8d472:90:11)
    at Function.each (http://url.dot.com/media/jui/js/jquery.min.js:2:14494)
    at Object.akeeba.Configuration.parseGuiData (http://url.dot.com/media/com_akeeba/js/configuration.js?8b38ce39ba975eea745a94f461b8d472:67:7)
    at Object.akeeba.Configuration.parseConfigData (http://url.dot.com/media/com_akeeba/js/configuration.js?8b38ce39ba975eea745a94f461b8d472:45:26)


These are obviously JS errors but I dont have a clue what to do!

Thanks!

nicholas
Akeeba Staff
Manager
I am currently trying to install a copy of Joomla! 3.1 and set up a build environment for the (very old) version of Akeeba Backup 4.7 and will get back to you.

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
That's interesting. The problem is in media/com_akeeba/js/configuration.js line 359.

That line is wrong, it's there for 2 years (since Akeeba Backup 4.4.3) and it only breaks something now. This happened because Chrome is now throwing an error when an operation would result in an invalid DOM instead of silently ignoring it. If you remove that line the page will work just fine.

Meanwhile, I will release a version 4.7.7 that includes the fix.

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!

dimoss
Thanks Nicholas
That means I can download the 4.7.7 and install it in my J!3.1.6 via extension manager wto uninstalling the old Akeeba?

Regards

nicholas
Akeeba Staff
Manager
No, the updates to the obsolete branch of Akeeba Backup (4.7) can only be installed manually. You will have to download it from our site and install it through the extension manager.

Please note that 4.7.7 is NOT released yet. What I told you to do instead is 1. install 4.7.6 and 2. edit media/com_akeeba/js/configuration.js and completely remove line 359.

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!

dimoss
Thanks Nicholas!
I will wait for the 4.7.7 ver and i will install it via the extension manager as you said.
Regards

nicholas
Akeeba Staff
Manager
I just released it.

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!

dimoss
Access is forbidden?
I cannot download it even if i am logged in.

nicholas
Akeeba Staff
Manager
Can you try again? I don't see any issues. It could be a problem with the CDN not having caught up since I had just literally uploaded the files.

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!

dimoss
Hi Nicholas

It was installed ok and I can see the configuration settings but not all, some missing.
Check the file attached and u will see that the post processing engine feature is missing.

dlb
Are you sure you are installing the Pro version and not Core?


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

dimoss
Yes..This is the filename is downloaded: com_akeeba-4.7.7-pro.zip

nicholas
Akeeba Staff
Manager
It looks like the version.php file in the package was wrong. Can you please try downloading again?

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!

dimoss
Yes not it's ok.
I can see the rest of the settings.
Please check the attached file. You will see some missing translation strings there as well as in the archiver engine dropdown and the Options/Live Update page.

Regards

nicholas
Akeeba Staff
Manager
I know that there are untranslated strings. These are strings which were added after we concluded all work on version 4.7. Between Akeeba Backup 4 and Akeeba Backup 5 we completely changed the language strings. Therefore it's no longer possible to easily sync the translations of 4.x with 5.x. The only thing we keep doing in 4.x is retrofit the backup engine and release an update every now and again with the sole of you being able to take a backup before updating to a newer version of Joomla!.

I'd like to remind you that Joomla! 3.1 went end of life back in 2012. In the five and half years since the Joomla! project has discovered at least 5 high priority security issues and dozens of less important ones which are unpatched on Joomla! 3.1. Your site will be hacked. Take your backups and migrate it to 3.8 as soon as possible.

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!

dimoss
Thanks Nicholas!
I will..:-)

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!