Serviio Database Related Errors
I like serviio, I used to use it on my server. MediaBrowser wasn't the greatest addon but it worked on my server.
But now I decided to go local and installed it on my single board computer with Debian.
It installed fine and was working.
But, when I removed the mounted drive and attached another, I started having problems.
Serviio still tries to use the old directory and can not remove the old indexed files from it's database
- Code:
- 2015-09-03 23:25:00,662 INFO [PlaylistMaintainerWorker] Started looking for playlist changes
 2015-09-03 23:25:01,165 INFO [ContentDirectoryDefinitionParser] Parsing ContentDirectory definition
 2015-09-03 23:25:04,612 INFO [BrowsingCategoriesMessages] Loaded browsing categories message bundle for locale: en
 2015-09-03 23:25:08,375 INFO [LibraryOneTimeScanner] Interrupting library scan
 2015-09-03 23:25:08,378 INFO [LibraryDeltaScanner] Stopping the library delta scan
 2015-09-03 23:25:08,385 INFO [PlaylistMaintainerWorker] Finished looking for playlist changes
 2015-09-03 23:25:11,517 WARN [AudioService] Music track cannot be removed from the library because it cannot be found
 2015-09-03 23:25:11,519 WARN [AudioService] Music track cannot be removed from the library because it cannot be found
 2015-09-03 23:25:18,450 WARN [AudioService] Music track cannot be removed from the library because it cannot be found
 2015-09-03 23:25:18,884 WARN [AudioService] Music track cannot be removed from the library because it cannot be found
So, I stopped Serviio.
I moved library folder to library-old
Started serviio.
I see that another library folder is created.
But I still have problems.
This time my log shows other errors.
- Code:
- 2015-09-03 23:15:42,380 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
 2015-09-03 23:15:42,462 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
 2015-09-03 23:15:42,564 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
 2015-09-03 23:15:42,602 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
 2015-09-03 23:15:43,584 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
 2015-09-03 23:15:43,632 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
 2015-09-03 23:15:48,593 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
 2015-09-03 23:15:48,644 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
Also when I do it like this I can't connect to serviio anymore.
So I moved the library folder back.
Now I can access Serviio via Web Gui or ServiDroid but I STILL CAN NOT delete the old, unwanted folder from my Library, can't add either. Serviio is basically useless right now.
How do I create a new database from scratch?
Serviio doesn't have such an option and uninstall + purge + reinstall is not the wisest option and whenever I delete a folder from the hard drive, Serviio will have the same problem... Won't it?


 
            