-
-
Notifications
You must be signed in to change notification settings - Fork 387
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
[BUG] Nextcloud Backup stops working with createFile returned null #1426
Comments
This is likely to be an issue at Nextcloud's end. It can't hurt to take a look at the logs to see if there's anything that points us in the right direction though. Please capture a log using ADB while reproducing the issue and share it with us: https://github.com/beemdevelopment/Aegis/blob/master/CONTRIBUTING.md#bug-reports. Just Aegis' logs won't suffice, so please exclude the log filter for Aegis. |
Will do. But it might take a time because I just "re-enabled" the backup granting access to the folder which usually fixes the issue for a couple of days. Once it comes back I'll capture some logs and post them here. |
Hey @alexbakker I grabbed the debug log. |
Thanks. Relevant portion from the log:
In particular:
You do still have the Nextcloud app installed and are logged into it, right? And you didn't uninstall / reinstall Nextcloud in the mean time after you enabled automatic backups in Aegis? |
Correct. Nextcloud works like normal and I'm still logged in when receiving the error. Don't know if this matters, but Nextcloud is only accessible if I'm connected via VPN to my network, but the Aegis backup fails also when I'm home.
Nope. Nextcloud was installed all the time. As mentioned initially it fails after some amount of time, but this happens every few weeks. That's why I provided the log so late. |
I'm not sure what could be going on here. I would have to dig into how document providers are managed by Android and what might cause Android to forget about one. Either way, I don't think there's anything we can do about it from Aegis' end. |
Hey there, I ran into the same error. For me it could be fixed by just re-defining the backup folder in the Aegis settings. Right after that, the backup worked again |
Hey. Thanks for the suggested fix. However, this is not a fix (at least for me). It will break again and again and again... I re-add the backup every few weeks. Then it works for two weeks or so and then it stops working again. |
I had the same issue using a folder on device (not Nextcloud). See below. Manually creating this folder solved the issue (for now).
|
Would be interesting to know if the issue re-appears on your end also after a few weeks. |
Version
3.1
Source
Google Play
Vault encryption
Yes (with biometric unlock)
Device
Poco F2 Pro
Android version
12
ROM
No response
Steps to reproduce
What do you expect to happen?
Nextcloud backups should continue to work also if there was no backup in a few weeks.
What happens instead?
Nextcloud backups stop working after some time. I get an error
com.beemdevelopment.aegis.vault.VaultManagerException: createFile returned null"
if I click on Details.Log
No response
The text was updated successfully, but these errors were encountered: