1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

UPnP/DLNA-Server Serviio for OmniOS (napp-it addon)

Discussion in 'Solaris, Nexenta, OpenIndiana, and napp-it' started by zos, Aug 30, 2014.

  1. zos

    zos Member

    Joined:
    Oct 27, 2013
    Messages:
    40
    Likes Received:
    20
    After having a few tries to install Serviio on OmniOS it's finally working now.

    I've created a first draft for an installer-script, which you can test now.

    Prerequisites:
    - Java (should be included in OmniOS basic installation)
    - napp-it
    - AMP (Apache, MySQL, PHP)

    You can install Serviio by submitting:
    wget -O - www.napp-it.org/serviio | perl

    The installer-script creates a new BootEnvironment so it will be easy for you to restore the last working state in case of problems.

    What you'll get:
    Serviio 1.4.1.2
    ffmpeg2 (needed for Serviio)
    dcraw (needed for Serviio)
    WebUI for Serviio 1.4 (php based)

    I'm using Joyent's repo for installing ffmpeg2 and dcraw. Unfortunately ffmpeg2 was compiled without support for librtmp, so rtmp-streams will not work.

    After the installer has finished you can access serviio-console by entering

    http://<your-server-IP>/phpserviio

    in your preferred browser. IF anybody will find bugs, please report here.
     
    #1
  2. zos

    zos Member

    Joined:
    Oct 27, 2013
    Messages:
    40
    Likes Received:
    20
    Just found a litte problem. The installer sets two wrong softlinks:

    ln -s /opt/local/bin/ffmpeg2 /opt/local/share/ffmpeg
    ln -s /opt/local/bin/dcraw /opt/local/share/dcraw

    This results in video files are not shown (only pics and music).

    If anybody already has installed Serviio using my installer, you can set the right softlinks by entering:

    ln -s /opt/local/bin/ffmpeg2 /opt/local/share/serviio/ffmpeg
    ln -s /opt/local/bin/dcraw /opt/local/share/serviio/dcraw

    You can temporarily use the following statement to install Serviio until gea has uploaded the newest version of the installer to napp-it.org:

    wget -O - www.wp10455695.server-he.de/serviio | perl
     
    #2
  3. gea

    gea Well-Known Member

    Joined:
    Dec 31, 2010
    Messages:
    1,534
    Likes Received:
    475
    Thanks
    I have uploaded 0.2 to napp-it.org.
     
    #3
  4. zos

    zos Member

    Joined:
    Oct 27, 2013
    Messages:
    40
    Likes Received:
    20
    If anybody is interested in using other locale settings than en_US-UTF-8 like e.g. german (de_DE-UTF-8) or french (fr_FR-UTF-8) etc. just edit the file

    /opt/local/share/serviio/bin/serviio.sh

    and add your prefered locale at the beginning of the file (before DIRNAME), e.g. for italian:

    LANG=it_IT.UTF-8;
    export LANG;

    save it and restart serviio-service by entering

    svcadm disable serviio
    svcadm enable serviio

    After refreshing your media-libs in serviio's web-frontend, serviio will show also media-files with local characters in its names.
     
    #4
  5. AlEg

    AlEg New Member

    Joined:
    Nov 15, 2014
    Messages:
    3
    Likes Received:
    0
    I have installed on my OmniOS the AMP and Serviio add ons as instructed on the Napp-it.org website, using root user account(as that is the only user account I use for accessing OmniOS).
    I use it solely as a fileserver up till now, and I want to add the Serviio media server to it.

    When firing up http://<ServerIP>/phpserviio from my Windows desktop, I get the response
    "403
    Forbidden
    You don't have permission to access /phpserviio on this server.
    "
    During setup of Serviio I have not been able to set any access or security settings.

    Where did I go wrong with this installation and how can I correct it?

    BTW
    phpmyadmin is accessible from the same Windows desktop.

    Thank you for your support

    AlEg
     
    #5
    Last edited: Nov 15, 2014
  6. AlEg

    AlEg New Member

    Joined:
    Nov 15, 2014
    Messages:
    3
    Likes Received:
    0
    ignore previous question, managed to solve it myself.
    Noticed the error was do to not installing the the WEBGUI for serviio.
    This was caused by the fact that OMNIOS could not certify the certificate from github.

    Solved it by adapting the serviio install script by adding the --no-check-certificate option to the wget serviio statement.

    Thanks for looking

    Cheers

    Aleg
     
    #6
  7. AlEg

    AlEg New Member

    Joined:
    Nov 15, 2014
    Messages:
    3
    Likes Received:
    0
    My Serviio on Omnios is not showing up on my renderers.
    I have tried using Popcorn NMT, Oppo BDP-83, JRiver MC, Foobar UPnP Browser.

    My feeling is something is being blocked, but I use a default bog standard OmniOS installation. Does Serviio require additional network/authorisation changes to make the Serviio visible?

    thank you for your support

    cheers

    AlEg
     
    #7
  8. zos

    zos Member

    Joined:
    Oct 27, 2013
    Messages:
    40
    Likes Received:
    20
    Hi AlEg,

    I haven't done special OmniOS settings to run Serviio and to make it visible for my renderers.

    So first check if serviio service is running (you can check/start/stop service also on the "Status"-tab if you enter <serverip>/phpserviio, but I prefer the command line):
    svcs | grep serviio

    You should get a result like this:
    online 14:56:35 svc:/application/UPnP-AV/serviio:default

    If not, start service with:
    svcadm enable serviio

    Have you done some initial settings like adding a library (<serverip>/phpserviio, see "Library"-tab / "Shared Folders"-tab), including to set checkboxes for Movies/Pics/Music/Docs and finally, very important, klicking the "Save"-Button on the right-hand side?

    Are there renderers shown in the "Status"-tab / "Renderer Profile"-tab?
     
    #8

Share This Page