FAQ  •  Register  •  Login

[Solved] Serviio and Fedora 18 not working as it should

<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Thu Jul 04, 2013 8:35 am

[Solved] Serviio and Fedora 18 not working as it should

Hi all

I have been using serviio for quite a while on Windows, but just formatted the computer to Fedora 18. After moving all my files over to the new ext4 filesystem, I installed serviio as shown in the wiki. It installed without any errors. However, I try to add media from 3 different local disks inside the computer to the media library, but the library does not seem to add the files. I have set the refresh interval at 2 minutes, clicked force refresh and show status, and then all I see are the two red buttons. No file is displayed as the case was in Windows. Usually when you indexed files in Windows and clicked show status, it would show you something like red button blah.avi (1), but none of this is showing up in my fedora 18.

Furthermore, I see there is a profile issue as well. I can see the BluRay player (Samsung) profile setting, and I select it as I have done in Windows, but It keeps showing up as an Unknown Device and the little button stays yellow, it does not become green, and the TV does not show Serviio. What can I do? This is becoming quite a big frustration now.

And further information, all three mount points have chmod 775 options on them, so I don't think this is a permissions issue.

Any ideas would be great?

Thank you for this great product!
Last edited by Luckyfriend222 on Wed Jul 10, 2013 5:59 am, edited 3 times in total.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Thu Jul 04, 2013 3:43 pm

Re: Library Indexing not seeming to work Fedora 18

check the log.
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Thu Jul 04, 2013 11:01 pm

Re: Library Indexing not seeming to work Fedora 18

Chenged the setup after a very frustrating day. Running Fedora 18 host, VirtualBox (newest with Guest Additions and extension pack) that has a Windows 7 32bit guest OS. Created all three my data drives as shared drives to Windows Guest. Loaded up Serviio, and at least now the BR player is seeing a serviio Server. Created a library with all my stuff, and saw on the BR player there were all my folders. However, again, afer adding the folders to be indexed for the library, it does not want to take the files. I attached the log file as well. I see entries stating that my folders do not actually exist, or that there is a permissions issue. I disagree with this. The folder is there. Even if I map the folder in Windows, it pops up. Virtualbox is setup so that the guest OS has full access to the folders, and I can create and delete files on the drives inside the folders as much as I like.

I should also state that the network setup is in bridge mode, so it is NOT a NAT setup, so it cannot be because of two different IP Ranges.

What is going on here? It was always working so smoothly, and now, just nothing?

Thanks in advance for any help!
Attachments
serviio.log
(109 KiB) Downloaded 411 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jul 05, 2013 8:53 pm

Re: Library Indexing not seeming to work Fedora 18

Are F anf G drives remote / network drives? If yes, use UNC path instead (see FAQ). if not, make sure the Serviio service user (most like not the same as your local user) has access to these folders.
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Mon Jul 08, 2013 7:16 am

Re: Library Indexing not seeming to work Fedora 18

Hi zip. I fixed this problem by installing Ubuntu 13.04. And running serviio on it. But it seems the machine that I am running on (HP Proliant Microserver N36L) is battling with Ubuntu overheads. CPU load constantly above 70%, and when trying to vnc the machine, the vino server clocks out the CPU. Together with all this, when running iotop, it shows that java for serviio (cannot remember exactly what the service is called) is constantly gnawing at the disk. There is constant IO of 45K/s. I am new to linux, so do not know if this is normal. I am going to try and sort out Serviio on fedora tonight, as I am more comfortable with Fedora than Ubuntu. If I get the same issue in Fedora where I cannot see my TV or my list is not being populated, I will upload the log file. I wonder if anyone else is seeing the same problem on fedora 18 or not?

Regards and thanks for the reply. I will update you tonight when I get back home!
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Mon Jul 08, 2013 10:47 am

Re: Library Indexing not seeming to work Fedora 18

Reproduced the "not indexing" issue on a virtual:

Here is the entry in the log file:

2013-07-08 12:40:49,213 WARN [LibraryAdditionsCheckerThread] Folder '/home/hans/Downloads' is either not an existing directory or cannot be read due to access rights

This happens for both user hans AND user root. Meaning I logged in with normal user, started Serviio and Serviio-Console, update library, and get error. Then logged out, logged in as root, and got same error. Even after executing chmod 777 /home/hans/Downloads, the error stays the same. So permissions is not the issue. And obviously the folder exists. The Downloads folder has a video in it. This message is what is happening all the time. What am I supposed to do? Really need this to work on Fedora 18.
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Mon Jul 08, 2013 12:48 pm

Re: Library Indexing not seeming to work Fedora 18

Update on this topic:

Fresh install of Fedora on Virtualbox Vm.
Installation wiki followed: http://wiki.serviio.org/doku.php?id=howto:linux:install:fedora
Error indexing library.
Log file attached. I am really at world's end with this one. Do not know what else to do. I am seriously tired of running around in circles here.
The whole install was done either with sudo command, OR as root. As you all know yum and wget must be done in that manner.

Please help????
Attachments
serviio.log
Serviio08-07-2013.log
(10.44 KiB) Downloaded 421 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jul 08, 2013 4:51 pm

Re: [Updated] Library Indexing not seeming to work Fedora 18

So does user 'serviio' have access to '/home/hans/Downloads' ?
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Mon Jul 08, 2013 7:08 pm

