FAQ  •  Register  •  Login

Can't install Serviio 1.6 on Synology DSM 6.0

<<

gcetera

Serviio newbie

Posts: 4

Joined: Wed Apr 06, 2016 5:50 pm

Post Wed Apr 06, 2016 5:58 pm

Can't install Serviio 1.6 on Synology DSM 6.0

Hello, I need help
maybe somewhere with rights problems on folders or libs, tell me what and where the rights need to be?

  Code:
2016-04-06 20:44:50,000 Starting Serviio
Java HotSpot(TM) Embedded Client VM warning: G1 GC is disabled in this release.
2016-04-06 20:44:55,046 INFO  [MediaServer] ------------------------------------------------------------------------
2016-04-06 20:44:55,050 INFO  [MediaServer] Serviio DLNA media streaming server v 1.6 (rev. 9a1458ed77db)
2016-04-06 20:44:55,050 INFO  [MediaServer] Petr Nejedly 2009-2015
2016-04-06 20:44:55,051 INFO  [MediaServer] http://www.serviio.org
2016-04-06 20:44:55,051 INFO  [MediaServer]
2016-04-06 20:44:55,051 INFO  [MediaServer] Java 1.8.0_77-Oracle Corporation arm
2016-04-06 20:44:55,051 INFO  [MediaServer] OS Linux 3.2.40
2016-04-06 20:44:55,052 INFO  [MediaServer] File encoding: UTF-8
2016-04-06 20:44:55,387 INFO  [MediaServer] Headless mode enabled: true
2016-04-06 20:44:55,387 INFO  [MediaServer] User: root
2016-04-06 20:44:55,388 INFO  [MediaServer] User home dir: /root
2016-04-06 20:44:55,388 INFO  [MediaServer] Temp dir: /tmp
2016-04-06 20:44:55,388 INFO  [MediaServer] ------------------------------------------------------------------------
2016-04-06 20:44:56,123 INFO  [WebServer] Socket buffer set to 65535 bytes
2016-04-06 20:44:56,124 INFO  [RestletServer] Starting Restlet server (/console) exposed on port 23423
2016-04-06 20:44:56,138 INFO  [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2016-04-06 20:44:56,450 INFO  [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2016-04-06 20:44:56,451 INFO  [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2016-04-06 20:44:56,512 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2016-04-06 20:44:56,548 INFO  [DatabaseManager] Using DERBY database language
2016-04-06 20:44:58,963 WARN  [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true
java.sql.SQLException: Failed to create database 'db', see the next exception for details.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:270)
   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64)
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:78)
   at org.serviio.MediaServer.main(MediaServer.java:121)
Caused by: ERROR XJ041: Failed to create database 'db', see the next exception for details.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
   ... 22 more
Caused by: ERROR XBM01: Startup failed due to an exception. See next exception for details.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.impl.services.monitor.FileMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection$5.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.jdbc.EmbedConnection.createPersistentService(Unknown Source)
   ... 19 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
   at sun.nio.cs.UTF_8$Encoder.encode(UTF_8.java:716)
   at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:304)
   at java.lang.StringCoding.encode(StringCoding.java:344)
   at java.lang.String.getBytes(String.java:918)
   at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
   at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
   at java.io.File.exists(File.java:819)
   at org.apache.derby.impl.store.raw.data.RAFContainer.privGetFileName(Unknown Source)
   at org.apache.derby.impl.store.raw.data.RAFContainer.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.store.raw.data.RAFContainer.createContainer(Unknown Source)
   at org.apache.derby.impl.store.raw.data.RAFContainer4.createContainer(Unknown Source)
   at org.apache.derby.impl.store.raw.data.FileContainer.createIdent(Unknown Source)
   at org.apache.derby.impl.store.raw.data.FileContainer.createIdentity(Unknown Source)
   at org.apache.derby.impl.services.cache.ConcurrentCache.create(Unknown Source)
   at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.addContainer(Unknown Source)
   at org.apache.derby.impl.store.raw.xact.Xact.addContainer(Unknown Source)
   at org.apache.derby.impl.store.access.btree.BTree.create(Unknown Source)
   at org.apache.derby.impl.store.access.btree.index.B2I.create(Unknown Source)
   at org.apache.derby.impl.store.access.btree.index.B2IFactory.createConglomerate(Unknown Source)
   at org.apache.derby.impl.store.access.RAMTransaction.createConglomerate(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.bootstrapOneIndex(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.bootStrapSystemIndexes(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.makeCatalog(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.createDictionaryTables(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase$5.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.db.BasicDatabase.bootServiceModule(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   ... 26 more
2016-04-06 20:45:00,945 WARN  [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true
java.sql.SQLException: Failed to create database 'db', see the next exception for details.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:270)
   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64)
   at org.serviio.config.dao.ConfigEntryDAOImpl.findAllConfigEntries(ConfigEntryDAOImpl.java:161)
   at org.serviio.config.JDBCConfigStorage.readAllConfigurationValues(JDBCConfigStorage.java:33)
   at org.serviio.config.Configuration.<clinit>(Configuration.java:106)
   at org.serviio.licensing.CustomerLicenseProvider.readLicense(CustomerLicenseProvider.java:20)
   at org.serviio.licensing.LicenseValidator.getCurrentLicense(LicenseValidator.java:71)
   at org.serviio.licensing.LicensingManager.updateLicense(LicensingManager.java:144)
   at org.serviio.licensing.LicensingManager.<init>(LicensingManager.java:118)
   at org.serviio.licensing.LicensingManager.getInstance(LicensingManager.java:128)
   at org.serviio.ui.resources.server.ApplicationServerResource.load(ApplicationServerResource.java:34)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:524)
   at org.restlet.resource.ServerResource.get(ServerResource.java:743)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:618)
   at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:679)
   at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:357)
   at org.serviio.restlet.AbstractServerResource.doConditionalHandle(AbstractServerResource.java:49)
   at org.restlet.resource.ServerResource.handle(ServerResource.java:1014)
   at org.restlet.resource.Finder.handle(Finder.java:246)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Router.doHandle(Router.java:431)
   at org.restlet.routing.Router.handle(Router.java:648)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)
   at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:84)
   at org.restlet.Application.handle(Application.java:384)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Router.doHandle(Router.java:431)
   at org.restlet.routing.Router.handle(Router.java:648)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Router.doHandle(Router.java:431)
   at org.restlet.routing.Router.handle(Router.java:648)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:155)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.routing.Filter.doHandle(Filter.java:159)
   at org.restlet.routing.Filter.handle(Filter.java:206)
   at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:211)
   at org.restlet.Component.handle(Component.java:406)
   at org.restlet.Server.handle(Server.java:516)
   at org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:72)
   at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:152)
   at org.restlet.ext.simple.internal.SimpleContainer.handle(SimpleContainer.java:80)
   at org.simpleframework.http.core.Dispatcher.dispatch(Dispatcher.java:121)
   at org.simpleframework.http.core.Dispatcher.run(Dispatcher.java:103)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
   at java.lang.Thread.run(Thread.java:745)
