How to start Serviio 2.1 on QNAP after installing
The QNAP App center was able to install it, after I install JRE-8. The Serviio button/icon shows up on the QNAP desktop. When I click on it, the tab shows up in the browser, but when I go to the tab, the server can't be found: Could not connect to remote server. I even rebooted the NAS, no diff.
I then went into the installation location and tried starting it manually: ./serviio.sh start
Even though it said it was starting: Starting Serviio ... #
It didn't. There is a PID in the pid file, but there is no serviio running. Here is the debug log:
- Code:
2020-09-17 11:34:32,126 DEBUG [ApplicationInstanceManager] Listening for application instances on socket 44331
2020-09-17 11:34:32,131 INFO [MediaServer] ------------------------------------------------------------------------
2020-09-17 11:34:32,131 INFO [MediaServer] Serviio DLNA media streaming server v 2.1 (rev. 64e78caaeacb5eafe11b93197db80b99f812bfb8)
2020-09-17 11:34:32,131 INFO [MediaServer] Petr Nejedly 2009-2018
2020-09-17 11:34:32,131 INFO [MediaServer] http://www.serviio.org
2020-09-17 11:34:32,131 INFO [MediaServer]
2020-09-17 11:34:32,131 INFO [MediaServer] Java 1.8.0_144-Oracle Corporation i386
2020-09-17 11:34:32,131 INFO [MediaServer] OS Linux 3.19.8
2020-09-17 11:34:32,132 INFO [MediaServer] File encoding: UTF-8
2020-09-17 11:34:32,309 INFO [MediaServer] Headless mode enabled: true
2020-09-17 11:34:32,354 INFO [MediaServer] User: admin
2020-09-17 11:34:32,354 INFO [MediaServer] User home dir: /share/homes/admin
2020-09-17 11:34:32,354 INFO [MediaServer] Temp dir: /share/CACHEDEV1_DATA/.qpkg/Serviio/tmp
2020-09-17 11:34:32,354 INFO [MediaServer] ------------------------------------------------------------------------
2020-09-17 11:34:32,361 DEBUG [MediaServer] Runtime params: -Xmx512M, -Xms20M, -XX:+UseG1GC, -XX:GCTimeRatio=1, -XX:MinHeapFreeRatio=10, -XX:MaxHeapFreeRatio=20, -Djava.io.tmpdir=/share/CACHEDEV1_DATA/.qpkg/Serviio/tmp, -Djava.util.prefs.syncInterval=86400, -Djava.net.preferIPv4Stack=true, -Djava.awt.headless=true, -Dorg.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade, -Dffmpeg.location=/share/CACHEDEV1_DATA/.qpkg/Serviio/ffmpeg, -Ddcraw.location=/share/CACHEDEV1_DATA/.qpkg/Serviio/dcraw, -Dserviio.defaultTranscodeFolder=/share/CACHEDEV1_DATA/.qpkg/Serviio/tmp, -Dderby.system.home=/share/CACHEDEV1_DATA/.qpkg/Serviio/library, -Dserviio.home=/share/CACHEDEV1_DATA/.qpkg/Serviio, -Dplugins.check=false, -Dserviio.checkForUpdates=true
2020-09-17 11:34:32,384 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2020-09-17 11:34:32,412 DEBUG [DBLogDAOImpl] Checking if script 'script-0.1.sql' has been run
2020-09-17 11:34:32,417 INFO [DatabaseManager] Using DERBY database language
2020-09-17 11:34:34,545 DEBUG [DBLogDAOImpl] Checking if script 'script-0.1.1.sql' has been run
2020-09-17 11:34:34,547 DEBUG [DBLogDAOImpl] Checking if script 'script-0.2.sql' has been run
2020-09-17 11:34:34,548 DEBUG [DBLogDAOImpl] Checking if script 'script-0.3.1.sql' has been run
2020-09-17 11:34:34,550 DEBUG [DBLogDAOImpl] Checking if script 'script-0.4.sql' has been run
2020-09-17 11:34:34,552 DEBUG [DBLogDAOImpl] Checking if script 'script-0.4.1.sql' has been run
2020-09-17 11:34:34,553 DEBUG [DBLogDAOImpl] Checking if script 'script-0.4.2.sql' has been run
2020-09-17 11:34:34,555 DEBUG [DBLogDAOImpl] Checking if script 'script-0.5.sql' has been run
2020-09-17 11:34:34,556 DEBUG [DBLogDAOImpl] Checking if script 'script-0.5.1.sql' has been run
2020-09-17 11:34:34,558 DEBUG [DBLogDAOImpl] Checking if script 'script-0.6.sql' has been run
2020-09-17 11:34:34,559 DEBUG [DBLogDAOImpl] Checking if script 'script-0.6.1.sql' has been run
2020-09-17 11:34:34,561 DEBUG [DBLogDAOImpl] Checking if script 'script-0.6.2.sql' has been run
2020-09-17 11:34:34,562 DEBUG [DBLogDAOImpl] Checking if script 'script-1.0.sql' has been run
2020-09-17 11:34:34,564 DEBUG [DBLogDAOImpl] Checking if script 'script-1.1.sql' has been run
2020-09-17 11:34:34,565 DEBUG [DBLogDAOImpl] Checking if script 'script-1.2.sql' has been run
2020-09-17 11:34:34,567 DEBUG [DBLogDAOImpl] Checking if script 'script-1.2.1.sql' has been run
2020-09-17 11:34:34,574 DEBUG [DBLogDAOImpl] Checking if script 'script-1.3.sql' has been run
2020-09-17 11:34:34,576 DEBUG [DBLogDAOImpl] Checking if script 'script-1.4.sql' has been run
2020-09-17 11:34:34,577 DEBUG [DBLogDAOImpl] Checking if script 'script-1.5.sql' has been run
2020-09-17 11:34:34,579 DEBUG [DBLogDAOImpl] Checking if script 'script-1.6.sql' has been run
2020-09-17 11:34:34,580 DEBUG [DBLogDAOImpl] Checking if script 'script-1.7.sql' has been run
2020-09-17 11:34:34,582 DEBUG [DBLogDAOImpl] Checking if script 'script-1.8.sql' has been run
2020-09-17 11:34:34,583 DEBUG [DBLogDAOImpl] Checking if script 'script-1.9.sql' has been run
2020-09-17 11:34:34,585 DEBUG [DBLogDAOImpl] Checking if script 'script-2.0.sql' has been run
2020-09-17 11:34:34,833 INFO [WebServer] Socket buffer set to 65535 bytes
2020-09-17 11:34:34,834 INFO [RestletServer] Starting HTTP/1.1 Restlet server (/console) exposed on port 23423
2020-09-17 11:34:34,841 INFO [RestletServer] Starting HTTP/1.1 Restlet server (/rest) exposed on port 23423
2020-09-17 11:34:34,845 INFO [RestletServer] Starting HTTPS/1.1 Restlet server (/console) exposed on port 23523
2020-09-17 11:34:34,846 INFO [RestletServer] Starting HTTPS/1.1 Restlet server (/rest) exposed on port 23523
2020-09-17 11:34:35,721 INFO [RestletServer] Starting HTTP/1.1 Restlet server (/cds) exposed on port 23424
2020-09-17 11:34:35,722 INFO [RestletServer] Starting HTTP/1.1 Restlet server (/mediabrowser) exposed on port 23424
2020-09-17 11:34:35,724 INFO [RestletServer] Starting HTTPS/1.1 Restlet server (/cds) exposed on port 23524
2020-09-17 11:34:35,724 INFO [RestletServer] Starting HTTPS/1.1 Restlet server (/mediabrowser) exposed on port 23524
2020-09-17 11:34:35,812 DEBUG [LicensingManager] Updating license
2020-09-17 11:34:35,823 DEBUG [ConfigEntryDAOImpl] Reading all ConfigEntries
2020-09-17 11:34:35,841 DEBUG [LicenseValidator] Validating license file (341 bytes)
2020-09-17 11:34:36,131 INFO [MediaServer] ------------------------------------------------------------------------
2020-09-17 11:34:36,131 INFO [MediaServer] License: PRO (EVALUATION, id: 11111111-1111-1111-1111-111111111113)
2020-09-17 11:34:36,131 INFO [MediaServer] ------------------------------------------------------------------------
2020-09-17 11:34:36,139 DEBUG [LocalAddressResolverStrategy] Resolving host IP address automatically
2020-09-17 11:34:36,146 INFO [Device] Created UPnP Device with UUID: b633301f-9f64-3f66-940c-e91fe7955b1e, bound address: 192.168.1.41
2020-09-17 11:34:36,369 INFO [ProfileManager] Loading profiles from file /profiles.xml
2020-09-17 11:34:38,124 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2020-09-17 11:34:38,136 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 1
2020-09-17 11:34:38,263 INFO [CustomisationManager] No customisation properties found
2020-09-17 11:34:38,401 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2020-09-17 11:34:38,402 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 2
2020-09-17 11:34:38,429 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2020-09-17 11:34:38,429 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 3
2020-09-17 11:34:38,439 INFO [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2020-09-17 11:34:38,439 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 4
2020-09-17 11:34:38,441 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2020-09-17 11:34:38,441 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile ps4
2020-09-17 11:34:38,445 INFO [ProfilesDefinitionParser] Added profile 'Playstation 4' (id=ps4)
2020-09-17 11:34:38,445 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 5
2020-09-17 11:34:38,447 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2020-09-17 11:34:38,447 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 6
No indication in the log as to why the server isn't running.
I am not having much luck getting 2.1 to run under Linux or QNAP NAS.