Support

Akeeba Backup for Joomla!

#26561 backup does not arrive in onedrive

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 on Friday, 16 December 2016 17:17 CST

ejtnaj
Hi
I have this strange issue. Is use Akeeba with upload to onedrive. Since a few weeks the cron job runs fine. Ik can see the backups in the "manage backups" overview (remotely stored). When i try to fetch the file i get an http error 401. When i logon to onedrive i don't see the backup files. My files are lost (really in the cloud :) )
I already tried to renew the authentication. Any suggestion?
Regards,

nicholas
Akeeba Staff
Manager
The 401 error stands for "unauthorized". OneDrive sends that error message when the token we send is invalid or out of date. I think you need to reconnect Akeeba Backup to your OneDrive account.

Moreover, I do see something really strange in your backup log file:
DEBUG   |161116 11:19:09|Akeeba\Engine\Postproc\Onedrive::Akeeba\Engine\Postproc\Onedrive::processPart - Performing simple upload
INFO    |161116 11:19:09|Finished post-processing file <root>/administrator/components/com_akeeba/backup/site-bolsterdorp.be-20161116-101809.jpa
DEBUG   |161116 11:19:09|Deleting already processed file <root>/administrator/components/com_akeeba/backup/site-bolsterdorp.be-20161116-101809.jpa

There's no way your 54.6Mb archive file was uploaded in a few milliseconds. However, our code received an HTTP response saying it did! This means that your host is doing something stupid, namely that they're running a caching proxy server in front of your site. Therefore all outbound connections to OneDrive and the OneDrive OAuth2 facilitator hosted on our site are cached. As a result, neither are the OneDrive tokens updated (hence the 401) nor the upload being executed (hence the backup files being lost). Please contact your host and ask them to disable that crap immediately. Their server is lying when any script running on it is trying to send or fetch data from an external source.

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!