Caused by: ERROR XJ041: Failed to create database 'db', see the next exception for details.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
   ... 78 more
Caused by: ERROR XBM01: Startup failed due to an exception. See next exception for details.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.impl.services.monitor.FileMonitor.createPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection$5.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.jdbc.EmbedConnection.createPersistentService(Unknown Source)
   ... 75 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
   at sun.nio.cs.UTF_8$Encoder.encode(UTF_8.java:716)
   at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:304)
   at java.lang.StringCoding.encode(StringCoding.java:344)
   at java.lang.String.getBytes(String.java:918)
   at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
   at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
   at java.io.File.exists(File.java:819)
   at org.apache.derby.impl.store.raw.log.LogToFile.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.store.raw.log.LogToFile.runBooleanAction(Unknown Source)
   at org.apache.derby.impl.store.raw.log.LogToFile.privExists(Unknown Source)
   at org.apache.derby.impl.store.raw.log.LogToFile.getLogDirectory(Unknown Source)
   at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileName(Unknown Source)
   at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtPosition(Unknown Source)
   at org.apache.derby.impl.store.raw.log.Scan.<init>(Unknown Source)
   at org.apache.derby.impl.store.raw.log.LogToFile.openBackwardsScan(Unknown Source)
   at org.apache.derby.impl.store.raw.log.FileLogger.undo(Unknown Source)
   at org.apache.derby.impl.store.raw.xact.Xact.abort(Unknown Source)
   at org.apache.derby.impl.store.raw.xact.Xact.destroy(Unknown Source)
   at org.apache.derby.impl.store.access.RAMTransaction.destroy(Unknown Source)
   at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase$5.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.db.BasicDatabase.bootServiceModule(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   ... 82 more
2016-04-06 20:45:00,982 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: null
java.lang.NullPointerException
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:50)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:78)
   at org.serviio.MediaServer.main(MediaServer.java:121)
<<

gcetera

Serviio newbie

Posts: 4

