FAQ  •  Register  •  Login

Install Serviio at QNAP TS-439 Pro II Turbo NAS

<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Sep 19, 2010 9:26 am

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

That should work, check the log on both, console and server, it should say what IP is the Restful server running at/connecting to.
<<

alexmajor

Serviio newbie

Posts: 4

Joined: Sat Sep 25, 2010 3:27 am

Post Sun Sep 26, 2010 7:47 am

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Hi,
albertoto - Did you get the console on your MAC to work with version 0.4.2 of the server on your QNAP TS-439 Pro to work?

I've got a QNAP TS-859 Pro and I can't get my remote console to start the Serviio Server on the QNAP.

If you did get it to work, which files did you alter?

Any information would be much apreciated.

Thanks

Alex
<<

albertoto

Serviio newbie

Posts: 18

Joined: Sun Mar 07, 2010 9:07 am

Location: Zilina, SVK

Post Sun Sep 26, 2010 10:04 am

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Hi Alex,
yes, my Remote Console on Mac works with Server on my QNAP TS-439 (I mean 0.4.2 release, of course). Also remote console on WinXP works with QNAP server.
It did'n work in the beginning but after several attempts ... it began work.

OK. On linux QNAP, in my... blablabla/serviio-0.4.2/bin directory, I alterd the file serviio.sh with adding of the parameter -Dserviio.remoteHost=<my_QNAP_ip> in the end of the JAVA_OPTS properties:
  Code:
# Setup Serviio specific properties
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME -Dserviio.remoteHost=XXX.XXX.X.X"

You should restart serviio service on your QNAP.

On my MacBook, I opened the package content of the Serviio-Console.app file. In Contents directory I altered the file Info.plist by adding the parameter <key>serviio.remoteHost</key> and <string>my_QNAP_ip</string> after the Properties lines
  Code:
      <key>Properties</key>
      <dict>
        <key>serviio.home</key>
        <string>$JAVAROOT</string>
        <key>java.net.preferIPv4Stack</key>
        <string>true</string>
        <key>serviio.remoteHost</key>
        <string>XXX.XXX.X.X</string>

Save the Info.plist file and start the Serviio-console on Mac.
That is all. It should work (maybe on 2nd on 3rd time, as in my case :) )
<<

alexmajor

Serviio newbie

Posts: 4

Joined: Sat Sep 25, 2010 3:27 am

Post Sun Sep 26, 2010 4:55 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Hi Albertoto,

Thanks for the info, I got the server running on the QNAP.
I will play with the MAC shortly.

I'm running the console on a Windows 7 PC... could I trouble you for the
config info that you used for Windows XP.

Thanks again
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Sep 26, 2010 6:30 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

<<

albertoto

Serviio newbie

Posts: 18

Joined: Sun Mar 07, 2010 9:07 am

Location: Zilina, SVK

Post Sun Sep 26, 2010 7:39 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

alexmajor wrote:Hi Albertoto,

Thanks for the info, I got the server running on the QNAP.
I will play with the MAC shortly.

I'm running the console on a Windows 7 PC... could I trouble you for the
config info that you used for Windows XP.

Thanks again


On Windows machine, you should alter the file Serviio.Console.exe.vmoptions by adding a line:
-Dserviio.remoteHost=<your_QNAP_ip>
<<

blackjke

Serviio newbie

Posts: 5

Joined: Thu Oct 07, 2010 8:14 am

Post Sat Oct 23, 2010 7:01 am

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Hi,

Following the instructions here

1. install Java 6 on it via the link above
2. open ssh connection to the NAS (do a search for how to do it, you can probably use Putty terminal)
3. see if there is ffmpeg intalled, if not install it (not sure how, try google)

I dont have any Linux experience.....how do i do 4?

4. upload Seviio.tar.gz, unzip it in the terminal and follow Linux instructions on how to run it

Anyone?
<<

albertoto

Serviio newbie

Posts: 18

Joined: Sun Mar 07, 2010 9:07 am

Location: Zilina, SVK

