Hi All,
I have spending days trying to get Serviio to work on my Qnap TS-212 and am really hoping you guys can give me a hand to get this working.
I am on QNAP firmware version 4.0.2.
So far:
1. Have installed JRE_ARM 8.0.1 from QNAP App Center
2. Installed Serviio V1.4.1.2-R2
3. When I goto the Serviio console page, it's really slow and in the serviio.log file it's saying:
[ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
This is an extract from the log file:
2014-12-23 20:17:09,993 INFO [MediaServer] ------------------------------------------------------------------------
2014-12-23 20:17:10,002 INFO [MediaServer] Serviio DLNA media streaming server v 1.4.1.2 (rev. 3753eff81a2f+)
2014-12-23 20:17:10,004 INFO [MediaServer] Petr Nejedly 2009-2014
2014-12-23 20:17:10,004 INFO [MediaServer]
http://www.serviio.org2014-12-23 20:17:10,005 INFO [MediaServer]
2014-12-23 20:17:10,005 INFO [MediaServer] Java 1.8.0-Oracle Corporation
2014-12-23 20:17:10,005 INFO [MediaServer] OS Linux arm 2.6.33.2
2014-12-23 20:17:10,006 INFO [MediaServer] File encoding: UTF-8
2014-12-23 20:17:10,050 INFO [MediaServer] Headless mode enabled: true
2014-12-23 20:17:10,051 INFO [MediaServer] User: admin
2014-12-23 20:17:10,051 INFO [MediaServer] User home dir: /share/homes/admin
2014-12-23 20:17:10,051 INFO [MediaServer] Temp dir: /root/.serviio/tmp
2014-12-23 20:17:10,052 INFO [MediaServer] ------------------------------------------------------------------------
2014-12-23 20:17:12,126 INFO [WebServer] Socket buffer set to 65535 bytes
2014-12-23 20:17:12,181 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2014-12-23 20:17:13,945 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2014-12-23 20:17:13,948 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2014-12-23 20:17:14,160 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2014-12-23 20:17:15,138 INFO [DatabaseManager] Using DERBY database language
2014-12-23 20:18:52,581 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 20:18:52,802 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 20:18:52,798 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 20:18:52,798 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 20:18:52,795 WARN [ServiioStatusService] ExceptionInInitializerError occured. Returning error code 500 to the REST layer. Message: null
2014-12-23 20:18:52,798 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 20:18:52,580 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 20:18:52,797 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 20:18:52,795 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 20:18:52,796 WARN [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot read list of all stored renderers
2014-12-23 20:18:57,576 INFO [DBSchemaUpdateExecutor] Updating DB schema
2014-12-23 22:16:07,953 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 22:16:08,266 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
2014-12-23 22:16:08,265 WARN [ServiioStatusService] NoClassDefFoundError occured. Returning error code 500 to the REST layer. Message: Could not initialize class org.serviio.config.Configuration
and it keeps going.
And when I access serviio via nasip/serviio I am getting the following messages:
WARNING: Web UI is optimized for Serviio v1.3 but v was found. There may be a loss of functionality. Please consider updating.Notice: Undefined variable: startDisabled in /share/MD0_DATA/.qpkg/Serviio/web_ui/view/status.php on line 13
Notice: Undefined variable: stopDisabled in /share/MD0_DATA/.qpkg/Serviio/web_ui/view/status.php on line 14
I've tried the following but it hasn't made a difference:
1. Chmod 777 /share/MD0_DATA/.qpkg/Serviio/web_ui
2. Chmod 777 /share/MD0_DATA/.qpkg/Serviio/opt/bin
Could someone please help me troubleshoot this?
Thank you very much in advance.
Regards,
Raj.