Joined: Wed Apr 06, 2016 5:50 pm

Post Wed Apr 06, 2016 6:19 pm

Re: Can't install Serviio 1.6 on Synology DSM 6.0

ok, iam trying to give permission:

connect by ssh to synology as admin.
typing "sudo su -" to login as root
chmod 777 -R /volume1/@appstore/Serviio

Serviio runing but type error:
[ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type


  Code:
Java HotSpot(TM) Embedded Client VM warning: G1 GC is disabled in this release.
2016-04-06 21:09:14,971 INFO  [MediaServer] ------------------------------------------------------------------------
2016-04-06 21:09:14,975 INFO  [MediaServer] Serviio DLNA media streaming server v 1.6 (rev. 9a1458ed77db)
2016-04-06 21:09:14,975 INFO  [MediaServer] Petr Nejedly 2009-2015
2016-04-06 21:09:14,975 INFO  [MediaServer] http://www.serviio.org
2016-04-06 21:09:14,975 INFO  [MediaServer]
2016-04-06 21:09:14,976 INFO  [MediaServer] Java 1.8.0_77-Oracle Corporation arm
2016-04-06 21:09:14,976 INFO  [MediaServer] OS Linux 3.2.40
2016-04-06 21:09:14,976 INFO  [MediaServer] File encoding: UTF-8
2016-04-06 21:09:15,435 INFO  [MediaServer] Headless mode enabled: true
2016-04-06 21:09:15,436 INFO  [MediaServer] User: root
2016-04-06 21:09:15,436 INFO  [MediaServer] User home dir: /root
2016-04-06 21:09:15,436 INFO  [MediaServer] Temp dir: /tmp
2016-04-06 21:09:15,436 INFO  [MediaServer] ------------------------------------------------------------------------
2016-04-06 21:09:16,019 INFO  [WebServer] Socket buffer set to 65535 bytes
2016-04-06 21:09:16,021 INFO  [RestletServer] Starting Restlet server (/console) exposed on port 23423
2016-04-06 21:09:16,033 INFO  [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2016-04-06 21:09:16,286 INFO  [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2016-04-06 21:09:16,287 INFO  [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2016-04-06 21:09:16,337 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2016-04-06 21:09:16,393 INFO  [DatabaseManager] Using DERBY database language
2016-04-06 21:09:21,216 INFO  [DBSchemaUpdateExecutor] Updating DB schema
2016-04-06 21:09:26,071 INFO  [DBSchemaUpdateExecutor] Dropping search index
2016-04-06 21:09:26,086 INFO  [SearchManager] Starting up search engine
2016-04-06 21:09:26,825 INFO  [DBSchemaUpdateExecutor] Cleaning temporary cache
2016-04-06 21:09:26,914 INFO  [Device] Created UPnP Device with UUID: 32f0d5f5-050c-3e1b-a6ce-bd888c0aeeee, bound address: 192.168.50.6
2016-04-06 21:09:27,254 INFO  [DBSchemaUpdateExecutor] Cleaning persistent cache
2016-04-06 21:09:27,326 WARN  [IndexedDiskCache] Region [online_technical_metadata] Reseting cache
2016-04-06 21:09:27,972 INFO  [MediaServer] ------------------------------------------------------------------------
2016-04-06 21:09:27,972 INFO  [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2016-04-06 21:09:27,973 INFO  [MediaServer] ------------------------------------------------------------------------
2016-04-06 21:09:28,914 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2016-04-06 21:09:29,103 INFO  [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2016-04-06 21:09:29,129 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2016-04-06 21:09:29,139 INFO  [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2016-04-06 21:09:29,142 INFO  [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2016-04-06 21:09:29,146 INFO  [ProfilesDefinitionParser] Added profile 'Playstation 4' (id=ps4)
2016-04-06 21:09:29,158 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2016-04-06 21:09:29,192 INFO  [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2016-04-06 21:09:29,196 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (H-series)' (id=sam_h)
2016-04-06 21:09:29,199 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (J-series)' (id=sam_j)
2016-04-06 21:09:29,201 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (E/F-series)' (id=sam_ef)
2016-04-06 21:09:29,203 INFO  [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D-series)' (id=7)
2016-04-06 21:09:29,204 INFO  [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2016-04-06 21:09:29,211 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012)' (id=sony2012)
2016-04-06 21:09:29,214 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2013/14)' (id=sony2013)
2016-04-06 21:09:29,216 INFO  [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx100 (2013)' (id=bdp2013)
2016-04-06 21:09:29,218 INFO  [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx90 (2012)' (id=bdp2012)
2016-04-06 21:09:29,222 INFO  [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010)' (id=bdp2010)
2016-04-06 21:09:29,224 INFO  [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010) - US' (id=bdp2010us)
2016-04-06 21:09:29,225 INFO  [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx80/SMP-N200 (2011)' (id=bdp2011)
2016-04-06 21:09:29,226 INFO  [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2016-04-06 21:09:29,229 INFO  [ProfilesDefinitionParser] Added profile 'Toshiba REGZA 2012-' (id=tosh2012)
2016-04-06 21:09:29,233 INFO  [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2016-04-06 21:09:29,234 INFO  [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2016-04-06 21:09:29,235 INFO  [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2016-04-06 21:09:29,236 INFO  [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2016-04-06 21:09:29,238 INFO  [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2016-04-06 21:09:29,239 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=sony2011)
2016-04-06 21:09:29,240 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=sony2010)
2016-04-06 21:09:29,241 INFO  [ProfilesDefinitionParser] Added profile 'Philips (2010-)' (id=plps2010)
2016-04-06 21:09:29,248 INFO  [ProfilesDefinitionParser] Added profile 'Philips (2009)' (id=20)
2016-04-06 21:09:29,249 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=sony2009)
2016-04-06 21:09:29,252 INFO  [ProfilesDefinitionParser] Added profile 'Denon AVR' (id=22)
2016-04-06 21:09:29,253 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2013)' (id=viera2013)
2016-04-06 21:09:29,255 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera G/GT/DT/UT/VT (2011/2012)' (id=viera2011a)
2016-04-06 21:09:29,302 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera E/S/ST/VT (2011)' (id=viera2011)
2016-04-06 21:09:29,303 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2010)' (id=viera2010)
2016-04-06 21:09:29,304 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012) - US' (id=sony2012us)
2016-04-06 21:09:29,305 INFO  [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011) - US' (id=sony2011us)
2016-04-06 21:09:29,307 INFO  [ProfilesDefinitionParser] Added profile 'Sony AVReceiver STR' (id=SonySTR)
2016-04-06 21:09:29,308 INFO  [ProfilesDefinitionParser] Added profile 'Sony Audio CMT' (id=SonyCMT)
2016-04-06 21:09:29,309 INFO  [ProfilesDefinitionParser] Added profile 'Vizio TV' (id=viziotv)
2016-04-06 21:09:29,312 INFO  [ProfilesDefinitionParser] Added profile 'Windows 8/RT' (id=win8metro)
2016-04-06 21:09:29,314 INFO  [ProfilesDefinitionParser] Added profile 'Panasonic BD player' (id=panasonicBDT220)
2016-04-06 21:09:29,315 INFO  [ProfilesDefinitionParser] Added profile 'Philips NP Streamium' (id=philips_streamium)
2016-04-06 21:09:29,316 INFO  [ProfilesDefinitionParser] Added profile 'Chaneru' (id=roku)
2016-04-06 21:09:29,320 INFO  [ProfilesDefinitionParser] Added profile 'Roku Media Player' (id=RokuMPApp)
2016-04-06 21:09:29,321 INFO  [ProfilesDefinitionParser] Added profile 'Yamaha BD-A1020/BD-A1010' (id=YamBD)
2016-04-06 21:09:29,322 INFO  [ProfilesDefinitionParser] Added profile 'Telenet Yelo TV' (id=TNDC)
2016-04-06 21:09:29,324 INFO  [ProfilesDefinitionParser] Added profile 'Xbox One' (id=xbox_one)
2016-04-06 21:09:29,326 INFO  [ProfilesDefinitionParser] Added profile 'Raumfeld' (id=raumfeld)
2016-04-06 21:09:29,417 INFO  [ProfilesDefinitionParser] Parsing Profiles definition
2016-04-06 21:09:29,420 INFO  [ProfilesDefinitionParser] Added profile 'Flash player' (id=flv_player)
2016-04-06 21:09:29,422 INFO  [ProfilesDefinitionParser] Added profile 'iOS' (id=ios)
2016-04-06 21:09:29,423 INFO  [ProfilesDefinitionParser] Added profile 'HTML5' (id=html5)
2016-04-06 21:09:29,425 INFO  [ProfilesDefinitionParser] Added profile 'ServiiGo (Standard)' (id=serviigo_standard)
2016-04-06 21:09:29,426 INFO  [ProfilesDefinitionParser] Added profile 'ServiiGo (Legacy Devices)' (id=serviigo)
2016-04-06 21:09:29,428 INFO  [ProfilesDefinitionParser] Added profile 'ServiiGo (HLS)' (id=serviigo_hls)
2016-04-06 21:09:29,429 INFO  [ProfilesDefinitionParser] Added profile 'ServiiGo (Google TV)' (id=serviigo_gtv)
2016-04-06 21:09:29,431 INFO  [ProfilesDefinitionParser] Added profile 'Google Cast' (id=googlecast)
2016-04-06 21:09:29,432 INFO  [ProfilesDefinitionParser] Added profile 'Chromecast' (id=chromecast)
2016-04-06 21:09:29,434 INFO  [ProfilesDefinitionParser] Added profile 'Windows Phone 8' (id=wp8)
2016-04-06 21:09:29,465 INFO  [PluginCompilerThread] Looking for plugins at /volume1/public/serviio/plugins
2016-04-06 21:09:29,466 INFO  [PluginCompilerThread] Started looking for plugins
2016-04-06 21:09:29,471 INFO  [UpdateChecker] Checking if a new version is available
2016-04-06 21:09:29,636 INFO  [FFMPEGWrapper] Found FFmpeg: ffmpeg version 2.7.1-compiled_by_patters_for_Serviio Copyright (c) 2000-2015 the FFmpeg developers
2016-04-06 21:09:29,710 INFO  [AbstractAVTranscodingDeliveryEngine] Cleaning transcode engine and its data
2016-04-06 21:09:29,813 INFO  [WebServer] WebServer starting on port 8895
2016-04-06 21:09:29,814 INFO  [Device] Updated bound IP address of Device with UUID: 32f0d5f5-050c-3e1b-a6ce-bd888c0aeeee, bound address: 192.168.50.6
2016-04-06 21:09:29,830 INFO  [EventDispatcher] Starting EventDispatcher
2016-04-06 21:09:29,838 INFO  [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2016-04-06 21:09:29,839 INFO  [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface bond0 (bond0) and address 192.168.50.6, timeout = 0
2016-04-06 21:09:29,840 INFO  [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2016-04-06 21:09:29,845 INFO  [RendererExpirationChecker] Starting RendererExpirationChecker
2016-04-06 21:09:29,846 INFO  [RendererSearchSender] Searching for Renderer devices
2016-04-06 21:09:30,252 WARN  [RendererManager] Error while retrieving renderer description: Cannot retrieve device description from http://192.168.50.22:7676/smp_18_
2016-04-06 21:09:30,749 INFO  [RendererManager] Stored a new renderer: uuid='0c845881-00d2-1000-a4da-1c5a3ea66349', name = 'UE32ES5507', ipAddress='192.168.50.22', profile = '1', accessGroupId = '1'
2016-04-06 21:09:39,372 INFO  [FileDeltaWatcher] Using 'sun.nio.fs.LinuxWatchService' for delta scan
2016-04-06 21:09:39,407 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:09:55,948 INFO  [FeedUpdaterWorker] Started looking for information about online resources
2016-04-06 21:09:55,953 INFO  [RepositoriesStatusCoordinator$RepositoriesStatusThread] Started checking repositories status
2016-04-06 21:09:56,003 INFO  [LocalLibraryManager] Starting automatic library scan
2016-04-06 21:09:56,010 INFO  [LibraryDeltaScanner] Starting the library delta scan
2016-04-06 21:09:56,014 INFO  [PlaylistMaintainerWorker] Started looking for playlist changes
2016-04-06 21:09:58,705 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:03,703 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:08,721 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:13,707 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:18,707 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:21,496 WARN  [ServiioStatusService] ArrayIndexOutOfBoundsException occured. Returning error code 500 to the REST layer. Message: 0
2016-04-06 21:10:23,707 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:28,704 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:33,704 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:38,707 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:43,707 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:48,704 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:53,704 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:58,705 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:10:59,038 INFO  [LibraryOneTimeScanner] Interrupting library scan
2016-04-06 21:10:59,038 INFO  [LibraryDeltaScanner] Stopping the library delta scan
2016-04-06 21:10:59,049 INFO  [PlaylistMaintainerWorker] Finished looking for playlist changes
2016-04-06 21:10:59,289 INFO  [LocalLibraryManager] Starting automatic library scan
2016-04-06 21:11:00,667 INFO  [LibraryDeltaScanner] Added repository '/volume1/Storage/Video' to delta scanner (POLLER)
2016-04-06 21:11:00,667 INFO  [LibraryDeltaScanner] Starting the library delta scan
2016-04-06 21:11:00,965 INFO  [PlaylistMaintainerWorker] Started looking for playlist changes
2016-04-06 21:11:01,004 WARN  [MediaFileIndexer] Cannot add file Battle.Creek.s01e01.1080p.WEBDL.NewStudio.TV.mkv because of an unexpected error. Message: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.s01e01.1080p.WEBDL.NewStudio.TV.mkv
org.serviio.db.dao.PersistenceException: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.s01e01.1080p.WEBDL.NewStudio.TV.mkv
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:89)
   at org.serviio.library.dao.MediaItemDAOImpl.isMediaItemPresent(MediaItemDAOImpl.java:61)
   at org.serviio.library.local.service.MediaService.isMediaPresentInLibrary(MediaService.java:43)
   at org.serviio.library.local.indexing.MediaFileIndexer.addNewMediaFile(MediaFileIndexer.java:71)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:49)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:81)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
2016-04-06 21:11:01,036 WARN  [MediaFileIndexer] Cannot add file Battle.Creek.S01E02.1080p.rus.LostFilm.TV.mkv because of an unexpected error. Message: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E02.1080p.rus.LostFilm.TV.mkv
org.serviio.db.dao.PersistenceException: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E02.1080p.rus.LostFilm.TV.mkv
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:89)
   at org.serviio.library.dao.MediaItemDAOImpl.isMediaItemPresent(MediaItemDAOImpl.java:61)
   at org.serviio.library.local.service.MediaService.isMediaPresentInLibrary(MediaService.java:43)
   at org.serviio.library.local.indexing.MediaFileIndexer.addNewMediaFile(MediaFileIndexer.java:71)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:49)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:81)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
2016-04-06 21:11:01,080 WARN  [MediaFileIndexer] Cannot add file Battle.Creek.S01E03.1080p.rus.LostFilm.TV.mkv because of an unexpected error. Message: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E03.1080p.rus.LostFilm.TV.mkv
org.serviio.db.dao.PersistenceException: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E03.1080p.rus.LostFilm.TV.mkv
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:89)
   at org.serviio.library.dao.MediaItemDAOImpl.isMediaItemPresent(MediaItemDAOImpl.java:61)
   at org.serviio.library.local.service.MediaService.isMediaPresentInLibrary(MediaService.java:43)
   at org.serviio.library.local.indexing.MediaFileIndexer.addNewMediaFile(MediaFileIndexer.java:71)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:49)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:81)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
2016-04-06 21:11:01,096 WARN  [MediaFileIndexer] Cannot add file Battle.Creek.S01E04.1080p.rus.LostFilm.TV.mkv because of an unexpected error. Message: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E04.1080p.rus.LostFilm.TV.mkv
org.serviio.db.dao.PersistenceException: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E04.1080p.rus.LostFilm.TV.mkv
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:89)
   at org.serviio.library.dao.MediaItemDAOImpl.isMediaItemPresent(MediaItemDAOImpl.java:61)
   at org.serviio.library.local.service.MediaService.isMediaPresentInLibrary(MediaService.java:43)
   at org.serviio.library.local.indexing.MediaFileIndexer.addNewMediaFile(MediaFileIndexer.java:71)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:49)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:81)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
2016-04-06 21:11:01,117 WARN  [MediaFileIndexer] Cannot add file Battle.Creek.S01E05.1080p.rus.LostFilm.TV.mkv because of an unexpected error. Message: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E05.1080p.rus.LostFilm.TV.mkv
org.serviio.db.dao.PersistenceException: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E05.1080p.rus.LostFilm.TV.mkv
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:89)
   at org.serviio.library.dao.MediaItemDAOImpl.isMediaItemPresent(MediaItemDAOImpl.java:61)
   at org.serviio.library.local.service.MediaService.isMediaPresentInLibrary(MediaService.java:43)
   at org.serviio.library.local.indexing.MediaFileIndexer.addNewMediaFile(MediaFileIndexer.java:71)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:49)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:81)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
