OctoPrint-OneDrive-Backup icon indicating copy to clipboard operation
OctoPrint-OneDrive-Backup copied to clipboard

No backups in the OneDrive location...

Open rashuge opened this issue 2 years ago • 3 comments

I have the OneDrive backup setup, it looks like there are no issues but when I run a backup or use backup scheduler it does not put anything in the OneDrive location. It let me setup O365 business OneDrive account without issues and said it authenticated. But I still don't get any backups.

rashuge avatar Mar 16 '23 03:03 rashuge

Please fill in a bug report form when reporting bugs or issues, as it asks for the log files first - that's what's needed otherwise I have no idea what's going on.

So, please share the systeminfo bundle or at a minimum your octoprint.log.

Business accounts may or may not work - they come in a lot of different configurations (it seems) and I have had varying reports of success. Personal accounts definitely work fine.

cp2004 avatar Mar 16 '23 19:03 cp2004

I am also running O365 Business without any backups being created. I am running the latest stable version 1.8.7 I have tried both my business accounts without success. Reading the octoprint log I'm shown: octoprint.plugins.onedrive_backup.OneDriveComm - ERROR - Error creating upload session: {'code': 'invalidRequest', 'message': 'Invalid request', 'innerError': {'date': '2023-03-30T20:19:28', 'request-id': '214b3910-b2d7-4bad-8902-f42c0b64f1be', 'client-request-id': '214b3910-b2d7-4bad-8902-f42c0b64f1be'}}

muggy2k avatar Mar 30 '23 20:03 muggy2k

Business account support is unfortunately not guaranteed - I have some users saying it works, others say it doesn't, I suspect it is likely to do with how the account is configured & restricted by the organisation. So far I have not come up with something different that I should do in the plugin to make this work - the same request structure works for other accounts, and I obviously can't test a slightly different request structure works either, since it depends on the individual organisation it seems.

cp2004 avatar Apr 05 '23 20:04 cp2004