Re: [Updated] Library Indexing not seeming to work Fedora 18

Hey zip

At home at the moment and busy doing a clean and fresh install of fedora on a test machine. Got home earlier, and found exactly what you just said to be the problem. The user serviio (as per installation) does not have access to those folders. So I changed the permissions of the /opt/ folder where serviio is installed, to root:root, and also changed the user from which serviio starts up (as per config file) to root. So am doing clean install to see if that was the problem, and then will also see if this will cure the problem of serviio not picking up my BR player on the network, and if the TV will actually find the serviio server.

Will keep you updated with what happens. Hope my struggle helps a few other Fed18 users!
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Tue Jul 09, 2013 12:29 pm

Re: [Updated] Library Indexing not seeming to work Fedora 18

Hi zip

Sorry for addressing you personally, but you seem to be the only one with any interest in my problem. I attached the new log file for serviio.

I got the index thing working, but starting serviio service in /lib/systemd/system/serviio.service as root (i.e User=root) because even adding user serviio to group hans did not change the error with regards to indexing. So root fixed it. BUT, the serviio console still does not pick up my Samsung BR player, and the BR player does not even see the serviio server. Normally when there is a profile issue, you would still get the IP and generic profile, but at this stage it is still totally empty. I attached the log, I see an error about FFMPEG wrapper, but do not know what to look for in my case. Sorry, I'm still learning here, new to linux. So I would really appreciate ANY help in this matter.

Thanks in advance, hope to hear from you soon.

Regards
Attachments
serviio-test.log
(32.18 KiB) Downloaded 424 times
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jul 09, 2013 1:13 pm

Re: [Updated] Serviio and Fedora 18 not working as it should

I assume 192.168.137.12 is the correct PC address then?

It might be there is a firewall blocking incoming ports TCP 8895 and/or UDP 1900 on your PC. Check iptables or its equivalent on Fedora.
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Tue Jul 09, 2013 1:22 pm

Re: [Updated] Serviio and Fedora 18 not working as it should

I went through the log and saw it now. Also, it seems that the normal yum install ffmpeg is not working as it should. So I will see after IP tables if I need to install ffmpeg from rpmforge. As in http://www.clearfoundation.com/component/option,com_kunena/Itemid,232/catid,40/func,view/id,25951/

Will give this a try as well, and see what happens then.

Yes that was the correct IP it was supposed to get. Machine is on DHCP accept option.

Will keep you guys posted, and let you know if I get this working eventually!

Cheers!

EDIT: rpmforge as in above mentioned URL is not working. So the command for ffmpeg there is not a valid one, and as to now I was not able to find a fix for that one. Will keep this forum updated.
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Tue Jul 09, 2013 7:58 pm

Re: [Updated] Serviio and Fedora 18 not working as it should

It is working, at last.

On the initial build of the library I can tell you that it HAMMERS the CPU of this machine, much more than with the Windows client. Windows did take ages to index the library, but at least it left a bit of CPU for me to use.

I will look into this matter as the indexing finishes off, and see if it gets better. I do see a lot of ffmpeg processes popping up all over the place when I run "top", and I do not know if this is normal? Maybe someone with some linux/java/serviio experience can tell me?

iotop also shows ffmpe hammering the disks at this stage, but I think it also has to do with the indexing, so will see when the library is fully built, what happens.

Anyways, will be chatting to the admin to see if could maybe write an updated installation guide for anyone else who needs to use serviio?

Cheers people!
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Wed Jul 10, 2013 6:05 am

Re: [Solved] Serviio and Fedora 18 not working as it should

I marked it as solved, and will be updating the post a.s.a.p with full instructions/fix as I did it, but first I want to sort out the IO and CPU load. I attached the screenshots of the problem.

Any thought by anyone running Serviio on linux?

Please note the system I am using is as follows:

HP Proliant Microserver N36L
5 gig DDR3 1333Mhz RAM
160Gig installation disk
Data disks.

When this was running Windows 7, I saw a bit of CPU load, but not NEARLY as high as this, and the lights at the front of the machine was not going as ballistic as it is now because of the IO issues. So why on Fedora is this such a big problem?
Attachments
IO-issue.png
IO issue
IO-issue.png (85.53 KiB) Viewed 10818 times
ffmpeg2.png
ffmpeg CPU load
ffmpeg2.png (76.99 KiB) Viewed 10818 times
<<

Luckyfriend222

Streaming enthusiast

Posts: 46

Joined: Thu Jul 04, 2013 7:49 am

Post Wed Jul 10, 2013 7:45 am

Re: [Solved] Serviio and Fedora 18 not working as it should

It seems the disk IO and the high ffmpeg CPU load is due to the creation of thumbnails or retrieving of metadata for all my files. When I get home I will untick those settings, and see if it stops.

I found this info via:

ps -auxwww

and got output (edit for forum purposes)

root 9952 93.0 0.3 628372 17892 ? Rl 09:02 0:00 ffmpeg -ss 120 -i /mnt/2d73fb9d-be79-45f3-8781-d720f0f6ea07/blah/blah/blah.avi -an -frames:v 1 -f image2 pipe:

So I will see tonight when I get home how this is going.

Can anyone maybe confirm that this is the issue?

Cheers

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 45 guests

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