2016-04-06 21:11:01,148 WARN  [MediaFileIndexer] Cannot add file Battle.Creek.S01E06.1080p.rus.LostFilm.TV.mkv because of an unexpected error. Message: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E06.1080p.rus.LostFilm.TV.mkv
org.serviio.db.dao.PersistenceException: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E06.1080p.rus.LostFilm.TV.mkv
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:89)
   at org.serviio.library.dao.MediaItemDAOImpl.isMediaItemPresent(MediaItemDAOImpl.java:61)
   at org.serviio.library.local.service.MediaService.isMediaPresentInLibrary(MediaService.java:43)
   at org.serviio.library.local.indexing.MediaFileIndexer.addNewMediaFile(MediaFileIndexer.java:71)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:49)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:81)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
2016-04-06 21:11:01,169 WARN  [MediaFileIndexer] Cannot add file Battle.Creek.S01E07.1080p.rus.LostFilm.TV.mkv because of an unexpected error. Message: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E07.1080p.rus.LostFilm.TV.mkv
org.serviio.db.dao.PersistenceException: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E07.1080p.rus.LostFilm.TV.mkv
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:89)
   at org.serviio.library.dao.MediaItemDAOImpl.isMediaItemPresent(MediaItemDAOImpl.java:61)
   at org.serviio.library.local.service.MediaService.isMediaPresentInLibrary(MediaService.java:43)
   at org.serviio.library.local.indexing.MediaFileIndexer.addNewMediaFile(MediaFileIndexer.java:71)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:49)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:81)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
