FAQ  •  Register  •  Login

PACKAGE: Serviio 2.1 - Synology NAS, with HW transcoding!

<<

Meelis

User avatar

DLNA master

Posts: 115

Joined: Mon Aug 13, 2012 6:00 pm

Location: Estonia

Post Wed Jan 30, 2019 10:43 pm

Re: PACKAGE: Serviio 1.9.2 - Synology NAS, with HW transcodi

mimis wrote:
atc98092 wrote:I'm uncertain where the Serviio logs might be on a NAS, but on computer installs it's in the Serviio install path, in the /log folder. You'll need to be able to browse your file structure on your NAS to find it, and I can't tell you how to do that.

That's really unfortunate. I tried searching for "serviio" but got zero results. This was my last resort, I will not be able to run it after all.

Anyway, thanks a lot for your time.



Hello mimis and sorry for late reply.


I tried to make a guide how you can see or find log files on NAS.

1. For first you need program called WinSCP https://winscp.net/eng/download.php And install it. (its a small client program)
2. Go to NAS and enable SSH service. (see pic 1)
3. Set up connection and connect. (see pic 2)
4. See log files. (see pic 3)
Attachments
1.png
pic 1
1.png (99.18 KiB) Viewed 34750 times
2.png
pic 2
2.png (77.9 KiB) Viewed 34750 times
3.png
pic 3
3.png (114.39 KiB) Viewed 34750 times
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Apr 17, 2019 1:29 am

Re: PACKAGE: Serviio 1.10.1 - Synology NAS, with HW transcod

Hi all - I have updated the Serviio package to 1.10.1, and added support for the new DS119j model.

Unfortunately Synology decided to remove the ability to view package log files via the DSM 6.2 GUI and they've provided no information in the Developer Guide on how to integrate with the new Log Center apps. I lack the motivation to reverse engineer the stuff they invariably smash up with each DSM release, so unfortunately troubleshooting Serviio does now require some familiarity with SSH or SCP, as atc98092 and Meelis have explained above.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

HSH

Serviio newbie

Posts: 8

Joined: Fri Mar 20, 2015 3:08 pm

Post Wed Apr 17, 2019 1:17 pm

Re: PACKAGE: Serviio 1.10.1 - Synology NAS, with HW transcod

but is hw transcoding supported on models like ds918+ ?
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Apr 17, 2019 6:40 pm

Re: PACKAGE: Serviio 1.10.1 - Synology NAS, with HW transcod

I'm afraid not. The technical reasons why not are already explained here near the bottom of the page in the section titled "Hardware transcoding support".
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

Meelis

User avatar

DLNA master

Posts: 115

Joined: Mon Aug 13, 2012 6:00 pm

Location: Estonia

Post Thu Apr 18, 2019 7:34 pm

Re: PACKAGE: Serviio 1.10.1 - Synology NAS, with HW transcod

After update i see some library's empty. But i can see the movies from these library's from web interface. :roll:
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Jun 05, 2019 12:39 pm

Re: PACKAGE: Serviio 2.0 - Synology NAS, with HW transcoding

I have updated the Synology package to Serviio 2.0. Be sure to clear your web browser cache following the upgrade or the Serviio Console will not render correctly (errors, and missing elements). This is not a Synology-specific issue, and has been reported on the main forum too.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

Epitaph

Serviio newbie

Posts: 6

Joined: Sun Dec 08, 2019 10:02 pm

Post Sun Dec 08, 2019 10:10 pm

Re: PACKAGE: Serviio 2.0 - Synology NAS, with HW transcoding

First, I would like to say thanks @patters for bringing Serviio to NAS. I have a new Synology DS218+ and serviio is installed and everything is working correctly but I have run in to one little hitch. It doesn't seem to update when new files are added. I have tried the poller system but that didn't make a difference. The only way I can get new files added is to Force Refresh. Is there something I am missing? I have been a pro user for a few years and never really had an issue with my windows installations. I recently moved to my new NAS to free up my PC and am enjoying it, save for this one hiccup. Thanks for any input.
<<

Meelis

User avatar

DLNA master

Posts: 115

Joined: Mon Aug 13, 2012 6:00 pm

Location: Estonia

Post Thu Dec 12, 2019 9:47 am

Re: PACKAGE: Serviio 2.0 - Synology NAS, with HW transcoding

Epitaph wrote:First, I would like to say thanks @patters for bringing Serviio to NAS. I have a new Synology DS218+ and serviio is installed and everything is working correctly but I have run in to one little hitch. It doesn't seem to update when new files are added. I have tried the poller system but that didn't make a difference. The only way I can get new files added is to Force Refresh. Is there something I am missing? I have been a pro user for a few years and never really had an issue with my windows installations. I recently moved to my new NAS to free up my PC and am enjoying it, save for this one hiccup. Thanks for any input.


Hi, I have same system up an a bit familiar that issue what you describe... But i havent payd much attention on that. Overall its working fine. As i rememmber i had something similar when i uploaded a lot of files to NAS. But if only 1-2 movies then no problem. Maybe was small delay...
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Sat Jan 11, 2020 2:15 pm

Re: PACKAGE: Serviio 2.0 - Synology NAS, with HW transcoding

Disclaimer: did not read all 18 pages of this thread.

I do have a question or recommendation:

Allow for a manual installation option. Why? Because right now it depends on getting a deployment package from your blog site. What happens if you win the lottery or get hit by a bus? There would be no way to be able to reinstall on a NAS as most likely your website would disappear.

Just the fact we have to put the embedded headless installer in a specific folder puts me in a place where I'd like to have all the files in a central location for me to add to my single/multiple NAS devices without requiring a single point website where it could disappear without notice.

I assume this can use the manual install option in the spk package yes?

Please consider this a request.

Thanks.
Chris
<<

sLiCeR

Serviio newbie

Posts: 8

Joined: Thu Jul 21, 2011 10:29 pm

Post Fri Apr 03, 2020 10:32 am

Re: PACKAGE: Serviio 2.0 - Synology NAS, with HW transcoding

Hi everyone,

I'm trying to install Serviio 2.0 into my Synology.
Correctly installed Java and Serviio

When starting up Serviio I get an exception related to derby db connection. Some help would be greatly appreciated!.
The exception:

2020-04-03 11:16:39,102 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:84)
at org.serviio.MediaServer.main(MediaServer.java:127)
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
2020-04-03 11:16:41,137 ERROR [MediaServer] An unexpected error occurred. 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:84)
at org.serviio.MediaServer.main(MediaServer.java:127)
An unexpected error occurred. Ending the application. Message: null. Check serviio.log for more details.


Thanks.
<<

jimmyad07

Serviio newbie

Posts: 1

Joined: Thu Aug 06, 2020 11:03 am

Post Thu Aug 06, 2020 11:06 am

Re: PACKAGE: Serviio 2.0 - Synology NAS, with HW transcoding

Hi,
I got a Synology DS211 since 4 year only for Serviio.
Since i've upgrade to Serviio 1.6, using the "ssh" method, the CPU load still above 90%, even if no content was played.
Transcoding option is Off in Serviio console.
When i check Ressources Monitor, the process named "ffmpeg" use always more than 65%, many time 99% of CPU.
The only thing that was not upgraded is Java, my version is : 1.8.0_65-0035.
There's a solution, or shuld i downgrade my Serviio version to 1.5
For Business travelers complete guide is available to avail Sri Lanka business visa
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Mon Dec 21, 2020 5:05 pm

Re: PACKAGE: Serviio 2.0 - Synology NAS, with HW transcoding

Any idea when you may release 2.1 version for Synlogy?

Thx.
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Tue Feb 23, 2021 11:54 pm

Re: PACKAGE: Serviio 2.0 - Synology NAS, with HW transcoding

It's done. Unfortunately I've found very little time for this between work, the pandemic, and parenting. One of the delays was I had to make sense of how I'd set up the repo hosting in AWS several years ago. When you don't look at something in that long you forget how you did it. It's complex because of the insane numbers of products which distinct model designations, and architectures.
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

Epitaph

Serviio newbie

Posts: 6

Joined: Sun Dec 08, 2019 10:02 pm

Post Wed Feb 24, 2021 12:13 am

Re: PACKAGE: Serviio 2.1 - Synology NAS, with HW transcoding

Thank you, sir!
<<

patters

User avatar

DLNA master

Posts: 1282

Joined: Sat Oct 09, 2010 3:51 pm

Location: London, UK

Post Wed Feb 24, 2021 12:19 am

Re: PACKAGE: Serviio 2.1 - Synology NAS, with HW transcoding

I also added support in for all the new models that have been released in the last couple of years since 2.0
LG OLED55B8PLA | PS4 Pro | Xbox One S | Synology DS214play
Serviio 2.1 package for Synology NAS - with limited hardware transcoding support!
<<

Epitaph

Serviio newbie

Posts: 6

Joined: Sun Dec 08, 2019 10:02 pm

Post Sun Sep 05, 2021 12:46 pm

Re: PACKAGE: Serviio 2.1 - Synology NAS, with HW transcoding

Has anyone upgraded to DSM 7.0? Will this break Serviio or is it safe to upgrade?
<<

atc98092

User avatar

DLNA master

Posts: 5202

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Sep 05, 2021 7:20 pm

Re: PACKAGE: Serviio 2.1 - Synology NAS, with HW transcoding

There are other threads that mention that 7.0 breaks Serviio.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

Meelis

User avatar

DLNA master

Posts: 115

Joined: Mon Aug 13, 2012 6:00 pm

Location: Estonia

Post Thu Sep 09, 2021 12:14 am

Re: PACKAGE: Serviio 2.1 - Synology NAS, with HW transcoding

Epitaph wrote:Has anyone upgraded to DSM 7.0? Will this break Serviio or is it safe to upgrade?


I didn't upgraded. I wait with that. I don't have any need for update actually.
Previous

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 10 guests

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