This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
[HOWTO] Install serviio 1.2 and up
-
mrjrussell
- Starter

- Posts: 48
- Joined: 26 Jun 2012 04:31
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
to speed up the ffmpeg install can we add this as a option
"make -DBATCH install clean"
"make -DBATCH install clean"
SGI Rackable NM46X, x64 Dual Processor - embedded on Dual-Core AMD Opteron(tm) Processor 8216 HE 16GB Ram -9.2.0.1 - Shigawire (rev 925)
My setup posting.php?mode=edit&f=63&t=179&p=363
My setup posting.php?mode=edit&f=63&t=179&p=363
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
webUI is broken in latest serviio 1.3, see: http://forum.serviio.org/viewtopic.php? ... 240#p69214
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
howi42
- Starter

- Posts: 17
- Joined: 02 Jul 2012 03:41
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
I installed Serviio following the guide above and it works nicely - until Java crashes.
The Java problems seem to be well known; probably not much I can do with, but it makes Serviio unusable on FreeBSD.
Question :
- Any other jdk which can be used ?
- Serviio will not start on boot ( rc.conf, etc. is all fine ). Any hint ?
- any other mediaserver on FreeBSD, doing a good job on transcoding ?
( I tried Plex, but it will not play 576P videos,
I tried MediaTomb, but it will not stream, just copy and then run the movie,
I could try PSM, but that one is based on Java again)
Thanks.
The Java problems seem to be well known; probably not much I can do with, but it makes Serviio unusable on FreeBSD.
Question :
- Any other jdk which can be used ?
- Serviio will not start on boot ( rc.conf, etc. is all fine ). Any hint ?
- any other mediaserver on FreeBSD, doing a good job on transcoding ?
( I tried Plex, but it will not play 576P videos,
I tried MediaTomb, but it will not stream, just copy and then run the movie,
I could try PSM, but that one is based on Java again)
Thanks.
-
conor__
- NewUser

- Posts: 7
- Joined: 11 Nov 2013 21:51
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Thanks to all involved in this HOWTO and the 1.3 HOWTO which I also referred to
For me, coming from a non techie background, the learning curve was quite steep at times. I didn't even know about SSH and logging in via Terminal before attempting this. So it's been fun to learn
I went through the steps in the first post and have some problems
1. serviio won't start. I am running a start command, it tells me serviio is starting… then when I check with PS it tell me serviio is not running. I can access the Serviio console alright, and see the server from various devices on the network, but the Transcode screen in the console is blank
2. My Fstab is not working, I can't see any media that I have tried to mount in the Jail. I've used the same format as I did in a successful Logitech Media Server install and I've checked my paths several times. I've also copied a couple of files in manually and I'm able to see some music files remotely (but not a .mkv that I copied in)
Now the thing is when I was doing the install, and did the Port Fetch, there was no ffmpeg1 listed, and so I got an error trying to do the config - 'directory not found' or words to that effect. So I changed this code
to
i.e. I changed ffmpeg1 to ffmpeg
When everything installed and I got to the Serviio console, I thought I'd gotten away with it, but could that be my problem there? And why do I not have a folder for /usr/ports/multimedia/ffmpeg1 after doing the port fetch?
If I have to delete and start again I may run into some WAF issues. I would like to get this up and running though as a cheap (free) alternative to buying a streaming device that will read files that the PS3 doesn't. I also don't like having to rebuild the database in Fuppes manually every time I add some media
Any advice? To summarize, the main questions are
1. why did I not get an ffmpeg1 port from my port fetch?
2. is this why serviio is not starting or is there another reason likely?
3. how can I test my fstab ?
Thanks to anyone who can point my in the right direction.
For me, coming from a non techie background, the learning curve was quite steep at times. I didn't even know about SSH and logging in via Terminal before attempting this. So it's been fun to learn
I went through the steps in the first post and have some problems
1. serviio won't start. I am running a start command, it tells me serviio is starting… then when I check with PS it tell me serviio is not running. I can access the Serviio console alright, and see the server from various devices on the network, but the Transcode screen in the console is blank
2. My Fstab is not working, I can't see any media that I have tried to mount in the Jail. I've used the same format as I did in a successful Logitech Media Server install and I've checked my paths several times. I've also copied a couple of files in manually and I'm able to see some music files remotely (but not a .mkv that I copied in)
Now the thing is when I was doing the install, and did the Port Fetch, there was no ffmpeg1 listed, and so I got an error trying to do the config - 'directory not found' or words to that effect. So I changed this code
Code: Select all
cd /usr/ports/multimedia/ffmpeg1
make configCode: Select all
cd /usr/ports/multimedia/ffmpeg
make configWhen everything installed and I got to the Serviio console, I thought I'd gotten away with it, but could that be my problem there? And why do I not have a folder for /usr/ports/multimedia/ffmpeg1 after doing the port fetch?
If I have to delete and start again I may run into some WAF issues. I would like to get this up and running though as a cheap (free) alternative to buying a streaming device that will read files that the PS3 doesn't. I also don't like having to rebuild the database in Fuppes manually every time I add some media
Any advice? To summarize, the main questions are
1. why did I not get an ffmpeg1 port from my port fetch?
2. is this why serviio is not starting or is there another reason likely?
3. how can I test my fstab ?
Thanks to anyone who can point my in the right direction.
-
DiabloRnd
- NewUser

