Reply To: Firefly Server will not stay running.

#7526
rpedde
Participant

@gomedog wrote:

Thank you Ron. That did the trick. Is this a glitch in the programming that will require me to delete songs.db occasionally?

No, it happens if power is lost or the server terminated ungracefully when it’s in the middle of a scan.

Since I vacuum on every startup, it seems like that would be a good time to sense corruption and automatically rebuild the database, but I just haven’t done it yet.

It shouldn’t much happen, but this is the second or third time I’ve heard of it, so I suppose it makes sense to throw some defensive code at it.