FAQ  •  Register  •  Login

HOWTO: Serviio 1.1 on Zyxel NSA 325

<<

v2kisad

Serviio newbie

Posts: 8

Joined: Thu Aug 01, 2013 12:48 pm

Post Thu Aug 01, 2013 4:17 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

Thanks again. Let me go back and check.
<<

v2kisad

Serviio newbie

Posts: 8

Joined: Thu Aug 01, 2013 12:48 pm

Post Thu Aug 01, 2013 6:15 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

i'm not sure what i'm doing wrong. I edited both JAVA_OPTS=" and "$JAVA" -Xmx384M lines in /ffp/opt/serviio/bin/serviio.sh file as per the post . Now serviio doesnt start. I

admin@NAS325:/ffp/start$ java -version
java version "1.7.0_21"
Java(TM) SE Embedded Runtime Environment (build 1.7.0_21-b11, headless)
Java HotSpot(TM) Embedded Client VM (build 23.21-b01, mixed mode)
admin@NAS325:/ffp/start$ sh /ffp/start/serviiod.sh start
Starting Serviio
/ffp/start/serviiod.sh: line 20: start-stop-daemon: command not found
Failed
<<

JamesUK

Streaming enthusiast

Posts: 28

Joined: Wed Jul 31, 2013 1:38 pm

Post Thu Aug 01, 2013 6:35 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

I see that you're logged in as "admin" not "root" - Perhaps that's why?
<<

v2kisad

Serviio newbie

Posts: 8

Joined: Thu Aug 01, 2013 12:48 pm

Post Thu Aug 01, 2013 6:44 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

thats a hatrick of help from you james, thanks a ton. Its okay now. Trying to get the console to work now. Hope it goes well without any hiccups.