Post Sun Oct 24, 2010 3:16 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Hi,
you need a little bit of Linux capabilities. Do not worry I have learned it too. :-)

1) you should connect to your QNAP by FTP or SFTP (SSH) protocol. You can do it from MAC machine by:
- ForkLift for Mac OS (file manager)
- built-in Terminal on MAC machine
- maybe by Finder (I do not know).
2) copy the install serviio-0.4.2-osx.tar.gz file to QNAP into the folder with adequate free space for unpacking.
3) unpack the install file on QNAP, by command for instance "tar xvzf serviio-0.4.2-osx.tar.gz"
4) start the serviio service on QNAP by linux command
/yourinstalationfolder/serviio-0.4.2/bin/serviio.sh start &
<<

blackjke

Serviio newbie

Posts: 5

Joined: Thu Oct 07, 2010 8:14 am

Post Sun Oct 24, 2010 8:39 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Hey thanks...yes i need to learn some Linux!!!!!

You mention serviio-0.4.2-osx.tar.gz shouldnt i use serviio-0.4.2-linux.tar.gz?

I use Winscp, move the file over but cant seem to Ungzip into a directory with enough space. Do you remember where you Ungzipped to?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Oct 24, 2010 9:24 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

blackjke wrote:You mention serviio-0.4.2-osx.tar.gz shouldnt i use serviio-0.4.2-linux.tar.gz?


Yes.

Regarding the folder, wait for someone with the box to point you in the right direction.
<<

albertoto

Serviio newbie

Posts: 18

Joined: Sun Mar 07, 2010 9:07 am

Location: Zilina, SVK

Post Mon Oct 25, 2010 8:09 am

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Sorry, my mistake.
Of course, you have to use the linux version on QNAP and the OSX version on Mac machine.

I copied the serviio install file (linux version) into the mnt/HDA_ROOT directory (I have 4 disks as RAID5 on QNAP).
Unzip created the subfolder serviio-0.4.2 and unpacked the files.
<<

blackjke

Serviio newbie

Posts: 5

Joined: Thu Oct 07, 2010 8:14 am

Post Mon Oct 25, 2010 6:49 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Thanks again!
Ok unzipped in the directory as described.

Do I execute the sh file when inside the QNAP software? or do i execute from the SSH software? I tried from the SSH software (winscp) but i got this:

Command '"./serviio.sh"'
failed with return code 127 and error message
./serviio.sh: line 67: java: command not found.

Any suggestions?
<<

albertoto

Serviio newbie

Posts: 18

Joined: Sun Mar 07, 2010 9:07 am

Location: Zilina, SVK

Post Mon Oct 25, 2010 7:31 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Hi,
have you installed Java on QNAP correctly?
Try to restart QNAP. No another ideas.

Usually, I logg in to my QNAP through putty (from windows machine) or Terminal (from Macbook) as a remote machine
and execute the serviio service by command:
  Code:
/mnt/HDA_ROOT/serviio-0.4.2/bin/serviio.sh start &
<<

mbrust

Serviio newbie

Posts: 3

Joined: Sun Dec 05, 2010 11:10 am

Post Sun Dec 05, 2010 11:20 am

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

thanks albertoto,
your hint works for me.
however, once serviio has completed all the re-scanning, it (proper?) terminates again on my qnap
2010-12-05 12:13:03,230 INFO [LibraryAdditionsCheckerThread] Finished looking for newly added files
2010-12-05 12:13:03,390 INFO [DatabaseManager] Shutting down database
2010-12-05 12:13:03,394 INFO [DiscoveryAdvertisementNotifier] Leaving DiscoveryAdvertisementNotifier
2010-12-05 12:13:03,395 INFO [EventSubscriptionExpirationChecker] Leaving EventSubscriptionExpirationChecker, removing all event subscriptions
2010-12-05 12:13:03,395 INFO [EventDispatcher] Leaving EventDispatcher
2010-12-05 12:13:03,396 INFO [DiscoverySSDPMessageListener] Leaving DiscoverySSDPMessageListener
2010-12-05 12:13:03,403 INFO [WebServer] WebServer shutting down
2010-12-05 12:13:03,965 INFO [VideoDeliveryEngine] Cleaning transcode engine and its data


