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]: a single "bad archive" anywhere in backups folder unregisters all backups (bad or good) #1961
Comments
The error you are showing is a backup from 2022-08-03. Is this error still happening on backups created with v2.3.3? You can test if you can extract that backup file yourself |
Wow, that's odd, I manually created that backup just that day. Let me check again (of course the backup file is always deleted when it's detected as bad). |
OK, so after confirming there were a reasonable number of automatic backups (3), all produced at 1:30AM on each day. I restarted the docker-compose service. Once it came up it said this:
Now all three are gone, and there's nothing in the log that might pertain to all three being checked - only that one record. I'll send this and then create a backup archive followed by manually unzipping it. |
OK, this was very simple. ABS wasn't deleting anything at all; what it was doing is finding one bad archive from a long time ago (as you see), and for some reason responding to that by removing all of my backups from its list. Then next time it restarted, it'd do the same thing. The result is that my backups folder was absolutely stuffed with backups, what seemed like hundreds of them. I trimmed them down and reloaded them into the list so that hopefully it'll manage them per the configuration (I expected it only to keep 5). If there's a bug here, it might be removing all backups from its list when any invalid backup is found. Aside from that, workaround is simple, all of the backups are right where they should be so can be loaded into the list manually. |
Fixed in v2.4.4 |
Describe the issue
Backups will always deleted on next reboot with "Bad archive" error. See message below.
Steps to reproduce the issue
Audiobookshelf version
2.3.3
How are you running audiobookshelf?
Docker
The text was updated successfully, but these errors were encountered: