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

History disapearing, only one very old history line remains #915

Closed
1n5aN1aC opened this issue Jan 25, 2024 · 7 comments
Closed

History disapearing, only one very old history line remains #915

1n5aN1aC opened this issue Jan 25, 2024 · 7 comments
Labels

Comments

@1n5aN1aC
Copy link

1n5aN1aC commented Jan 25, 2024

Great software, btw, Thank you very much for developing it!

Details:
I have NZBhydra set up and functioning.
I have "Keep History" set to ON, "Keep history for..." and "keep stats for..." set to 30 weeks.

However, I have the weird problem where my history (both for searches, and for downloads) frequently disappears, I believe the history is resetting every day? The weird thing is there is ONE history entry from before the cutoff date which always stays. It is dated 2023-01-31 14:36

I would be glad to collect a debug info zip for you, but I can't exactly trigger it at will. It happens frequently, but appears to be more than once a day but I am not sure of the schedule.

Using docker container: https://github.com/linuxserver/docker-nzbhydra2
Version: 5.3.7
Screenshot: https://i.imgur.com/ihAm5Yz.png

Seems like it could be the same issue as #873
Is there any way to like reset history or something? I'm glad to lose any of that, I'd just rather not have to re-configure all my indexers/etc.

@1n5aN1aC 1n5aN1aC added the bug label Jan 25, 2024
@theotherp
Copy link
Owner

theotherp commented Jan 25, 2024 via email

@1n5aN1aC
Copy link
Author

@theotherp
Copy link
Owner

You can try resetting the history by shutting down hydra and deleting the data/database folder. All the config is saved in a different file.

If there is one entry left after deletion it's possible that for some reason the history was left in an invalid state.

@1n5aN1aC
Copy link
Author

Awesome, didn't realize the database was only for history and related items, and the config is not saved there.

Deleted it, and so far so good. The super old entry is gone and I will update in a day or so whether it's fully fixed or not. Thanks!

@1n5aN1aC
Copy link
Author

Thank you very much, that appears to have solved it!

@kzshantonu
Copy link

Hi this happened to me too. Is there any way to restore my stats? Stats are very important to me

@theotherp
Copy link
Owner

You can try restoring from a previous backup.

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

No branches or pull requests

3 participants