- Posts: 2
- Joined: 14 Nov 2013 07:22
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Hi.conor__ wrote: i.e. I changed ffmpeg1 to ffmpeg
Change ffmpeg location In file /usr/local/sbin/serviiod
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dderby.system.home=/var/db/serviio -Dserviio.home=$HOME -Dffmpeg.location=/usr/local/bin/ffmpeg1"
just remove the 1
-
conor__
- NewUser

- Posts: 7
- Joined: 11 Nov 2013 21:51
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
That might work you know.. Can't try it now, but will have a look when I'm next on the home network.
I'm picking up a cheap WD Live box second hand so that should hopefully solve my transcoding needs for the main room anyway. I'd still like to get this running though, I'm not a massive fan of Fuppes so far.
I'm picking up a cheap WD Live box second hand so that should hopefully solve my transcoding needs for the main room anyway. I'd still like to get this running though, I'm not a massive fan of Fuppes so far.
-
gman1834
- NewUser

- Posts: 9
- Joined: 06 Mar 2013 14:25
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Hi
I am trying to follow the instructions in the first post, but I cant see the pictures, it looks like the files are corrupt.
I am trying to follow the instructions in the first post, but I cant see the pictures, it looks like the files are corrupt.
- raulfg3
- Site Admin

- Posts: 4865
- Joined: 22 Jun 2012 22:13
- Location: Madrid (ESPAÑA)
- Contact:
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
is a common problem of old post , that happend when recently this forums was moved to other ISP.gman1834 wrote:Hi
I am trying to follow the instructions in the first post, but I cant see the pictures, it looks like the files are corrupt.
And is not easy to solve if do not have original screen captures, sorry for inconvenience.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)
Wiki
Last changes
HP T510
Wiki
Last changes
HP T510
-
gman1834
- NewUser

- Posts: 9
- Joined: 06 Mar 2013 14:25
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
thanks for the quick reply, I am looking for some help on the first step, since I cant see the first two images I don't have a Idea how to setup the jail for serviio. If someone could help me with that first step it would be nice.raulfg3 wrote:is a common problem of old post , that happend when recently this forums was moved to other ISP.gman1834 wrote:Hi
I am trying to follow the instructions in the first post, but I cant see the pictures, it looks like the files are corrupt.
And is not easy to solve if do not have original screen captures, sorry for inconvenience.
Thanks
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Nothing very special for serviio jail. Check jail settings for other sw. Say, plexgman1834 wrote: I cant see the first two images I don't have a Idea how to setup the jail for serviio.
I had tried to see images - ones did not lost, but corrupted. In topmost part one could see even text from original image. Very strange for ISP change...raulfg3 wrote: is a common problem of old post , that happend when recently this forums was moved to other ISP.
-
gman1834
- NewUser

