Forums

Resolved
0 votes
http://www.clearfoundation.com/media/kunena/attachments/legacy/images/Serviio_app.png

FInally!
With a lot of help from Peter Baldwin, the Serviio Media Server, written by Petr Nejedly, is now available as an app from the ClearOS Marketplace. Within a month ClearOS have gone from barely offering basic DLNA (with miniDLNA ) to include two major media servers, for free!

What you get with the Serviio install is:
Serviio 1.4 serviio.org
Serviio-WebUI 1.5.3

I have packaged both together and patched them to work with ClearOS in a nice little app!

Some notes:
1. FFmpeg that is installed by default in ClearOS today comes from ATrpms. However, it is not compiled with https support or ability to transcode subtitles. If you need this then you will need to compile your own ffmpeg for time being. I have filed a request with ATrpms to include this in future releases (just two switches needed...) but I have had no response yet.

2. I have tested the app in my own environment, but not every single feature. For instance, since I do not have a "Pro"-licence, I have not tested to enter a license key in the web-interface and install it.

/Fred
Wednesday, January 22 2014, 09:23 PM
Share this post:
Responses (56)
  • Accepted Answer

    Friday, October 17 2014, 12:29 AM - #Permalink
    Resolved
    0 votes
    Update:
    Luckily I didnt have a whole lot of data loaded on to this thing yet. I did a complete wipe and re-raid-0.
    And there it is--------------------------------->>

    2014-10-16 19:25:57,805 INFO [WebServer] WebServer starting on port 8895
    2014-10-16 19:25:57,786 INFO [AbstractTranscodingDeliveryEngine] Cleaning transcode engine and its data
    2014-10-16 19:25:57,715 WARN [FFMPEGWrapper] FFmpeg is not compiled with libass support, rendering subtitles (hardsubs) will not work.
    2014-10-16 19:25:57,715 INFO [FFMPEGWrapper] Found FFmpeg: ffmpeg version 2.0.2 Copyright (c) 2000-2013 the FFmpeg developers
    2014-10-16 19:25:57,672 INFO [UpdateChecker] Checking if a new version is available
    2014-10-16 19:25:57,670 INFO [PluginCompilerThread] Started looking for plugins


    Thanks for your exceptional help with this. I really appreciate it
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 16 2014, 10:34 PM - #Permalink
    Resolved
    0 votes
    OK great that eliminates that. For some reason serviio on this machine is not seeing that ffmpeg and I know for a fact its installed.
    Im gonna wipe the machine and start it over cuz this is giving me a headache.
    My setup Dell Poweredge 2950 Gen II 2U server with Dual quad-core 3.2 (not 3.4) 16 gig ram PERC-5i raid card running twin 1Tb barricuda 7200's in a raid-0 Dual gig nics
    Odd (and Ive seen this with other Dells) when I set the perc 5i raid to raid-1 and install cos 6.5x64 all is fine until the initial reboot. On reboot as it loads the OS it goes into fatal errors. I had to wipe the machine and try it again. Same thing with the raid-1 and errors. I found on the net somewhere that these Dell servers are finicky about what raid can be used with an OS outside of what dell provides for it. I read where they dont have a problem with the raid-0. I did it all again except put it in a raid-0 before installing COS and bammm all is fine.
    I doubt this is a hardware issue though. For some reason serviio isnt looking in the right spot for that ffmpeg file.
    Thanks fopr your help. Im gonna wipe it and reinstall. If need be I have another machine and ill run it behind the Dell on the network and serviio from it.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 16 2014, 05:34 PM - #Permalink
    Resolved
    0 votes
    Jeff,
    Got a few minutes over why I Went ahead and tried a fresh installation on a virtual machine:

    1. Downloaded a fresh copy of 64-bit 6.5 ClearOS ISO-file from ClearFoundation
    2. Installed it, defaults for Everything except language/keyboard to match what I have
    3. Registred the system, Community Version, Private Server (1 Ethernet). Only installed LDAP via the wizard
    4. Went to "System Update" page and forced an update of all packages (a lot...)
    5. Rebooted the virtual machine to make the new Kernel kick in
    6. Registred one user on the system (non-root)
    7. Went to the marketplace and installed Flexshare, windows networking (samba), Serviio (could see that among all packages that was installed, ffmpeg was one of them)
    8. Created a flexshare folder, enabled 3rd party read access
    9. Started the Serviio service, created a Serviio password, and logged into the Serviio web interface
    10. Entered the path for the Serviio log file. Did a refresh and could see that Serviio had found ffmpeg (without libass support, but that is unfortunately standard in ClearOS so far)
    11. Added the flexshare folder as mediafolder in Serviio web interface, tagged it for video, audio and Pictures
    12. Enabled the windows networking and configured it as simple file/print server
    13. In Flexshare enabled the mediafolder for windows networking
    14. From my Windows PC on the LAN transferred a short avi-video, mp3 file and a jpeg to the media folder
    15. Checked the Serviio log and could see that all Three files (above) had now been recognized and added to the Serviio database
    16. From a tablet on my LAN I started a DLNA browser, pointed it to my test-server and could see/play all Three files
    17. With puTTy from my Windows PC I did a remote login to the testserver. Changed to the root directory and issued a "find -name ffmpeg" : The ffmpeg was in \usr\bin\ just as expected

    So, it is no general fault in the repos and I have no ideas why it does not work for you.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 16 2014, 06:34 AM - #Permalink
    Resolved
    0 votes
    Jeff,
    A small correction: There should not be a folder "ffmpeg" in /usr/bin . However you should find a number (4 I think) of ffmpeg files in /usr/bin and the key one should be named "ffmpeg". With FFmpeg installed in your server try:
    ls -al /usr/bin/ff*


    You did not say from where the FFmpeg is installed. From what repo does the output from
    yum info ffmpeg

    say you have installed it from?

    If you have not given up yet, from the command prompt uninstall & install it again and watch closely all the messages:
    yum erase ffmpeg
    yum install ffmpeg


    Is everything successful?
    Is all packages installed from ClearOS-repos?

    If I have some time this weekend I might fire up a new virtual machine and do a fresh install of ClearOS and Serviio. If I do, I will let you know how it went.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 15 2014, 10:08 PM - #Permalink
    Resolved
    0 votes
    Just did a complete erase of all of serviio and ffmpeg. Reinstalled from the repos. Looked in /usr/share and the ffmpeg folder is in there.
    Looked in /usr/bin and no ffmpeg folder in there anywhere.
    Either something is hosed up in my system or something is snaffued in the install of that repo rpm
    Is there anyone in a position to access the rpm repo and look at that ffmpeg rpm.
    This is a completely fresh install of cos 6.5 on this machine
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 15 2014, 09:37 PM - #Permalink
    Resolved
    0 votes
    The ffmpeg folder was under /usr/share with the presets but there was no folder at all in /usr/bin
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 15 2014, 06:27 PM - #Permalink
    Resolved
    0 votes
    Hi,
    - With "yum info ffmpeg" you should also see from where you had ffmpeg installed (it used to be from repo: contribs ).
    - Version 2.0.2 is the correct version.
    - ffmpeg executable shall be located in /usr/bin/ffmpeg . In /usr/share/ffmpeg you shall have a few preset files like the ones you had.

    When you do yum erase ffmpeg, all of the serviio installation should be automatically uninstalled (due to dependency on ffmpeg), unless your yum database is totally out of order.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 15 2014, 03:56 PM - #Permalink
    Resolved
    0 votes
    Its not installing ffmpeg for some reason. I sftp up into the server and under /usr/share i can see a folder ffmpeg. When I go into the ffmpeg folder there are 6 or 7 ffpreset files and thats it.
    Go to the command line and rpm -qa and there is no ffmpeg installed at all in that list WTH
    Got to be something in the repo because its installing with serviio from the repo.
    OK this is weird. System says its not installed.
    yum erase ffmpeg and it goes to uninstall ffmpeg and all of the serviio apps. But system isnt showing it installed.
    ffmpeg being uninstalled is ffmpeg-2.0.2-61.el6.x86_64
    Im lost
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 15 2014, 06:07 AM - #Permalink
    Resolved
    0 votes
    Jeff,
    OK, you are getting closer... If Serviio cannot find FFmpeg at all (which is a lot worse than an old version of it...), it will not show any media since it uses FFmpeg for that.

    So then why is Serviio not finding FFmpeg? Well, I can right now think of five possibilities (could be more):
    1. FFmpeg is not installed. This should not happen if you installed Serviio from the ClearOS marketplace.
    2. You have enabled a repo that is not ClearOS standard and that contains a newer version of FFmpeg than what is found in the ClearOS repos (yum will take the latest version found) and that FFmpeg installs to a different place (folder) in your machine than ClearOS standard.
    3. You have installed/compiled your own version of FFmpeg that is placed in another place (like in point 2 above).
    4. The guys at Clearfoundation could have played around with FFmpeg so that it now installs somewhere else (not likely).
    5. You have renamed the FFmpeg executable (why would you do that...?)

    Please check ( at the command line) with yum what version of FFmpeg you have installed (and what repo you got it from). That could maybe give a hint.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 14 2014, 11:13 PM - #Permalink
    Resolved
    0 votes
    Update
    reinstall all and its still not showing anything. Ive got 2 movie folders in there and its not showing them. Looking in the logs Im seeing it telling me that ffmpeg is not install and serviio will not work at all without it.
    I know that ffmpeg is installed

    Logs arent showing any files or folder indexed.

    2014-10-14 18:08:07,580 ERROR [MediaServer] FFMPEG not found. Serviio will not work properly.

    Server is a Dell Poweredge 2950 dual quad core 3.4's 16 gig ram etc plenty fast enough
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 14 2014, 10:21 PM - #Permalink
    Resolved
    0 votes
    OK I tried that and it was a no go. I even added another folder like a home folder as a media folder in serviio and added a couple of folders, video files and jpegs. Didnt work. I couldnt see anything.
    I think Im gonna uninstall the whole thing including ffmpeg and reinstall.
    Im not sure if it makes a difference or not but my pro version license is for version 1.3 and this is 1.4.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 14 2014, 08:30 PM - #Permalink
    Resolved
    0 votes
    Jeff,
    A few comments:
    - Only thing that is needed is to set "Allow 3rd party read access" in the Flexshare setting for your Movie folder. Not sure what happens if you manually go in and set permissions (may cause problems with LDAP and stuff...)

    - FFmpeg should be installed (its a requirement of the Serviio-rpm). However, even if I have set requirement to use the latest available FFmpeg version in the ClearOS repos (as of march 2014), the version (tend to remember it is 2.0) is fairly OLD. If your movies are H265 (twice as good by the way as mp4 / H264 and 4x better than mpeg2) for instance, that version of FFmpeg will NOT recognize such files. Based on your description, I guess this is not the reason in your environment, unless you had done your own FFmpeg installation on your old machine that had a later version.

    - Depending on the speed of your server, it will take Serviio some time to index the files. Then again, I guess you have been working on this for some time so this is probably not the reason either.

    - Please have a look at the serviio log (you find it in the Serviio Web interface - the "log" tab). You shall see an entry for every indexed file that was added. It should also give you a warning for each file that FFmpeg cannot recognize. Any other error or warning?

    - Please check that you have configured Serviio to check for movies in the correct directory (in the Serviio Web interface). Try to add some simple jpeg pictures and maybe a mp3 audio file too (and mark that it shall look for such files). Does it recognize these files?

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 14 2014, 07:59 PM - #Permalink
    Resolved
    0 votes
    Cant figure this one out.
    Ive moved everything over to the new server and its online.
    I have a serviio pro license and its installed. I created a flexshare and its linked in serviio as my media folder. Sharing, web and network file share are all enabled as well as 3rd party apps.
    I have about 80 to 100 movies in folders within my serviio flexshare folder however when i go in to serviio thru servigo or through the mediabrowser interface its only showing me one folder of a movie. In looking into that folder the actual .mkv file isnt even showing. Its like all the movies dont exist in that folder. I even changed all my file permissions on the main flexshare to 777. It still wont show them
    I dont get it

    Anyone?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 10 2014, 06:02 PM - #Permalink
    Resolved
    -1 votes
    "..there was no folder for serviio..." Yes, that pretty much explain why Serviio will not start. Now the question is, why is the serviio folder missing?

    When serviio is installed using the Clearfoundation Marketplace, two important folders should be created:

    /usr/share/serviio
    /usr/share/serviio-WebUI

    The first folder contains almost all files that is related to the program serviio, including the main exe-file. The serviioWebUI folder contains files needed for the web-interface to serviio that you can access from the normal web-interface in ClearOS.

    Suggestions for troubleshooting:
    1. First from command line do an unistall of serviio, serviioWebUI, app-serviio, app-serviio-core.
    2. Directly after you have (tried) to install serviio from the marketplace. Go to the "Reports", "Logs", System log and have a look. If I remember right you should see the yum install serviio, serviioWebUI, app-serviio, app-serviio-core and the progress/results. Does it report that all 4 (plus any other dependencies) were installed OK?

    Alternative to try to install it via the webinterface is to do it from the command line:
    yum install serviio , serviioWebUI, app-serviio, app-serviio-core
    Then you will see all the progress automatically at the command line prompt.

    Results?

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Tuesday, October 07 2014, 05:34 AM - #Permalink
    Resolved
    0 votes
    Extreemly sorry for the delayed reply. I had been called unexpectidly out of town and had no internet. :S


    System info:

    * Version ClearOS Community release 6.5.0 (Final)
    * Kernel Version 2.6.32-431.23.3.v6.x86_64
    * Fresh Install Yes
    * No extra repos installed, and no other software installed other than ClearOS / marketplace apps


    I just tried to open the surviio log at /usr/share/serviio/log/serviio.log but it was blank. I went to /usr/share and was a bit dumbfounded that there was no folder for serviio... This could be a big clue as to why the service will not start. Perhaps it didnt install properlly in the first place?

    Thoughts?

    And thanks again for your help!!!
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, September 30 2014, 10:53 AM - #Permalink
    Resolved
    0 votes
    ToyotaHEAD,
    Can you give us a bit more information about your system? For instance:
    ClearOS version ?
    Is it a fresh/new installation or have you had your machine up and running for a while?
    Any other applications installed and running?

    It was a while ago I worked with Serviio trouble shooting since it has been working so well ;-) Also, no new release since March 2014 so I have almost forgot all about how. As a side note there are about 4000 installations of Serviio on ClearOS machines by now. Sure, a number of these are reinstallations on virtual machines, but it is at least an indication on how many systems that is up and running out there.

    /Fred

    edit: I saw in Another thread that you did not find any log to look at. After you have tried to start Serviio: In a command window, type (if you like nano)
    nano /usr/share/serviio/log/serviio.log

    Scroll with page-up/down. Exit the nano editor with a Ctrl-x .

    You could also test this to see if serviio is running:
    service serviio status
    . If you have a non-standard installation, you could easily end up with having an associated java process running even if serviio is stopped. But since you said you have uninstalled it, deleted the directories and made a new install, then I guess the fault is somewhere else.
    The reply is currently minimized Show
  • Accepted Answer

    ToyotaHEAD
    ToyotaHEAD
    Offline
    Monday, September 29 2014, 08:40 AM - #Permalink
    Resolved
    0 votes
    I installed Serviio but when I go to start it, it never starts. I have tried doing as Fredrik suggested back on page one but that didnt work either. Any help / pointers would be great!


    Thanks,


    Fredrik Fornstad wrote:
    Csaba,
    Not sure what could be your problem. Have you tried to install some other serviio version manually that could be conflicting?
    Or do you have an unusual java installation, FFmpeg or have changed your repositories to exclude some of the defaults?

    I suggest you uninstall the serviio app and reinstall it from the marketplace.

    Try:
    yum erase app-serviio, app-serviio-core, serviio, serviio-WebUI

    Then fully remove these directories:
    rm -rf /usr/share/serviio

    rm -rf /usr/share/serviio-WebUI

    Then from the webconfig, go to marketplace and download and install serviio. Does it work now?

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 16 2014, 12:43 AM - #Permalink
    Resolved
    0 votes
    [/quote]

    Dear Chuck or anybody who is experienced , I need some advice before install clearos. I have a workstation HP Z420, cpu is Xeon E5-1600 3.2 GHZ and 32 GB ram. I have a student dormatory and want to stream some medias and TV stations from that wokstation. Especially I want to re-stream some rtmp links from servigo online resources part. What do you think about configuration. The students will connect the serviio with servigo at android phones.Do you think its enough for 50-60 online user ?[/quote]

    HELL NO !!!,

    Well ... maybe but your user's will hate the experience, forget HD or even DVD quality, Serviio by default transcodes the media to whatever that specific hardware rendering format, unless the device can play the file, hypothetically one of your files was a wmv, your xbox will play that without Serviio needing to transcode it.

    That said most DNLA TV's render in an H264 format (MP4) I don't think any server you could buy let me rephrase you'd want to pay for could handle that work load, not to mention the bandwidth limitations trying to stream to 50 devices.

    :Serviio is not an Enterprise Solution Media Server.

    Let me give you a little example of my network here and what it can do and it's limitations,

    My COS box is a dedicated I-7 Haswell, I like you also have 32 gigs of ram, 6 terabytes of storage in a raid 5 config.

    I'm in full gateway mode with IDS, Proxy and Content filtering, DC, Print Server ect and Serviio Pro.

    I also have another powerhouse that runs my HTPC with XMBC running on top of Windows7.

    You may be thinking to yourself why would I need 2 machine's to accomplish the same thing, lets begin with Serviio will never transcode a full 1080 rip let alone 3D XMBC delvers that quality seamlessly through HDMI out to my primary TV.

    The way I have this setup in my place is all my high quality content I have residing on that machine, however all my HD ( 720) TV shows, old DVD rips, music ect I have Serviio streaming that to all the other devices, which are 2 Tablets, 4 Samsung S-4's 1 Xbox one, 1 Xbox 360 and 2 DNLA 720 TV's

    The Tablets if being used get the media via FLASH and the browser, the Androids I have the Serviio app for, and the others are transcoded.

    That's 10 device's & the only time they were all in use is when I first built the system to test it's capacity, when I did it my COS box spiked out & 100 percent and delivered the content, you just knew the box was working OT.

    I've had this particular setup running for about 45 days now without issue, however I wouldn't want to go gambling adding anything more to this that I already have, I'm most likely at my max.

    Hopefully this helps
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, February 22 2014, 10:29 AM - #Permalink
    Resolved
    0 votes
    Maxwell,
    Thanks for reporting. However, if unchecking "Scan for file additions and updates" had an impact on your situation, then that is an indication that you DO have a problem somewhere in your setup...

    "Scan for file additions and updates" shall be possible to have enabled. I have it enabled and it works fine for me.

    Just a reminder: If you are using flexshare for your media-storage (which is my recommended setup in ClearOS), then you MUST go to the ClearOS Flexshare setup and enable "3rd party app read access" for each flexshare folder you use for media. That will enable "World" read access to the folders, and all sub-folders.

    Ali,
    I have no experience in CPU requirements for anything like what you suggest so I can not give you any indication. However, I tend to believe that if it is "only" to forward the media it might work. But if the devices require your Serviio server to do transcoding in real time for all of them, then I would guess you will need a much more powerful setup. But I am only guessing.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Ali
    Ali
    Offline
    Friday, February 21 2014, 09:33 PM - #Permalink
    Resolved
    0 votes
    Chuck Sicher wrote:

    Thanks for the beer-offering, however I have no arrangement in place for receiving such things. Not now anyway


    Get one, it's well deserved, When Tim came out with the Zarafa community app for marketplace, I was happy to pay the 10 buck's well worth it.


    I did the serviio adoption for ClearOS with no other thought than wanting to contribute to the community.


    Just another reason to fully migrate to open source, you people who are addicted to Windows pay attention ;)


    The pro-licence is something that I have not tried myself since I do not have one... However, I THINK it should be possible to upload into the server using the serviio-WebUI interface that is included in the ClearOS serviio app.


    I found that after I posted, and did upload my current pro-license.

    However anyone contemplating this move need's to think a few things through, lets talk about what went wrong.

    Because I had serviio running on 2 machines on the same network, it reverted my other installation as a free version and disabled the web based flash interface, not that big of a deal if I thought this through.

    My clearbox is only a 3.4 ghz P-4 3 gigs of ram standalone as my gateway, IDS, DNS, DHCP, MAIL, DC and Windows File Sharing. You get the point, the work load was never tremendous for this machine, and it’s never truly run at full capacity. The real limitation comes from storage; I only have 750 gigs on this machine.

    My current media server on the other hand is an I-7 haswell chipset with 16 gigs of ram and 8 Terabytes of storage, a true machine for streaming video on every device in the house, I have yet to choke this one and have tested it running 5 different movies simultaneously on 3 TV’s and 2 Tablets, it barely broke a sweat.

    However the serviio installation on my clearbox had a something to say when I tried to stream 2 movie’s it maxed out the CPU at 100 percent and wouldn’t even deliver the third.

    So inclosing I have some hardware to order and will be rebuilding my clearbox, when it’s finished it will be a monster, I’ll use my current media server as a redundant media backup and keep it connected to the TV, I still like the ability to use it as a workstation on that screen, it’s awesome for editing video.

    Hopefully this helps a few people.

    Chuck


    Dear Chuck or anybody who is experienced , I need some advice before install clearos. I have a workstation HP Z420, cpu is Xeon E5-1600 3.2 GHZ and 32 GB ram. I have a student dormatory and want to stream some medias and TV stations from that wokstation. Especially I want to re-stream some rtmp links from servigo online resources part. What do you think about configuration. The students will connect the serviio with servigo at android phones.Do you think its enough for 50-60 online user ?
    The reply is currently minimized Show
  • Accepted Answer

    maxwell
    maxwell
    Offline
    Friday, February 21 2014, 07:27 PM - #Permalink
    Resolved
    0 votes
    At last I found the problem why hang seviio. When the box is checked "Scan for file additions and updates" and when you turn off this feature works without problems
    The reply is currently minimized Show
  • Accepted Answer

    maxwell
    maxwell
    Offline
    Monday, February 10 2014, 08:24 PM - #Permalink
    Resolved
    0 votes
    I solved the problem, I uninstalled and installed the new.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 07 2014, 06:51 PM - #Permalink
    Resolved
    0 votes
    Maxwell,
    Are you using Google translate? I can not understand what you are trying to say... Sorry.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    maxwell
    maxwell
    Offline
    Friday, February 07 2014, 05:00 PM - #Permalink
    Resolved
    0 votes
    When I set the problem right there. Java updated itself later. Settings already dumped and set on a new one. But, as before, off although the status check through service serviio status command writes all about.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, February 07 2014, 04:10 PM - #Permalink
    Resolved
    0 votes
    Maxwell,
    OK, these two messages are "only" warning messages.

    The first one is natural since the FFmpeg version in ClearOS (today at least) is not compiled with libass support. Serviio will work anyway, but it will not be able to transcode the subtitles belonging to a given video stream if the client require transcoding. Serviio will in these cases "only" serve the video, but without subtitles.

    The warning "WARN [JdbcUtils] Cannot close DB Statement " is something I myself never have seen in my environment and I do not know if it is related to the crash. I guess it is an indication that something went wrong with the Java/database/filesystem... Did your system crash around that time?

    Some more questions:
    Do you have enough space on your hard disk?
    Do you have any special version of Java on your machine?
    After you have successfully started Serviio, how long time does it take until it crashes?

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    maxwell
    maxwell
    Offline
    Friday, February 07 2014, 03:31 PM - #Permalink
    Resolved
    0 votes
    Erorr!
    2014-02-05 21:34:51,272 WARN [FFMPEGWrapper] FFmpeg is not compiled with libass support, rendering subtitles (hardsubs) will not work.
    2014-02-07 02:48:20,737 WARN [JdbcUtils] Cannot close DB Statement
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, February 06 2014, 05:48 PM - #Permalink
    Resolved
    0 votes
    Serviio-WebUI is now updated to version 1.5.4-1 in the repository, your serviio installations should be updated whenever your ClearOS system is doing a software update.

    The release notes for the Serviio-WebUI (upstream) are:
    - 1.5.4 - 01/20/2014 - Corrected function name
    - Changed dialog size for Serviidb
    - Fixed resource type for OS
    - Serviidb OS item are now enabled by default
    - Fixed a bug where scrollbar is not clickable in certain tables in Chrome

    Actually, I managed to have most of them included already in the original release for ClearOS. But there are some corrections for Serviidb included now.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, February 06 2014, 07:44 AM - #Permalink
    Resolved
    0 votes
    Mick:
    If you are compiling your own FFmpeg I suggest you also enable https by adding --enable gnutls to the compiler string. With that you will also be able to stream from online sources that are only using https (getting more common). Openssl will also work (does the same thing...), but if you want openssl you need to enable "non-free" as well which makes FFmpeg impossible to re-distribute from a licensing point of view.

    I have in my own PC recompiled the ATrpms FFmpeg and just added --enable libass & --enable gnutls and it works OK. libass and gnutls can be found in different clearos repositories, so you do not need to bring in from other sources. However, you do need to install the special ATrpms build system for their spec-file to work.
    http://dl.atrpms.net/all/atrpms-rpm-config-203-1.noarch.rpm
    But even when I have done this I get about a 100 compiler warnings of depreciated funtion calls. It does not look pretty, and I am not sure what it actually does for the end result. It will however build the rpm and I can install it an run FFmpeg afterwards.

    You find the ATrpms source here:
    http://packages.atrpms.net/dist/el6/ffmpeg2/
    Download the src.rpm file, unpack it, change the spec-file (note that you need to change it in multiple places)

    For your info: Since ClearOS pulls FFmpeg directly from ATrpms, I have requested that ATrpms should enable libass and gnutls in their future builds, but I have had no response yet...

    Maxwell:
    The easy one first: The warning in WebUI that version "v was found" is missleading... As I have said in the instruction info-box under the Serviio Media Server app in ClearOS: If you get this warning message, it means that Serviio-WebUI cannot establish a connection to the Serviio server. It ususally means it is in its start up phase (that takes some time first run after installation). In your case this is natural since serviio for som reason is not running...

    It would be interesting to know if you can start serviio successfully after you have "stopped" it. Please enter
    service serviio stop
    service serviio start
    service serviio status


    If you can start it, for how long will it run before the serviio crashes?

    You did not post any error messages from the serviio.log, did you have any at all?
    You give very little information about your system and the behaviour which makes it very hard to guess where the fault is.
    Have your tried to install/build serviio before on this PC before installing Serviio from the market place? If so, you could have conflicting files etc, but I am just guessing here since I do not know your setup.

    One suggestion could be that you uninstall serviio, serviio-WebUI, app-serviio, app-serviio-core and REMOVE all concened folders. Then you can try to install it again (see an earlier post in this thread).

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    mick_w
    mick_w
    Offline
    Wednesday, February 05 2014, 10:33 PM - #Permalink
    Resolved
    0 votes
    Fred

    Great stuff, this looks like the first DNLA server that appears to do transcoding correctly without having to mess around scripting custom profiles for each player.

    When I get some free time I'm going to try and build ffmpeg with "--enable-libass" for subtitle support, which would be the icing on the cake.

    Only slight issue at the moment is scanning of the media take ages - it looks like its a known java issue, but you only have to scan the full library once.

    Thanks for the hard work.
    The reply is currently minimized Show
  • Accepted Answer

    maxwell
    maxwell
    Offline
    Wednesday, February 05 2014, 07:34 PM - #Permalink
    Resolved
    0 votes
    [root@system ~]# service serviio status
    serviio.sh dead but subsys locked
    [root@system ~]# serviio.sh dead but subsys locked
    -bash: serviio.sh: command not found
    [root@system ~]# service serviio start
    /var/lock/subsys/serviio.sh exist.Serviio already running? [FAILED]
    [root@system ~]# service serviio stop
    Shutting down Serviio Media Server daemon: [FAILED]

    :S WARNING: Web UI is optimized for Serviio v1.3 but v was found. There may be a loss of functionality. Please consider updating. ?????
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 05 2014, 12:01 PM - #Permalink
    Resolved
    0 votes
    Maxwell,
    You do not five a very detailed description of your problem and I have a hard time to understand what your problem is.

    Some ideas for troubleshooting:
    1. In the web interface for Serviio (https://your.clearos.box.ip:81/serviio ), please go to the "logs" tab and check the log serviio.log . Do you see any errors around the times when you experience the problem?
    2. Have you some cron jobs running at night that kills the serviio deamon?
    3. When you have the problem, please check if serviio.sh is running (command line: service serviio status )

    Results?

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    maxwell
    maxwell
    Offline
    Tuesday, February 04 2014, 09:03 PM - #Permalink
    Resolved
    0 votes
    I use it on the LAN. Click start everything works fine. I use it on TV. But as the night and nothing works even though the service is running and starts to work after restart all services.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 04 2014, 08:16 PM - #Permalink
    Resolved
    0 votes
    Jeff,
    Great to hear. Just for clarification (not sure everyone is aware):

    Serviio (the server itself) is separate from the Serviio-WebUI that I have included to configure the Serviio server. The web-server config file mentioned in a reply earlier in this thread is controlling the Serviio-WebUI webinterface only and has nothing to do with clients (and their IP) that want to view media or with the Serviio server.

    On an Android device, you can probably also use ServiiDroid to Control (not Watch media) your Serviio-server if you have opened up your firewall.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 04 2014, 08:05 PM - #Permalink
    Resolved
    0 votes
    By the way I did get it to work from the outside. Its only in the pro version. Just open up the serviio port and run servigo and it works like a charm.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, February 04 2014, 08:01 PM - #Permalink
    Resolved
    0 votes
    Maxwell,
    Can you be a bit more specific?

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    maxwell
    maxwell
    Offline
    Tuesday, February 04 2014, 07:58 PM - #Permalink
    Resolved
    0 votes
    mood all working properly but suddenly he turned off and after 24 hours HELP
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 31 2014, 02:49 PM - #Permalink
    Resolved
    0 votes
    Jeff, if it were me and I wanted access to serviio's panel from the outside world, the best and most secure way is set up your clear box with an Open VPN Server, then install a client on the machine you use on the outside world,

    Thats what I use when I'm on the road with my laptop or worse is my daughter who lives at the SBU dorms, there's days I want to kill her when she decides to stream a movie directly from here or more entertaining when she's to cheap to ink for her printer, all of a sudden I have 34 pages of medical documents printing and she picks them up later,

    I know, I have no-one to blame but myself for her access
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 30 2014, 07:32 AM - #Permalink
    Resolved
    0 votes
    Hi,
    Having checked: Tim is almost right ;) The serviio webUI runs in the webconfig sandbox, so the conf file is not stored in the "usual" place. Instead you will find it here:

    /usr/clearos/sandbox/etc/httpd/conf.d/Serviio.conf

    Apart from editing this file, your firewall setting needs to allow access as well. But in your case that is probably not the problem.

    WARNING: Do not edit this file and open your firewall unless you really understand the consequences of opening up your machine to the outside (evil) world! The Serviio-WebUI web interface does contain functionallity to view ANY file on your file system as long as the file system allows access (chmod / chown).

    You have been warned. :dry:

    I will think about this for future (no promise...) releases and see if I can make it configurable in some way.

    /Fred
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 29 2014, 09:04 PM - #Permalink
    Resolved
    0 votes
    The default BackupPC config is to prevent external access

    /etc/httpd/conf.d/BackupPC.conf

    Edit or change the 'allow from x.x.x.x' rules and then restart the web service
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 29 2014, 09:02 PM - #Permalink
    Resolved
    0 votes
    If that is a web server front end have a look in /etc/httpd/conf.d for some sort of serviio file and see if it has any access restrictions in it. I think these can also be put elsewhere but I am not good with apache stuff.
    The reply is currently minimized Show
Your Reply