why doesnt it keep running so that I can access the content?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Dec 05, 2010 2:04 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

It looks like it's been told to shut down. Is there something further up in your log? You could also turn on detailed logging and post that here.
<<

mbrust

Serviio newbie

Posts: 3

Joined: Sun Dec 05, 2010 11:10 am

Post Sun Dec 05, 2010 2:37 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

uh yes... exactly. I started it in a ssh session (with "&" option"), once I closed this session the serviio got shutdown.
Well, I cannot get it started up automatically in the init.d (lack of skill), but at least it is working as expected.
<<

quazar

Serviio newbie

Posts: 3

Joined: Sat Jan 01, 2011 2:20 pm

Post Mon Feb 07, 2011 2:20 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

you can try to install ipkg coreutils, it contains nohup command among others...
http://forum.qnap.com/viewtopic.php?f=50&t=8926

after that you can run serviio as:

nohup ./serviio.sh &

it will be running even if you exit shell.
cheers!
<<

moleculezz

Serviio lover

Posts: 82

Joined: Sat Apr 10, 2010 11:54 am

Post Sat Apr 23, 2011 4:15 pm

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

Hi,

I have the TS-459 Pro+ running on Intel atom but I can't get ffmpeg installed correctly. I tried the following:

installed YASM & LAME
  Code:
ipkg install lame
ipkg install yasm


Then I dowloaded ffmpeg and extracted it. When I ran the configuration I ran into problem:
  Code:
./configure --arch=x86_64 --enable-ssse3 --prefix=/opt --extra-cflags='-I/opt/include' --extra-ldflags='-L/opt/lib' --enable-static --disable-shared --disable-ffplay --disable-ffserver --enable-libmp3lame

After executing that command I got this error msg:
  Code:
mktemp: invalid option -- u
BusyBox v1.01 (2011.03.30-11:04+0000) multi-call binary

Usage: mktemp [-dq] TEMPLATE

Creates a temporary file with its name based on TEMPLATE.
TEMPLATE is any name with six `Xs' (i.e., /tmp/temp.XXXXXX).

Options:
        -d              Make a directory instead of a file
        -q              Fail silently if an error occurs

Unable to create temporary file in /tmp.


Then I tried a solution provided by this http://forum.serviio.org/viewtopic.php?p=13024#p13024

But I now get the following error:
  Code:
./configure: line 261: pr: command not found
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.


I was hoping someone could help me with setting up ffmpeg.
DMS: QNAP TS-459 Pro+
DMR: Samsung LE40B650 | Sony PS3
<<

albertoto

Serviio newbie

Posts: 18

Joined: Sun Mar 07, 2010 9:07 am

Location: Zilina, SVK

Post Sun Apr 24, 2011 6:53 am

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

mbrust wrote:uh yes... exactly. I started it in a ssh session (with "&" option"), once I closed this session the serviio got shutdown.
Well, I cannot get it started up automatically in the init.d (lack of skill), but at least it is working as expected.


Hi, I have NEVER installed any additional package (like ipkg coreutils) to QNAP TS-439. Start with "&" option runs. But I have to close the session with "exit" command and serviio runs on QNAP further.
DO NOT close the session only by closing the session window without exit command!
Try it.
<<

moleculezz

Serviio lover

Posts: 82

Joined: Sat Apr 10, 2010 11:54 am

Post Sun Apr 24, 2011 9:57 am

Re: Install Serviio at QNAP TS-439 Pro II Turbo NAS

I was able to complete ffmpeg installation. I needed to install optware-devel to get it working.

I added a path to some movies, but it's not seeing all movies.
I also tried watching a movie and it seems there is something wrong with the sound, it kind of echo's. Is there someway I can check if lame/ffmpeg is working properly?

Update: Now it's not showing anything from the library.
DMS: QNAP TS-459 Pro+
DMR: Samsung LE40B650 | Sony PS3
PreviousNext

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.