Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No backups in the OneDrive location... #206

Open
rashuge opened this issue Mar 16, 2023 · 3 comments
Open

No backups in the OneDrive location... #206

rashuge opened this issue Mar 16, 2023 · 3 comments

Comments

@rashuge
Copy link

rashuge commented Mar 16, 2023

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.

@cp2004
Copy link
Owner

cp2004 commented Mar 16, 2023

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.

@muggy2k
Copy link

muggy2k commented Mar 30, 2023

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'}}

@cp2004
Copy link
Owner

cp2004 commented Apr 5, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants