Page 1 of 2
Serviio server stops automatically on Synology DS214play

Posted:
Fri Feb 28, 2014 8:36 pm
by cccchris
Hi all,
I bought a Synology DS214play a while ago and I'm very happy with it. Though there is one problem I can't fix, and that is the fact that if I try to start Serviio, it will run for a while (about 1 minute) and then the server will switch off/stop. This also means that I can't start Serviio-console on my laptop, because it will give me the message: Cannot connect to Serviio server, it does not seem to be running. Exiting...
Please let me know if anyone can help me out with this weird issue..
Cheers, Chris
Re: Serviio server stops automatically on Synology DS214play

Posted:
Sat Mar 01, 2014 11:46 am
by cccchris
I also already tried to re-install JAVA on my DiskStation and updated it to the latest version, but stil the same problem occurs...
Can anyone please help me out...?
Re: Serviio server stops automatically on Synology DS214play

Posted:
Sat Mar 01, 2014 1:19 pm
by DenyAll
Turn on
detailed logging and restart Serviio. Post the log file, hopefully it will shed some light on why it's failing.
Re: Serviio server stops automatically on Synology DS214play

Posted:
Sun Mar 02, 2014 4:24 pm
by cccchris
Hey!
Thanks a lot for replying, I really appreciate it.
Because I have no idea on how to find/create a
detailed log file on the Serviio that's running on Synology, I made a screenshot of the log-file through DSM. I've added it to this post.
I did however found out how to make a detailed log file of the app Serviio-Console on my mac. Please see this one attached as well.
I hope this helps you helping me

Cheers,
Chris
Re: Serviio server stops automatically on Synology DS214play

Posted:
Sun Mar 02, 2014 5:51 pm
by Iveky
viewtopic.php?f=5&t=7click on that link and read it.
Re: Serviio server stops automatically on Synology DS214play

Posted:
Sun Mar 02, 2014 6:42 pm
by cccchris
Hi Iveky,
I've also added the
detailed log file, as an attachment to my previous post... This should be the correct one, right?
Please let me know if it is not correct.
Chris
Re: Serviio server stops automatically on Synology DS214play

Posted:
Mon Mar 03, 2014 12:33 am
by DenyAll
Serviio doesn't appear to be finding an IP address - try setting your IP address using the serviio.boundAddr property (see
http://www.serviio.org/component/conten ... properties and
http://www.serviio.org/index.php?option ... e&id=21#q3).
Re: Serviio server stops automatically on Synology DS214play

Posted:
Mon Mar 03, 2014 5:28 pm
by cccchris
Thanks a lot!!!
I'll look into it right now, and let you know what the outcome will be
Chris
Re: Serviio server stops automatically on Synology DS214play

Posted:
Mon Mar 03, 2014 5:42 pm
by cccchris
Heey,
Unfortunately it still didn't work...