- Posts: 9
- Joined: 06 Mar 2013 14:25
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
You wont believe me but the PLEX pictures is also broken... the universe does not like me.MikeMac wrote:Nothing very special for serviio jail. Check jail settings for other sw. Say, plexgman1834 wrote: I cant see the first two images I don't have a Idea how to setup the jail for serviio.
I had tried to see images - ones did not lost, but corrupted. In topmost part one could see even text from original image. Very strange for ISP change...raulfg3 wrote: is a common problem of old post , that happend when recently this forums was moved to other ISP.
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
my blog is in Russian, but pictures are at placegman1834 wrote:the universe does not like me.
http://translate.google.ru/translate?sl ... edit-text=
-
gman1834
- NewUser

- Posts: 9
- Joined: 06 Mar 2013 14:25
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
MikeMac wrote:my blog is in Russian, but pictures are at placegman1834 wrote:the universe does not like me.
http://translate.google.ru/translate?sl ... edit-text=
Good job thanks for sharing.
-
gman1834
- NewUser

- Posts: 9
- Joined: 06 Mar 2013 14:25
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
After I did these commands: I get an error see below. can youplease explain why?
cd /usr/ports/multimedia/ffmpeg1
make config
make install clean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
===> License LGPL21 accepted by the user
===> Found saved configuration for gpac-libgpac-0.5.0,1
=> gpac-0.5.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://downloads.sourceforge.net/projec ... 5.0.tar.gz
fetch: http://downloads.sourceforge.net/projec ... 5.0.tar.gz: No address record
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports ... 5.0.tar.gz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports ... 5.0.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** [do-fetch] Error code 1
Stop in /usr/ports/multimedia/gpac-libgpac.
*** [install] Error code 1
Stop in /usr/ports/multimedia/gpac-libgpac.
*** [lib-depends] Error code 1
Stop in /usr/ports/multimedia/x264.
*** [install] Error code 1
Stop in /usr/ports/multimedia/x264.
*** [lib-depends] Error code 1
Stop in /usr/ports/multimedia/ffmpeg.
*** [install] Error code 1
Stop in /usr/ports/multimedia/ffmpeg.
root@serviio:/usr/ports/multimedia/ffmpeg #
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cd /usr/ports/multimedia/ffmpeg1
make config
make install clean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
===> License LGPL21 accepted by the user
===> Found saved configuration for gpac-libgpac-0.5.0,1
=> gpac-0.5.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://downloads.sourceforge.net/projec ... 5.0.tar.gz
fetch: http://downloads.sourceforge.net/projec ... 5.0.tar.gz: No address record
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports ... 5.0.tar.gz
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports ... 5.0.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** [do-fetch] Error code 1
Stop in /usr/ports/multimedia/gpac-libgpac.
*** [install] Error code 1
Stop in /usr/ports/multimedia/gpac-libgpac.
*** [lib-depends] Error code 1
Stop in /usr/ports/multimedia/x264.
*** [install] Error code 1
Stop in /usr/ports/multimedia/x264.
*** [lib-depends] Error code 1
Stop in /usr/ports/multimedia/ffmpeg.
*** [install] Error code 1
Stop in /usr/ports/multimedia/ffmpeg.
root@serviio:/usr/ports/multimedia/ffmpeg #
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
quite obvious - I could see only gpac-0.4.5 version at ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gman1834 wrote:After I did these commands: I get an error see below. can youplease explain why?
-
gman1834
- NewUser

