Failed to initialize Serviio DB properly at first run

Issue #751 resolved
Former user created an issue

There is issue which related to access to Serviio using REST API during first application run.

Here are steps to reproduce issue: 1) Stop Serviio 2) Remove db, cache, search folders from $SERVIO_HOME/library folder. 3) Start Serviio. 4) Try to access Servia via REST API. For example: Web UI in PHP (http://wiki.serviio.org/doku.php?id=phpwebui)

As result application throw error. These are lines from log: 2014-01-16 14:45:17,783 INFO [DBSchemaUpdateExecutor] Updating DB schema 2014-01-16 14:45:19,828 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration 2014-01-16 14:45:19,979 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration

I suspect that there is issue related to concurrent access to DB at startup.

Thank you for Serviio!

Comments (2)

  1. Petr Nejedly repo owner

    Check if this is even an issue. This might happen if the DB updates / startup happen after API start.

  2. Log in to comment