((
I think the problem lies with the Serviio version that is installed on the Synology NAS DS214+. Because every time I try to restart that, it runs for a couple of seconds and then the server stops again, exactly like the first screenshot... Maybe I should update/change any files in there?
I'm looking forward to your ideas

Chris
Re: Serviio server stops automatically on Synology DS214play

Posted:
Mon Mar 03, 2014 11:53 pm
by DenyAll
Have you told your Serviio Console the IP address of your NAS Server? You need to set the serviio.remoteHost property in ServiioConsole.exe.vmoptions.
I think we really need to see the Serviio log rather than the serviio console log. You need to telnet into your NAS and set
detailed logging on, start the servio server and then download the resultant log. if you have trouble with it, search the forum, I recall seeing detailed instructions for this.
Did you install patters distribution (
viewtopic.php?f=14&t=3311)? Have a read through that topic for any hints.
Re: Serviio server stops automatically on Synology DS214play

Posted:
Tue Mar 04, 2014 8:48 pm
by cccchris
Ok, I think I did the impossible

I've spent the whole evening figuring out on how to get to the log file of Serviio on my Synology, through terminals and SSH clients, but I managed! So that is already a small victory, haha

Anyways, I've added the log-file to this post. I hope this gives you a better insight in what's going wrong and better, how to fix it

Thanks as always!
Chris
Re: Serviio server stops automatically on Synology DS214play

Posted:
Tue Mar 04, 2014 8:59 pm
by Iveky
- Code:
014-03-04 21:44:49,124 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2014-03-04 21:44:49,134 DEBUG [ProfilesDefinitionParser] Parsing profile definition for profile 1
2014-03-04 21:44:49,258 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: replacement
java.lang.NullPointerException: replacement
at java.util.regex.Matcher.replaceFirst(Matcher.java:857)
at java.lang.String.replaceFirst(String.java:2146)
at org.serviio.profile.ProfilesDefinitionParser.getDeviceDescription(ProfilesDefinitionParser.java:378)
at org.serviio.profile.ProfilesDefinitionParser.processProfileNode(ProfilesDefinitionParser.java:229)
at org.serviio.profile.ProfilesDefinitionParser.parseDefinition(ProfilesDefinitionParser.java:164)
at org.serviio.profile.ProfileManager.parseProfilesFromFile(ProfileManager.java:181)
at org.serviio.profile.ProfileManager.loadProfiles(ProfileManager.java:156)
at org.serviio.MediaServer.main(MediaServer.java:122)
Re: Serviio server stops automatically on Synology DS214play

Posted:
Tue Mar 04, 2014 10:44 pm
by DenyAll
This error is showing a problem with loading profiles. Profiles are located in a file called profiles.xml located in your serviio\config folder.
Did you modify this file? Try simply overwriting it with the original version, however if you haven't edited it, I suspect something may have gone wrong during installation and you will need to start again.
Re: Serviio server stops automatically on Synology DS214play

Posted:
Wed Mar 05, 2014 7:41 am
by Iveky
or disk read errors?
Sent from my LG-E440 using Tapatalk 2
Re: Serviio server stops automatically on Synology DS214play

Posted:
Wed Mar 05, 2014 9:48 am
by cccchris
Hi both,
I've already done a clean install of Serviio on my NAS multiple times. And every time it gives me the same problem... So I was wondering, if I uninstall and then install Serviio again on my NAS, will the profiles.xml file then automatically get reset as well? If this is not the case, where can I find a copy of the original file

?
Again, thanks a lot for your help, time and patience. I highly appreciate it

Cheers,
Chris
Re: Serviio server stops automatically on Synology DS214play

Posted:
Wed Mar 05, 2014 10:07 am
by DenyAll
If I uninstall and then install Serviio again on my NAS, will the profiles.xml file then automatically get reset as well?
Yes.
Re: Serviio server stops automatically on Synology DS214play

Posted:
Wed Mar 05, 2014 10:14 am
by DenyAll
One other thing - I notice you are using Java 6.0.45 whereas patters is using 7.0.45 in his package (from the screen shot). Are you using patters' package (from
http://pcloadletter.co.uk/2012/01/25/se ... o-package/)? If not, probably the path to go.
Re: Serviio server stops automatically on Synology DS214play

Posted:
Wed Mar 05, 2014 10:16 am
by cccchris
Ok, maybe this is something useful information:
When I do a clean install of Serviio on my mac, without updating any info.plist files, it will start up (only the console). The Serviio app will tell me after half a minute that the application is not responding.
I've also added a screenshot.
The problem though is that my Synology NAS is connected through 192.168.1.75, and that one isn't in the list of 'rendered profiles', as you can see on the screenshot...
I hope this helps some.
Thanks again, Chris
Re: Serviio server stops automatically on Synology DS214play

Posted:
Wed Mar 05, 2014 10:17 am
by cccchris
One other thing - I notice you are using Java 6.0.45 whereas patters is using 7.0.45 in his package (from the screen shot). Are you using patters' package (from
http://pcloadletter.co.uk/2012/01/25/se ... o-package/)? If not, probably the path to go.
I will check that out right now!
Chris
Re: Serviio server stops automatically on Synology DS214play

Posted:
Wed Mar 05, 2014 10:40 am
by cccchris
Ahhhh shit!!
I really thought this would do the trick, but it still doesn't work... I have made a new
detailed log file, because i believe i got a different error now. I've added it to this reply. Please take a look

Cheers,
Chris