Support

Akeeba Backup for Joomla!

#41348 Sending backups to ondrive no longer works!

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
5.2.1
PHP version
8.3.13
Akeeba Backup version
9.9.10

Latest post by nicholas on Thursday, 21 November 2024 15:09 CST

FafaMaster

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 10MiB, please upload it on your server and post a link to it.

Sending backups to ondrive no longer works!
I've tried reparameterising everything, deleting everything on ondrive and redoing everything.... but it doesn't work.
Any ideas?
Here are the warning messages:


Failed to process file ... sanely.fr/administrator/components/com_akeebabackup/backup/site-www.sanely.fr-20241115-201659utc-TQiQAWktCn26ckxF.jpa

Error received from the post-processing engine: Akeeba\Engine\Postproc\Onedrive::multipartUpload - Maximum number of retries exceeded. The upload has failed. Error unauthenticated: Unauthenticated Post-processing interrupted -- no more files will be transferred     Thanks for your help  

 

 

 

nicholas
Akeeba Staff
Manager

First, please make sure that you have entered the correct Download ID as described in https://www.akeeba.com/documentation/akeeba-backup-joomla/update-dlid.html 

Then, go to your backup profile's configuration and find the Post-processing Engine row. Make sure the “OAuth2 Helper” is set to ‘Provided by Akeeba Ltd’. If it's not, change it and click on the Save button before following the next step.

Again in your backup profile's configuration page, find the Post-processing Engine row. Click on the “Authorisation – Start here” button to reconnect Akeeba Backup to OneDrive. You will need to copy the Access Token and Refresh Token when prompted. Then, click on Save & Close.

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!

FafaMaster

Thank you very much for your reply...
I've done everything as explained and unfortunately it doesn't change anything.
Everything was working fine and I can't see what caused this change.
I also took the liberty of uninstalling Akeeba Backup and installing it again:
It still does not work with the same error:

 

Failed to process file /var/www/vhosts/sanely.fr/sanely.fr/administrator/components/com_akeebabackup/backup/site-www.sanely.fr-20241118-124033utc-mTt2mZjVCoi17wfR.jpa Error received from the post-processing engine: Akeeba\Engine\Postproc\Onedrive::multipartUpload - Maximum number of retries exceeded. The upload has failed. Error unauthenticated: Unauthenticated Post-processing interrupted -- no more files will be transferred    

nicholas
Akeeba Staff
Manager

This error message means that the Access Token sent by Akeeba Backup is invalid. However, I had you just log into OneDrive which means that you should have a correct Access Token for the next hour.

Even if you waited longer than an hour after authenticating before taking the backup, it still doesn't quite make sense. We have the Refresh Token. If the Access Token is missing / invalid Akeeba Backup sends the Refresh Token and your Download ID to our server. If your Download ID –which I had you check– is valid our server will contact OneDrive with our Secret Key and your Refresh Token, getting back a new Access Token. This is sent back to your server which will now continue using it with OneDrive.

Now you understand why I had you take three steps which looked a bit unrelated to each other.

Assuming you did follow all three steps, the only deduction I can make is that you either pasted something wrong, or there's something wrong with your host (maybe a misconfigured transparent caching proxy). Since the server is OVH, we know it does not have a transparent caching proxy – or, at least, that was the case until last week.

This leaves me with something you did by accident. Maybe you pasted something wrong, or accidentally missed a step, or maybe took the actions against the wrong backup profile. Please check if this is the case. If not, reply back and I will ask you for connection information to your site to see what is going on.

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 would like to update you on this. Another client gave us access to a site which was returning the same error message and we found out that the problems comes from Microsoft's side.

Without any prior warning, or documentation update, they have changed the way they expect us to perform the upload of backup archives in small chunks. This change appears to only affect a very small number of user accounts which is why there have been only three reports (including yours) and why the majority of our clients (and our three different OneDrive user accounts) have not been affected.

The good news is that we found a workaround and we're going to be making a new release of our backup software later today to address this 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!

FafaMaster

Thank you very much : the new update is perfect and all is all right !

Have a good day

nicholas
Akeeba Staff
Manager

Awesome! Thank you for the feedback and apologies for taking such a long time to figure out what is going on. Microsoft doing something pretty much opposite to what they documented was not on my bingo card :)

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!