root@NSA325:/ffp/opt/serviio/bin# ps -ef | grep serviio
root 4562 1 0 11:32 ? 00:00:00 /bin/sh /ffp/opt/serviio/bin/serviio.sh
root 4567 4562 9 11:32 ? 00:00:20 /ffp/opt/java/jre/bin/java -Xmx384M -Xms20M -XX:+UseParNewGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=/ffp/opt/serviio/library -Dserviio.fixedPointEncoders -Dserviio.defaultTranscodeFolder=/ffp/tmp -Dserviio.home=/ffp/opt/serviio -classpath /ffp/opt/serviio/lib/*:/ffp/opt/serviio/config org.serviio.MediaServer
root@NSA325:/ffp/opt/serviio/bin#
<<

v2kisad

Serviio newbie

Posts: 8

Joined: Thu Aug 01, 2013 12:48 pm

Post Thu Aug 01, 2013 7:16 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

Ok it didnt go well. Got another error when i tried to open serviio console on my windows 7 laptop.

cannot connect to Serviio server,it does not seem to be running.Exiting...

I have added the below lines to the file ServiioConsole.exe.vmoptions on my windows machine
serviio.remoteHost (I entered the NSA325's IP here)
serviio.consoleOpen
<<

JamesUK

Streaming enthusiast

Posts: 28

Joined: Wed Jul 31, 2013 1:38 pm

Post Thu Aug 01, 2013 7:27 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

For Windows, all you should need in ServiioConsole.exe.vmoptions is:

  Code:
-Dserviio.remoteHost=<IP Address>


Where "<IP Address>" is the IP address of the NSA325.

Note: Personally, I actually used the hostname, as my DHCP server (router) doesn't always assign the NSA325 the same IP address.
<<

v2kisad

Serviio newbie

Posts: 8

Joined: Thu Aug 01, 2013 12:48 pm

Post Thu Aug 01, 2013 8:15 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

woohoo its working. Thanks again James. I added the entry as the host name of my NSA325 and also reserved its ip in the sky router. Adding folders now :)
<<

GranthamIA

Serviio newbie

Posts: 3

Joined: Tue Aug 20, 2013 1:19 pm

Post Wed Aug 21, 2013 12:02 am

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

I have successfully installed Serviio on my NSA325, got the console running and connecting the NSA325, but cannot find a way to get media to appear.

On the console on my windows PC, I tried adding a path to the Library tab, saved it and forced a refresh, using the format:

/<ip address>/music, where <ip address> is the IP address of the NSA325 and the share "music" is set up on the NSA325.

Mapping the same to a drive in windows I am able to see the media files (also tried adding a local folder of the mapped drive to the console .. no help).

Anyone able to help?
<<

JamesUK

Streaming enthusiast

Posts: 28

Joined: Wed Jul 31, 2013 1:38 pm

Post Wed Aug 21, 2013 12:50 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

Did point 7 in the original message in this topic not help? (For files on the NSA325, I've always added them using the local linux path.)

If you don't get the path right (and/or the NSA325 doesn't have permission to access that folder), then nothing will be added.

Note: You might see something in the serviio.log file that helps you work out what is wrong, especially if you change the logging to record more detail about what is happening.
<<

GranthamIA

Serviio newbie

Posts: 3

Joined: Tue Aug 20, 2013 1:19 pm

Post Wed Aug 21, 2013 2:30 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

I tried what I think is the local linux path (but not sure if I got it right - I am not familiar with UNIX).

I used the following, neither of which helped.

/NSA325/Volume1/music
/Volume1/music

"Volume1" is what appears as the name for the one HDD I have installed on the NSA325.

"NSA325" is the name allocated to the device.

I did previously have serviio server and console installed on a PC and <ip address>/music worked to discover media on the NSA325 when running the serviio service on the PC...

I'll see if I can find the serviio.log file and if that gives any clues.
<<

JamesUK

Streaming enthusiast

Posts: 28

Joined: Wed Jul 31, 2013 1:38 pm

Post Wed Aug 21, 2013 2:42 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

If you ssh into your NAS325, like you did to install Serviio, and type:

  Code:
ls <path>


Where "<path>" is what you configured as the path to the music, then you should see the contents of that folder, if the path is valid (and the permissions allow access).

Note: I suspect you'll see an error message.

If you look at the path described in the original message in this topic, you should be able to work out the right path for your setup.
<<

GranthamIA

Serviio newbie

Posts: 3

Joined: Tue Aug 20, 2013 1:19 pm

Post Wed Aug 21, 2013 8:45 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

JamesUK - thanks!

Using ls and a few trials and errors, got to the correct path. Was as per the intial step 7.. but at one directory level higher:

/i-data/md0/video
/i-data/md0/music
/i-data/md0/photo
<<

barmalej

Serviio newbie

Posts: 16

Joined: Tue Jan 29, 2013 9:58 am

Post Sat Aug 31, 2013 4:29 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

Dear Serviio forum administrators,
Make this topic sticky, as it contains confirmed info HOW TO.
<<

Zolkovv

Serviio newbie

Posts: 1

Joined: Mon Sep 02, 2013 11:58 pm

Post Tue Sep 03, 2013 12:10 am

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

I have a little problem at the end. When typing:
  Code:
sh /ffp/start/serviiod.sh start

something goes wrong as you can see:
  Code:
Starting Serviio
start-stop-daemon: --start needs --exec or --startas
Try 'start-stop-daemon --help' for more information.
Failed


Earlier everything went perfect, exactlly like in first post, no errors, no problems.

Could someone help?
<<

Bazim

Serviio newbie

Posts: 1

Joined: Wed Dec 25, 2013 11:16 pm

Post Wed Dec 25, 2013 11:18 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

Hello please i have problem with 3.

slacker -i ffmpeg-0.11.1-arm-1

No packages found (status i, pattern (ffmpeg-0.11.1-arm-1))
<<

monkeyg0d

Serviio newbie

Posts: 2

Joined: Sun Feb 09, 2014 12:06 am

Post Sun Feb 09, 2014 12:09 am

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

Hi, I'm a complete noob at all of this, I've gotten so far with this install on my zyxel nsa325 however I have come up against this problem

root@MEDIA:/ffp/start# sh /ffp/start/serviiod.sh start
: command not found.sh: line 2:
: command not found.sh: line 4:
: command not found.sh: line 9:
: numeric argument requirede 10: exit: 0

Any Ideas? I navigated to those lines within the serviiod.sh and they were just blank lines, I removed the lines and then got this error

root@MEDIA:/ffp/start# sh /ffp/start/serviiod.sh start
: numeric argument requirede 7: exit: 0

I'm not at a loss, any ideas?
<<

spin2

Serviio newbie

Posts: 2

Joined: Sun Feb 16, 2014 11:54 am

Post Sun Feb 16, 2014 1:31 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

Bazim wrote:Hello please i have problem with 3.

slacker -i ffmpeg-0.11.1-arm-1

No packages found (status i, pattern (ffmpeg-0.11.1-arm-1))


This command works only if you don't have any version of package installed. Else you must use this:

  Code:
slacker -UaA ffmpeg-0.11.1-arm-1 lame
<<

DJ600

Serviio newbie

Posts: 2

Joined: Mon Mar 03, 2014 3:47 pm

Post Mon Mar 03, 2014 4:05 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

Hi all,
I managed to go through the excellent tutorial (many thanks for that) and finally got Serviio up and running. However, as I strictly followed the tutorial I installed version 1.1 which is now sort of outdated. I'd like to update my Serviio Server to 1.4. but unfortunately I've no clue how to do this. I'm new to Linux and new to console working and as such I'd need some hints from you.
Do I need to uninstall Serviio 1.1 first ? ==> Howto? (This is also a more general question: How would I uninstall Serviio? Do I have to take care of dependencies? What to do?)
Can I upgrade my existing 1.1 to 1.4? ==> Howto?

Any help appreciated (but please... step by step, I'm a real rookie to this :( )

Thanks in advance
DJ
<<

JamesUK

Streaming enthusiast

Posts: 28

Joined: Wed Jul 31, 2013 1:38 pm

Post Tue Mar 11, 2014 5:48 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

This guide is quite a bit out-of-date now, as various things have moved-on. However, the following might currently (11-Mar-2014) prove useful:

To install FFP as a package:

NSA325 (4.40 Firmware): Use this web_prefix file.
NSA325 (4.70 Firmware): Take a look at this post.

Note: If you have the 4.70 firmware on your NSA325, you can't just change the web_prefix, as ZyXEL recently removed FFP from the list of available packages for some reason.

To install FFMPEG:

It looks like this is the latest build.

You need all of those packages (not just FFMPEG itself). I'm also using the following additional packages, which you can find here:

  • expat-2.1.0-arm-0
  • glib-2.36.4-arm-0
  • pcre-8.33-arm-0
Note: You can use slacker to install the packages that I mentioned, as the list of available sources from uwsiteloader has been updated, hence it should find them.

To install Java:

You are now looking for ejre-7u51-fcs-b13-linux-arm-sflt-headless-18_dec_2013.tar.gz (1.7.0_51).

To install Serviio:

You can download v1.4.1.
Last edited by JamesUK on Wed Mar 12, 2014 12:08 pm, edited 1 time in total.
<<

JamesUK

Streaming enthusiast

Posts: 28

Joined: Wed Jul 31, 2013 1:38 pm

Post Tue Mar 11, 2014 10:42 pm

Re: HOWTO: Serviio 1.1 on Zyxel NSA 325

DJ600: To kind of answer your questions... (I'm assuming you're logged in as root.)

Note: All of the following is completely untested, so if you burn your house down (or whatever) as a result of what follows, don't blame me! :)

To uninstall Serviio v1.1:

It looks like you can just do:

  Code:
/ffp/start/serviiod.sh stop
rm /ffp/start/serviiod.sh
rm -r /ffp/tmp
rm /ffp/opt/serviio
rm -r /ffp/opt/serviio-1.1
rm /ffp/opt/serviio-1.1-linux.tar.gz

To install Serviio v1.4.1:

You can follow the appropriate section of the original guide, but every time you see "1.1" somewhere, change it to "1.4.1".

Note: I'm assuming you've uninstalled v1.1, before installing v1.4.1.

To upgrade FFMPEG:

It looks like you can just do:

  Code:
slacker -aA br2:expat br2:glib br2:pcre br2:ffmpeg2/
PreviousNext

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 31 guests

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