Page 1 of 1

How to recreate the entire library database, if corrupt

PostPosted: Wed Mar 11, 2020 2:19 pm
by n3mmr
How to recreate the entire media library database, if corrupted or wrong owner or something?

Re: How to recreate the entire library database, if corrupt

PostPosted: Wed Mar 11, 2020 5:24 pm
by atc98092
I don't believe there's a way to recreate the DB. I believe the only option is to uninstall and reinstall Serviio.

Re: How to recreate the entire library database, if corrupt

PostPosted: Thu Mar 12, 2020 8:16 am
by n3mmr
atc98092 wrote:I don't believe there's a way to recreate the DB. I believe the only option is to uninstall and reinstall Serviio.


Shouldn't
1. Stop Serviio
2. Delete db files in <Serviio catalog>\library (What does a just installed and empty <Serviio catalog>\library file tree look like?)
3. Start Serviio

do the trick??

Re: How to recreate the entire library database, if corrupt

PostPosted: Thu Mar 12, 2020 12:09 pm
by atc98092
n3mmr wrote:
atc98092 wrote:I don't believe there's a way to recreate the DB. I believe the only option is to uninstall and reinstall Serviio.


Shouldn't
1. Stop Serviio
2. Delete db files in <Serviio catalog>\library (What does a just installed and empty <Serviio catalog>\library file tree look like?)
3. Start Serviio

do the trick??


I'm not certain if simply restarting the service with an empty DB folder will recreate the DB, or if the install puts some necessary files in place that are used by the DB. We need Zip to answer accurately. For myself, I've always just done a reinstall, but I admit I've never tried what you suggest.