2016-04-06 21:11:01,191 WARN  [MediaFileIndexer] Cannot add file Battle.Creek.S01E09.1080p.rus.LostFilm.TV.mkv because of an unexpected error. Message: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E09.1080p.rus.LostFilm.TV.mkv
org.serviio.db.dao.PersistenceException: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E09.1080p.rus.LostFilm.TV.mkv
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:89)
   at org.serviio.library.dao.MediaItemDAOImpl.isMediaItemPresent(MediaItemDAOImpl.java:61)
   at org.serviio.library.local.service.MediaService.isMediaPresentInLibrary(MediaService.java:43)
   at org.serviio.library.local.indexing.MediaFileIndexer.addNewMediaFile(MediaFileIndexer.java:71)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:49)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItem(MediaItemDAOImpl.java:81)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
Exception in thread "Thread-89" java.lang.ArrayIndexOutOfBoundsException: 0
   at sun.nio.cs.UTF_8$Encoder.encode(UTF_8.java:716)
   at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:304)
   at java.lang.StringCoding.encode(StringCoding.java:344)
   at java.lang.String.getBytes(String.java:918)
   at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
   at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242)
   at java.io.File.isHidden(File.java:911)
   at org.serviio.library.local.indexing.LibraryHelper.fileIsVisible(LibraryHelper.java:60)
   at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileAdded(DefaultLibraryMonitor.java:48)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:174)
   at java.util.Optional.ifPresent(Optional.java:159)
   at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
   at java.lang.Thread.run(Thread.java:745)
