Page 1 of 1

Shared folders not saved in Web GUI

PostPosted: Sun Sep 11, 2011 5:37 pm
by matten
Hello!

I am using servo 0.52 on a Synology 1010+ NAS. After walking through the huge install description (for serviio on Synology) I was able to start the server. But I am facing a few problems:

When I try to add a media path I am getting a "cannot put repository" error. When I try to change the profile of the TV then I get a "cannot put status" error. I am using JAVA 1.6. Any suggestions???

Matthias

Re: Shared folders not saved in Web GUI

PostPosted: Sun Sep 11, 2011 6:17 pm
by Cerberus
matten wrote:Hello!

I am using servo 0.52 on a Synology 1010+ NAS. After walking through the huge install description (for serviio on Synology) I was able to start the server. But I am facing a few problems:

When I try to add a media path I am getting a "cannot put repository" error. When I try to change the profile of the TV then I get a "cannot put status" error. I am using JAVA 1.6. Any suggestions???

Matthias


permissions error - check webui has permission to library folder

Re: Shared folders not saved in Web GUI

PostPosted: Sun Sep 11, 2011 7:45 pm
by zip
I dont think so. Its complaining it cannot call PUT http method on the server, so i think the connection is broken. Make sure server is running and it starts the REST interdace on the expected ip address (check the log)

Re: Shared folders not saved in Web GUI

PostPosted: Mon Sep 12, 2011 10:48 am
by matten
I changed the permissions to ugo=rwx in /lib/ but still the same.

Re: Shared folders not saved in Web GUI

PostPosted: Mon Sep 12, 2011 10:50 am
by zip
did you check serviio.log to see what IP the Restful API is running on?

Re: Shared folders not saved in Web GUI

PostPosted: Mon Sep 12, 2011 11:00 am
by matten
2011-09-12 11:55:16,798 ERROR [ApplicationInstanceManager] Error connecting to local port for single instance notification
2011-09-12 11:55:16,802 ERROR [ApplicationInstanceManager] No route to host
java.net.NoRouteToHostException: No route to host
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at org.serviio.ApplicationInstanceManager.registerInstance(ApplicationInstanceManager.java:105)
at org.serviio.MediaServer.checkForRunningInstances(MediaServer.java:230)
at org.serviio.MediaServer.main(MediaServer.java:89)
2011-09-12 11:55:16,820 INFO [MediaServer] ------------------------------------------------------------------------
2011-09-12 11:55:16,820 INFO [MediaServer] Serviio DLNA media streaming server v 0.5.2 (rev. 4e3210bd9ff3)
2011-09-12 11:55:16,821 INFO [MediaServer] Petr Nejedly 2009-2011
2011-09-12 11:55:16,821 INFO [MediaServer] http://www.serviio.org
2011-09-12 11:55:16,821 INFO [MediaServer]
2011-09-12 11:55:16,821 INFO [MediaServer] Java 1.6.0_21-ea-Sun Microsystems Inc.
2011-09-12 11:55:16,822 INFO [MediaServer] OS Linux amd64 2.6.32.12
2011-09-12 11:55:16,822 INFO [MediaServer] File encoding: US-ASCII
2011-09-12 11:55:16,822 INFO [MediaServer] ------------------------------------------------------------------------
2011-09-12 11:55:17,166 INFO [RestletServer] Starting Restlet server exposed on localhost:23423

This is what I get..

Re: Shared folders not saved in Web GUI

PostPosted: Mon Sep 12, 2011 11:04 am
by matten
I noticed that "/opt/etc/init.d/S99serviio.sh stop" does not stop java and serviio:

19086 serviio 2532 S -sh -c /opt/serviio/bin/serviio.sh
19089 serviio 2532 S /bin/sh /opt/serviio/bin/serviio.sh
19094 serviio 589m S /opt/java/jre1.6.0_21/bin/java -Xmx384M -Djava.net.preferIPv4Stack=true -Dderby.system.home=/opt/serviio/library -Dserviio.home=/opt/serviio -classpath /opt/serviio/lib/serviio.jar:/opt/serviio/lib/derby.jar
19095 serviio 589m S /opt/java/jre1.6.0_21/bin/java -Xmx384M -Djava.net.preferIPv4Stack=true -Dderby.system.home=/opt/serviio/library -Dserviio.home=/opt/serviio -classpath /opt/serviio/lib/serviio.jar:/opt/serviio/lib/derby.jar
19096 serviio 589m S /opt/java/jre1.6.0_21/bin/java -Xmx384M -Djava.net.preferIPv4Stack=true -Dderby.system.home=/opt/serviio/library -Dserviio.home=/opt/serviio -classpath /opt/serviio/lib/serviio.jar:/opt/serviio/lib/derby.jar
19097 serviio 589m S /opt/java/jre1.6.0_21/bin/java -Xmx384M -Djava.net.preferIPv4Stack=true -Dderby.system.home=/opt/serviio/library -Dserviio.home=/opt/serviio -classpath /opt/serviio/lib/serviio.jar:/opt/serviio/lib/derby.jar
19098 serviio 589m S /opt/java/jre1.6.0_21/bin/java -Xmx384M -Dja........

Re: Shared folders not saved in Web GUI

PostPosted: Mon Sep 12, 2011 11:08 am
by zip
so it's bound to localhost. I'm not sure how the ui is set up, but if it's running on the same machine it should be ok, unless your 'localhost' is not properly defined. I'd ask at the NAS forum or patters as it's probably your NAS/Serviio setup problem.

Re: Shared folders not saved in Web GUI

PostPosted: Mon Sep 12, 2011 11:14 am
by matten
Ok thanks. But any suggestions why the server is not stopping when using "/opt/serviio/bin/serviio.sh stop"?

Re: Shared folders not saved in Web GUI

PostPosted: Mon Sep 12, 2011 11:45 am
by zip
you have to use -stop

Re: Shared folders not saved in Web GUI

PostPosted: Mon Sep 12, 2011 1:57 pm
by matten
Sorry, I used that one.. Anyways, I gave up for now. I found the project that offers a "native serviio package for Synology" which will be available as soon as you offer 0.6. So I will wait (hoping that 0.6 will be released soon).

Thanks for your help.

Re: Shared folders not saved in Web GUI

PostPosted: Tue Sep 13, 2011 1:42 am
by Cerberus
matten wrote:Sorry, I used that one.. Anyways, I gave up for now. I found the project that offers a "native serviio package for Synology" which will be available as soon as you offer 0.6. So I will wait (hoping that 0.6 will be released soon).

Thanks for your help.


yep its made by our moderator Patters :)