You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
panic "Snapshot(): database is closed" on start after wiping database #7419
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
I had this panic today when starting Syncthing after wiping the database. By this I mean manually deleting index-v0.14.0.db after completely shutting Syncthing down, and then trying to start it again. The program still probably restarted itself after the panic and continued to work, and I only noticed the log many hours later.
This is basically a sub-issue of #5907. I have a branch that fixes this particular error.brewing, so lets keep this open so we have something to close then (I am waiting for #7375 before PRing).
changed the title [-]"Fatal error: xxxxx-xxxxx Snapshot(): database is closed" on start after wiping database[/-][+]panic "Snapshot(): database is closed" on start after wiping database[/+]on Mar 2, 2021
bugA problem with current functionality, as opposed to missing functionality (enhancement)frozen-due-to-ageIssues closed and untouched for a long time, together with being locked for discussion
Activity
imsodin commentedon Mar 2, 2021
This is basically a sub-issue of #5907. I have a branch that fixes this particular error.brewing, so lets keep this open so we have something to close then (I am waiting for #7375 before PRing).
[-]"Fatal error: xxxxx-xxxxx Snapshot(): database is closed" on start after wiping database[/-][+]panic "Snapshot(): database is closed" on start after wiping database[/+]tomasz1986 commentedon Mar 2, 2021
Thanks for a super quick reply 🙂.
Just for the record, although kind of off-topic, but the reason for resetting the database is that I want to bring everything to the initial state for further testing of https://forum.syncthing.net/t/folders-stuck-trying-to-sync-existing-files/16121. Just using
-reset-deltasdoesn't cut it. Either wiping the database or removing and re-adding the folders seems to be required, and the former is just faster.Merge branch 'main' into certnames