2016-04-06 21:11:02,063 WARN  [LibraryOneTimeScanner] An error occured while scanning for items to be removed or updated, will continue
org.serviio.db.dao.PersistenceException: Cannot read MediaItems for Repository with id = 1
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItemsInRepository(MediaItemDAOImpl.java:197)
   at org.serviio.library.local.service.MediaService.getMediaItemsInRepository(MediaService.java:83)
   at org.serviio.library.local.indexing.LibraryOneTimeScanner.searchForRemovedAndUpdatedFiles(LibraryOneTimeScanner.java:228)
   at org.serviio.library.local.indexing.LibraryOneTimeScanner.searchForUpdatesAndRemovals(LibraryOneTimeScanner.java:133)
   at org.serviio.library.local.indexing.LibraryOneTimeScanner.scanLibrary(LibraryOneTimeScanner.java:82)
   at org.serviio.library.local.indexing.LocalLibraryManager.performManualScan(LocalLibraryManager.java:186)
   at org.serviio.library.local.indexing.LocalLibraryManager.startLibraryScanning(LocalLibraryManager.java:117)
   at org.serviio.ui.resources.server.RepositoryServerResource.lambda$save$87(RepositoryServerResource.java:119)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getMediaItemsInRepository(MediaItemDAOImpl.java:190)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