- Posts: 9
- Joined: 06 Mar 2013 14:25
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
MikeMac wrote:quite obvious - I could see only gpac-0.4.5 version at ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/gman1834 wrote:After I did these commands: I get an error see below. can youplease explain why?
Thanks for the replie, sorry im still new to this.
If I download gpac-0.5.0.tar.gz fromhttps://sourceforge.net/projects/gpac/f ... C%200.5.0/ and copy it to /usr/ports/distfiles/
Do i need to run the build command again with all the same options (it takes very long) Will this solve the problem.
One more question,
After I build the ffmpeg and i select all the options needed for ffmpeg then i run
Code: Select all
make install cleanThanks for taking your time to help me,
-
dreamcat4
- experienced User

- Posts: 111
- Joined: 21 Mar 2014 21:59
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Your problem is:
Then try manually with this command:
Until it works.
It means that (for some reason) your jail couldn't resolve the DNS for SourceForge.NET. It may be WISE to check your /etc/resolv.conf and / or copy the version from NAS4Free root folder into your jail.gman1834 wrote: => Attempting to fetch http://downloads.sourceforge.net/projec ... 5.0.tar.gz
fetch: http://downloads.sourceforge.net/projec ... 5.0.tar.gz: No address record
Then try manually with this command:
Code: Select all
cd /tmp
fetch http://downloads.sourceforge.net/project/gpac/GPAC/GPAC%200.5.0/gpac-0.5.0.tar.gz
-
gman1834
- NewUser

- Posts: 9
- Joined: 06 Mar 2013 14:25
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Thanks for taking your time to help me,
One more question,
After I build the ffmpeg and i select all the options needed for ffmpeg then i run
it ask me several times to make more selections (dialog boxes) do I just keep the default and press OK or do I press cancel or un-select and press OK.
Thanks for taking your time to help me,
One more question,
After I build the ffmpeg and i select all the options needed for ffmpeg then i run
Code: Select all
make install cleanThanks for taking your time to help me,
- MikeMac
- Forum Moderator

- Posts: 429
- Joined: 07 Oct 2012 23:12
- Location: Moscow, Russia
- Contact:
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
it dependsgman1834 wrote: do I just keep the default and press OK
In ideal world you should understand each option and make deliberate choise. In real world for most cases default works. But not always.
-
gman1834
- NewUser

- Posts: 9
- Joined: 06 Mar 2013 14:25
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
MikeMac wrote:it dependsgman1834 wrote: do I just keep the default and press OK
In ideal world you should understand each option and make deliberate choise. In real world for most cases default works. But not always.
Thanks for all your help, I am making good progress.
-
gman1834
- NewUser

- Posts: 9
- Joined: 06 Mar 2013 14:25
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Thanks to every one that helped me to setup and Install serviio (1.4).
It is running now and i am very happy.
One more question:
It takes about 30sec to load a video on my TV (dlna) is there a setting to make this faster, it seem that it is waiting for something from the WDTV.
It is running now and i am very happy.
One more question:
It takes about 30sec to load a video on my TV (dlna) is there a setting to make this faster, it seem that it is waiting for something from the WDTV.
-
fhenning09
- NewUser

- Posts: 11
- Joined: 24 Apr 2014 05:38
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Just quick help for other who might have had probs I did on alot of jails I've built so far had tons of probs getting ports into jails so if jail doesn't show port snapshots @ command : jls
jexec (#) csh
if: cd /usr/ports
reports no dir then:
portsnap fetch extract update
then continue with make commands =)
jexec (#) csh
if: cd /usr/ports
reports no dir then:
portsnap fetch extract update
then continue with make commands =)
-
fhenning09
- NewUser

- Posts: 11
- Joined: 24 Apr 2014 05:38
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Recommended Hardware? Just curious @ what point would hardware limitations be a huge problem? I could redo my system for 64bit but think that might require me to loose everything on my ZFS Pool anythoughts considerations?
-
goody1928
- NewUser

