Forums

Resolved
0 votes
Hi,
Serviio 1.6 is now available in repo clearos-contribs-testing for those who would like to take it for a test run. Please report back here what you experiences are.

To install:
yum install --enablerepo=clearos-contribs-testing app-serviio
New: - All features that comes with Serviio 1.6 Serviio 1.6 Release Notes
- The old WebUI is obsoleted by the native Serviio Management Console (see attached picture)

/Fred
Attachments:
Saturday, January 23 2016, 06:37 PM
Share this post:
Responses (7)
  • Accepted Answer

    Monday, April 04 2016, 09:56 PM - #Permalink
    Resolved
    0 votes
    No thats ok I understand how valuable time is for folks. I was thinking it was a simple process or that you may have already compiled on a 6xx version of COS. Im good with this version I guess. COS 7 hasnt worked very good for me the last two times I installed it so I converted everything back to 6.6 and then upgrade to 6.7 came out. Soon I may try to install 7xx again. Kind of a big process when theres no upgrade from 6
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 04 2016, 08:28 PM - #Permalink
    Resolved
    0 votes
    Jeff,
    Unless you would like to compile yourself, I guess you need to persuade me ;)

    Seriously, I have been working hard to get new versions of FFmpeg, x264, x265, serviio and its related "ClearOS app" released for Clear7. There has been some change of guards and other stuff going on so the ClearOS team that actually accepts/release my contributions have been unable to do this for some time causing several months delay. Now that seems out of the way, but during this time I have sort of dropped my focus on Clear6 with the following reasoning:

    1. My time is limited
    2. Clear7 is what I run in my own environment (incl my development server) for more than 6 months and I think it runs very nice
    3. Serviio is an app that I guess is used in home environments with a higher probability of users upgrading to Clear7 quickly than enterprise customers
    4. The release procedure for Clear6 is different from Clear7 (this could have changed by now, but needs to be sorted out in such case) which means that I will need to interact even more with the ClearOS team for anything to be released
    5. Nobody have asked for it until now
    6. The old version of Serviio still works (but with less features and some more bugs than the newest version)
    7. The x264, x265 and FFmpeg packages have not been updated in Clear6 (for the same reasons). I guess Serviio 1.6 (or 1.6.1) could work with the old versions too, but I need to check that first in such case.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 04 2016, 05:59 PM - #Permalink
    Resolved
    0 votes
    Fredrick. How can we get this newest version installed on cos 6.7?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 23 2016, 12:03 AM - #Permalink
    Resolved
    0 votes
    Fred,
    Thanks for the help.
    As it turns out, I didn't get a chance to look at this for a while, and as it was a new server install, I had no reason to keep it, so I just reinstalled from scratch and everything works fine now.
    I've no idea what the problem was, I tried your suggestions, but no joy, so it was probably something stupid I did.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 10 2016, 08:38 AM - #Permalink
    Resolved
    1 votes
    Youngone,
    It looks like your serviio installation is broken. Not sure what it could be, but it is the Derby part that have problem with the database file in /usr/share/serviio/library/db/ . Possible it is a problem with access rights.

    Have you changed ownership or access restrictions of folders/files on your system? All folders/files under /usr/share/serviio should have "serviio" as owner.
    Have you deleted any files under /usr/share/serviio/... ?

    If "serviio" is not the owner of all folders and files under /usr/share/serviio then you could try this from the command prompt:
    chown serviio -R /usr/share/serviio


    If that does not help, try to uninstall serviio and install again:
    yum erase serviio
    yum install app-serviio
    Note that while you erase "serviio" you must install using "app-serviio" to get all packages back.

    If this does not help, then I would suspect that something is bad with the Java installation.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 10 2016, 07:23 AM - #Permalink
    Resolved
    0 votes
    Hi Fredrik, thanks for your work on this.
    I have a fresh install of ClearOS 7.2, standalone server no firewall.
    When I click on Serviio start, it begins to start, then goes back to a stopped state.
    From the log:
    2016-03-10 20:14:38,607 INFO [MediaServer] ------------------------------------------------------------------------
    2016-03-10 20:14:38,614 INFO [MediaServer] Serviio DLNA media streaming server v 1.6 (rev. 9a1458ed77db)
    2016-03-10 20:14:38,614 INFO [MediaServer] Petr Nejedly 2009-2015
    2016-03-10 20:14:38,614 INFO [MediaServer] http://www.serviio.org
    2016-03-10 20:14:38,614 INFO [MediaServer]
    2016-03-10 20:14:38,615 INFO [MediaServer] Java 1.8.0_71-Oracle Corporation amd64
    2016-03-10 20:14:38,615 INFO [MediaServer] OS Linux 3.10.0-327.10.1.v7.x86_64
    2016-03-10 20:14:38,615 INFO [MediaServer] File encoding: UTF-8
    2016-03-10 20:14:38,851 INFO [MediaServer] Headless mode enabled: true
    2016-03-10 20:14:38,851 INFO [MediaServer] User: serviio
    2016-03-10 20:14:38,851 INFO [MediaServer] User home dir: /usr/share/serviio
    2016-03-10 20:14:38,851 INFO [MediaServer] Temp dir: /tmp
    2016-03-10 20:14:38,851 INFO [MediaServer] ------------------------------------------------------------------------
    2016-03-10 20:14:39,649 INFO [WebServer] Socket buffer set to 65535 bytes
    2016-03-10 20:14:39,649 INFO [RestletServer] Starting Restlet server (/console) exposed on port 23423
    2016-03-10 20:14:39,712 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
    2016-03-10 20:14:40,187 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
    2016-03-10 20:14:40,188 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
    2016-03-10 20:14:40,231 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
    2016-03-10 20:14:40,242 INFO [DatabaseManager] Using DERBY database language
    2016-03-10 20:14:41,318 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 XBM0A: The database directory '/usr/share/serviio/library/db' exists. However, it does not contain the ...
    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.services.monitor.StorageFactoryService.vetService(Unknown Source)
    at org.apache.derby.impl.services.monitor.StorageFactoryService.access$900(Unknown Source)
    at org.apache.derby.impl.services.monitor.StorageFactoryService$10.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(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
    2016-03-10 20:14:43,323 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)

    I have a pfSense firewall as the gateway, but I'm pretty sure I've set that up right.
    Any help would be great.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, March 05 2016, 12:18 PM - #Permalink
    Resolved
    0 votes
    Serviio 1.6 has now been released in ClearOS 7 Community. If your system has automatic updates turned on it should have been updated last night (if you already had an older version of Serviio installed).

    Please note that since this was a major update (and with FFmpeg getting updated at the same time) you may have to restart the Serviio server to get everything to work as it should.

    Also, as stated in my original post: Please note that Serviio now has got a completely new web console for administration. Additionally, as you can see in the new instructions on the ClearOS control panel for Serviio that the serviio log file is now to be found under the normal ClearOS log viewer app.

    /Fred
    The reply is currently minimized Show
Your Reply