2016-04-06 21:11:02,077 WARN  [LibraryOneTimeScanner] An error occured while updating metadata, will continue
org.serviio.db.dao.PersistenceException: Cannot read dirty MediaItems for Repository with id = 1
   at org.serviio.library.dao.MediaItemDAOImpl.getDirtyMediaItemsInRepository(MediaItemDAOImpl.java:324)
   at org.serviio.library.local.service.MediaService.getDirtyMediaItemsInRepository(MediaService.java:91)
   at org.serviio.library.local.indexing.LibraryOneTimeScanner.updateMetadata(LibraryOneTimeScanner.java:272)
   at org.serviio.library.local.indexing.LibraryOneTimeScanner.searchForUpdatesAndRemovals(LibraryOneTimeScanner.java:146)
   at org.serviio.library.local.indexing.LibraryOneTimeScanner.scanLibrary(LibraryOneTimeScanner.java:82)
   at org.serviio.library.local.indexing.LocalLibraryManager.performManualScan(LocalLibraryManager.java:186)
   at org.serviio.library.local.indexing.LocalLibraryManager.startLibraryScanning(LocalLibraryManager.java:117)
   at org.serviio.ui.resources.server.RepositoryServerResource.lambda$save$87(RepositoryServerResource.java:119)
   at java.lang.Thread.run(Thread.java:745)