- Posts: 10
- Joined: 17 Jul 2014 22:47
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
i know its step one but what are the "Latest ports" that are being referred to when creating the serviio jail?
edit: i figured it out after i re read it the fifth time lol ty
edit: i figured it out after i re read it the fifth time lol ty
-
goody1928
- NewUser

- Posts: 10
- Joined: 17 Jul 2014 22:47
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
can anyone send me a backup of there etc/hosts file i wiped it by mistake
-
goody1928
- NewUser

- Posts: 10
- Joined: 17 Jul 2014 22:47
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Is there really nothing I can do other than starting from scratch? I just need to know what to copy and paste in to the file I completely replaced everything with my IP address so its entirely blank now
-
laster13
- PowerUser

- Posts: 995
- Joined: 01 Jun 2013 19:15
- Location: France-Marseille
- Status: Offline
-
goody1928
- NewUser

- Posts: 10
- Joined: 17 Jul 2014 22:47
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
laster13 wrote:If you speak french...
viewtopic.php?t=6292
Envoyé de mon Nexus 5 en utilisant Tapatalk
i translated the page all ti did was install serviio but i had no problem i deleted the hots file like a tard and couldnt fix it
-
Jabberwocky
- Starter

- Posts: 16
- Joined: 10 Mar 2014 01:47
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
I finally set up my serviio client in my embebled N4F.
I have a problem in shares of serviio.
I have a MOVIES folder in my first pool, I set up user and pass for MOVIES, and via Samba I can see and play any movie (entering the User and Pass).
I have the JAIL in second pool, I try to mount (FSTAP) MOVIES folder inside the JAIL, serviio jail start ok and shows the main folder, but can't see anything inside MOVIES.
I use FSTAP because I can't choose my MOVIES folder from Shares in serviio. I think is because I runing seviio in a JAIL from pool2 and MOVIES are in top pool1. My folders order are this:
/
mnt
----> pool1 (3 disk 3Tb)
--------->MOVIES
----> pool2 (1 disk 750 Gb)
--------->JAILS
--------------->serviio
How can I use the FSTAP to introduce the user and password of this folder, so the mounted MOVIES folder can show all sub-folders and movies?
Exist a better way to chosse a folder in top of jail folder?
Hope can help me.
Sorry for my bad english.
Best regards.
I have a problem in shares of serviio.
I have a MOVIES folder in my first pool, I set up user and pass for MOVIES, and via Samba I can see and play any movie (entering the User and Pass).
I have the JAIL in second pool, I try to mount (FSTAP) MOVIES folder inside the JAIL, serviio jail start ok and shows the main folder, but can't see anything inside MOVIES.
I use FSTAP because I can't choose my MOVIES folder from Shares in serviio. I think is because I runing seviio in a JAIL from pool2 and MOVIES are in top pool1. My folders order are this:
/
mnt
----> pool1 (3 disk 3Tb)
--------->MOVIES
----> pool2 (1 disk 750 Gb)
--------->JAILS
--------------->serviio
How can I use the FSTAP to introduce the user and password of this folder, so the mounted MOVIES folder can show all sub-folders and movies?
Exist a better way to chosse a folder in top of jail folder?
Hope can help me.
Sorry for my bad english.
Best regards.
-
Northwinds
- experienced User

- Posts: 89
- Joined: 03 Sep 2014 01:51
- Status: Offline
Re: [HOWTO] Install serviio 1.2 and up
Thought I had this all installed and ready to go but then tried to start via terminal and got this:
Starting serviio.
su: unknown login: dlna
Any pointers how to fix this please?
Many thanks!
Starting serviio.
su: unknown login: dlna
Any pointers how to fix this please?
Many thanks!
12.1.0.4 (7743)
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD
x64-embedded on Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Supermicro X7SB4/E with 2x Single-port Gigabit PCI-Express Ethernet Controllers
8GB RAM
8 x Seagate ST4000VN000 4TB NAS HDD