Caused by: java.sql.SQLSyntaxErrorException: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement.<init>(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedPreparedStatement42.<init>(Unknown Source)
   at org.apache.derby.jdbc.Driver42.newEmbedPreparedStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source)
   at org.serviio.library.dao.MediaItemDAOImpl.getDirtyMediaItemsInRepository(MediaItemDAOImpl.java:317)
   ... 8 more
Caused by: ERROR 42X05: Table/View 'MEDIA_ITEM' does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source)
   at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Source)
   at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source)
   at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source)
   at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(Unknown Source)
   ... 14 more
2016-04-06 21:11:03,708 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:11:08,704 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:11:13,704 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:11:18,705 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:11:23,702 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:11:48,707 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:11:53,706 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:11:53,852 INFO  [WebServer] WebServer shutting down
2016-04-06 21:11:53,853 INFO  [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2016-04-06 21:11:53,853 INFO  [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2016-04-06 21:11:53,853 INFO  [EventDispatcher] Leaving EventDispatcher
2016-04-06 21:11:53,854 INFO  [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2016-04-06 21:11:53,878 INFO  [WebServer] WebServer starting on port 8895
2016-04-06 21:11:53,879 INFO  [Device] Updated bound IP address of Device with UUID: 32f0d5f5-050c-3e1b-a6ce-bd888c0aeeee, bound address: 192.168.50.6
2016-04-06 21:11:53,899 INFO  [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface bond0 (bond0) and address 192.168.50.6, timeout = 0
2016-04-06 21:11:53,932 INFO  [RendererSearchSender] Searching for Renderer devices
2016-04-06 21:11:53,928 INFO  [EventDispatcher] Starting EventDispatcher
2016-04-06 21:11:53,932 INFO  [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2016-04-06 21:11:53,935 INFO  [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2016-04-06 21:11:55,208 INFO  [RendererExpirationChecker] Leaving RendererExpirationChecker
2016-04-06 21:11:58,716 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:00,790 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:06,430 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:11,430 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:16,430 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:21,434 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:26,430 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:31,432 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:36,433 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:41,434 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:46,433 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:12:51,432 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
2016-04-06 21:13:25,247 WARN  [ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Apr 06, 2016 6:22 pm

Re: Can't install Serviio 1.6 on Synology DSM 6.0

Looks like the database was not created. Perhaps no write access to Serviio or Serviio/library
<<

gcetera

Serviio newbie

Posts: 4

Joined: Wed Apr 06, 2016 5:50 pm

Post Wed Apr 06, 2016 6:33 pm

Re: Can't install Serviio 1.6 on Synology DSM 6.0

database created successful.
now serviio can't add video files to Library.

[ServiioStatusService] PersistenceException occured. Returning error code 500 to the REST layer. Message: Cannot get counts of media items by type

WARN [MediaFileIndexer] Cannot add file Battle.Creek.S01E09.1080p.rus.LostFilm.TV.mkv because of an unexpected error. Message: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E09.1080p.rus.LostFilm.TV.mkv
org.serviio.db.dao.PersistenceException: Cannot find media item by file path: /volume1/Storage/Video/Battle.Creek/Battle.Creek.S01E09.1080p.rus.LostFilm.TV.mkv

This is same problem with permission on folder Serviio/library ?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Apr 06, 2016 9:09 pm

Re: Can't install Serviio 1.6 on Synology DSM 6.0

yes, the database is corrupted.
<<

gcetera

Serviio newbie

Posts: 4

Joined: Wed Apr 06, 2016 5:50 pm

Post Mon Apr 25, 2016 8:49 pm

Re: Can't install Serviio 1.6 on Synology DSM 6.0

Guys, help me to restore permissions.
Reinstall java, serviio dont help my (
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Tue Apr 26, 2016 5:30 pm

Re: Can't install Serviio 1.6 on Synology DSM 6.0

I don't have this issue. I used Serviio on all the DSM 6.0 Beta versions, and I'm now on DSM 6.0 release. Which model NAS, and which Java are you using?
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 5 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.