Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Serviio Media Server V1.4 Plugin for unRAID V5.0

Featured Replies

Thanks for the updates Mayhem. I'm trying to create a slackware package for ffmpeg 1.1 in the hope you could use it in this plug-in. Having trouble getting the build to complete without errors but I'll keep on trying :)

 

Sent from my Nexus 4 using Tapatalk 2

 

  • Replies 268
  • Views 104.5k
  • Created
  • Last Reply

Well I tried the newest version and ffmpeg is still not installing. My log repeats this over and over:

2013-02-05 11:21:58,918 WARN  [ProcessExecutor] Cannot retrieve results, output reader is null
2013-02-05 11:21:58,919 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "ffmpeg": error=2, No such file or directory

 

DigitalDrifta posted this:

You need to go to /boot/config/plugins/serviio/ffmpeg and run ffsetup.sh

So I went to that location but there is no ffsetup.sh to run.

 

Thanks in advance for any help/guidance. :)

 

Think I'm having a similar problem, Serviio works but Subsonic will not transcode.., my error: cannot stat '/usr/bin/ffmpeg' No such file or directory

  • Author

UPDATE: 2013-02-06 1.1-9jr - Big rewrite of the rc.serviio start and stop routines and complete rewrite on disks_mounted and unmounting_disks. Should fix issues causing the script to fail and for some people preventing the unRAID server from stopping the array cleanly.

  • Author

Well I tried the newest version and ffmpeg is still not installing. My log repeats this over and over:

2013-02-05 11:21:58,918 WARN  [ProcessExecutor] Cannot retrieve results, output reader is null
2013-02-05 11:21:58,919 ERROR [ProcessExecutor] Fatal error in process starting: Cannot run program "ffmpeg": error=2, No such file or directory

 

DigitalDrifta posted this:

You need to go to /boot/config/plugins/serviio/ffmpeg and run ffsetup.sh

So I went to that location but there is no ffsetup.sh to run.

 

Thanks in advance for any help/guidance. :)

 

Think I'm having a similar problem, Serviio works but Subsonic will not transcode.., my error: cannot stat '/usr/bin/ffmpeg' No such file or directory

 

I have just posted a new version of the serviio plugin (1.1-9jr) and the subsonic modified plugin (4.7-4.1.5jr) which should fix the ffsetup bug

 

I have just posted a new version of the serviio plugin (1.1-9jr) and the subsonic modified plugin (4.7-4.1.5jr) which should fix the ffsetup bug

 

Thanks..! Will test when I get home tonight and report back...

Installed the new version and no joy. I still have the no ffmpeg error in the Serviio log files as above. However, this time I do have ffsetup.sh located here:

/mnt/cache/.apps/serviio/ffmpeg

I'm just not sure how to run it.  :o

 

PS- I did reboot the tower as required in the installation section of your first post.

  • Author

Installed the new version and no joy. I still have the no ffmpeg error in the Serviio log files as above. However, this time I do have ffsetup.sh located here:

/mnt/cache/.apps/serviio/ffmpeg

I'm just not sure how to run it.  :o

 

PS- I did reboot the tower as required in the installation section of your first post.

Can you try something for me.

Can you delete the /mnt/cache/.apps/serviio/ffmpeg directory and delete the /boot/config/plugins/serviio/serviio-version.cfg file. This will force the plugin to reinstall the ffmpeg directory and make sure nothing from the old version is left behind. Let me know if this helps

Try that, then re-installed:

Tower login: root
Linux 3.0.35-unRAID.
root@Tower:~# installplg /boot/plugins/serviio-1.1-9jr-cache.plg
installing plugin: serviio-1.1-9jr-cache
file /boot/packages/jre-7u2-i586.txz: already exists
  upgradepkg --install-new /boot/packages/jre-7u2-i586.txz ...
+==============================================================================
| Skipping package jre-7u2-i586 (already installed)
+==============================================================================


success
file /boot/packages/libdc1394-2.2.0-i486-1sl.txz: already exists
  upgradepkg --install-new /boot/packages/libdc1394-2.2.0-i486-1sl.txz ...
+==============================================================================
| Skipping package libdc1394-2.2.0-i486-1sl (already installed)
+==============================================================================


success
file /boot/packages/libraw1394-2.0.7-i486-1.txz: already exists
  upgradepkg --install-new /boot/packages/libraw1394-2.0.7-i486-1.txz ...
+==============================================================================
| Skipping package libraw1394-2.0.7-i486-1 (already installed)
+==============================================================================


success
file /boot/config/plugins/serviio/serviio-1.1-linux.tar.gz: already exists
file /boot/config/plugins/serviio/serviio-ffmpeg-1.2-2jr.tgz: already exists
file /boot/config/plugins/serviio/serviio-webui-1.0.1-c_for_1.1.tgz: already ex
ists
file /boot/config/plugins/jre/jre.png: already exists
file /boot/config/plugins/serviio/serviio.png: already exists
file /boot/config/plugins/serviio/consolewebgui.png: already exists
file /boot/config/plugins/serviio/serviiomediabrowser.png: already exists
file /boot/config/plugins/serviio/serviio_plugins_1.1.tgz: already exists
file /tmp/jre-cleanup: successfully wrote INLINE file contents
  /bin/bash /tmp/jre-cleanup ... success
file /boot/config/plugins/jre/jre.cfg: successfully wrote INLINE file contents
file /usr/local/emhttp/plugins/webGui/UserUtils.page: already exists
file /usr/local/emhttp/plugins/jre/jre.page: successfully wrote INLINE file con
tents
file /usr/local/emhttp/plugins/jre/jre.png: successfully copied LOCAL file
file /usr/local/emhttp/plugins/jre/jre.php: successfully wrote INLINE file cont
ents
file /var/log/plugins/jre: already exists
file /tmp/serviio-cleanup.sh: successfully wrote INLINE file contents
  successfully changed file mode
  /bin/bash /tmp/serviio-cleanup.sh ... success
file /tmp/serviio-webui.sh: successfully wrote INLINE file contents
  successfully changed file mode
  /bin/bash /tmp/serviio-webui.sh ... success
file /usr/local/emhttp/plugins/serviio/Serviio.php: successfully wrote INLINE f
ile contents
file /usr/local/emhttp/plugins/serviio/Serviio.page: successfully wrote INLINE
file contents
file /usr/local/emhttp/plugins/serviio/serviio.png: successfully copied LOCAL f
ile
file /usr/local/emhttp/plugins/serviio/consolewebgui.png: successfully copied L
OCAL file
file /usr/local/emhttp/plugins/serviio/serviiomediabrowser.png: successfully co
pied LOCAL file
file /etc/rc.d/rc.serviio: successfully wrote INLINE file contents
  successfully changed file mode
file /usr/local/emhttp/plugins/serviio/event/disks_mounted: successfully wrote
INLINE file contents
  successfully changed file mode
file /usr/local/emhttp/plugins/serviio/event/unmounting_disks: successfully wro
te INLINE file contents
  successfully changed file mode
plugin successfully installed
root@Tower:~#

 

I rebooted the tower and still no luck.

It looks like ffmpeg is installed as I can see it in the directory (see pic).

Capture.PNG.d8805db55800d6286858c83db0c9baf4.PNG

Okay, I checked the Serviio logs and it appears it is adding my movies now. :)

I'll wait until it completes and we'll see what happens....

Success! After I got past my ffmpeg issues, it still wasn't showing up on my WDTV Live due to a Serviio configuration error.

 

Mayhem, I can't thank you enough for maintaining this plugin and helping me to get it to work.  8)

  • Author

Success! After I got past my ffmpeg issues, it still wasn't showing up on my WDTV Live due to a Serviio configuration error.

 

Mayhem, I can't thank you enough for maintaining this plugin and helping me to get it to work.  8)

@LakersFan

Can you give me a list of the other plugins you have installed. There might be a conflict with another plugin and their use of ffmpeg. I'm trying to find as many scenarios that could be causing problems with serviio. The biggest one so far is that a lot of other plugins out there are using ffmpeg 0.8 which is not compatible with serviio which needs a minimum of 0.9, hence why I compiled my own using the sources from serviio.

 

I am currently working on making my ffmpeg a proper slackware install package so that it will be easier for other plugins to use it if needed.

I'm only using SABnzbd and Sickbeard... And now Serviio. ;)

Success! After I got past my ffmpeg issues, it still wasn't showing up on my WDTV Live due to a Serviio configuration error.

 

Mayhem, I can't thank you enough for maintaining this plugin and helping me to get it to work.  8)

@LakersFan

Can you give me a list of the other plugins you have installed. There might be a conflict with another plugin and their use of ffmpeg. I'm trying to find as many scenarios that could be causing problems with serviio. The biggest one so far is that a lot of other plugins out there are using ffmpeg 0.8 which is not compatible with serviio which needs a minimum of 0.9, hence why I compiled my own using the sources from serviio.

 

I am currently working on making my ffmpeg a proper slackware install package so that it will be easier for other plugins to use it if needed.

 

A big thanks from me too..!

 

My issue wasn't with Serviio but with Subsonic breaking down when trying to use ffmpeg, all good now tho'...

 

For what it's worth, Plugins I'm using: Serviio Media Server, LazyLibrarian, Plex Media Server, Subsonic, utserver, CouchPotato v2, Gamez, Headphones, HTPC Manager, maraschino, Mylar, SABnzbd & SickBeard

 

Cheers, Fergal

Can anyone please help me, I am unable to install this plugin sucessfully.

When I try to launch console it says "not found, does not exists"

 

Here is the log when trying to run the installation:

root@Tower:~# installplg /boot/plugins/serviio-1.1-9jr-flash.plg

installing plugin: serviio-1.1-9jr-flash

file /boot/packages/jre-7u2-i586.txz: already exists

  upgradepkg --install-new /boot/packages/jre-7u2-i586.txz ...

+==============================================================================

| Skipping package jre-7u2-i586 (already installed)

+==============================================================================

 

success

file /boot/packages/libdc1394-2.2.0-i486-1sl.txz: already exists

  upgradepkg --install-new /boot/packages/libdc1394-2.2.0-i486-1sl.txz ...

+==============================================================================

| Skipping package libdc1394-2.2.0-i486-1sl (already installed)

+==============================================================================

 

success

file /boot/packages/libraw1394-2.0.7-i486-1.txz: already exists

  upgradepkg --install-new /boot/packages/libraw1394-2.0.7-i486-1.txz ...

+==============================================================================

| Skipping package libraw1394-2.0.7-i486-1 (already installed)

+==============================================================================

 

success

file /boot/config/plugins/serviio/serviio-1.1-linux.tar.gz: already exists

file /boot/config/plugins/serviio/serviio-ffmpeg-1.2-2jr.tgz: already exists

file /boot/config/plugins/serviio/serviio-webui-1.0.1-c_for_1.1.tgz: already exists

file /boot/config/plugins/jre/jre.png: already exists

file /boot/config/plugins/serviio/serviio.png: already exists

file /boot/config/plugins/serviio/consolewebgui.png: already exists

file /boot/config/plugins/serviio/serviiomediabrowser.png: already exists

file /boot/config/plugins/serviio/serviio_plugins_1.1.tgz: already exists

file /tmp/jre-cleanup: successfully wrote INLINE file contents

  /bin/bash /tmp/jre-cleanup ... success

file /boot/config/plugins/jre/jre.cfg: successfully wrote INLINE file contents

file /usr/local/emhttp/plugins/webGui/UserUtils.page: already exists

file /usr/local/emhttp/plugins/jre/jre.page: successfully wrote INLINE file contents

file /usr/local/emhttp/plugins/jre/jre.png: successfully copied LOCAL file

file /usr/local/emhttp/plugins/jre/jre.php: successfully wrote INLINE file contents

file /var/log/plugins/jre: already exists

file /tmp/serviio-cleanup.sh: successfully wrote INLINE file contents

  successfully changed file mode

  /bin/bash /tmp/serviio-cleanup.sh ... success

file /tmp/serviio-webui.sh: successfully wrote INLINE file contents

  successfully changed file mode

  /bin/bash /tmp/serviio-webui.sh ... success

file /usr/local/emhttp/plugins/serviio/Serviio.php: successfully wrote INLINE file contents

file /usr/local/emhttp/plugins/serviio/Serviio.page: successfully wrote INLINE  file contents

file /usr/local/emhttp/plugins/serviio/serviio.png: successfully copied LOCAL file

file /usr/local/emhttp/plugins/serviio/consolewebgui.png: successfully copied LOCAL file

file /usr/local/emhttp/plugins/serviio/serviiomediabrowser.png: successfully co pied LOCAL file

file /etc/rc.d/rc.serviio: successfully wrote INLINE file contents

  successfully changed file mode

file /usr/local/emhttp/plugins/serviio/event/disks_mounted: successfully wrote  INLINE file contents

  successfully changed file mode

file /usr/local/emhttp/plugins/serviio/event/unmounting_disks: successfully wrote INLINE file contents

  successfully changed file mode

plugin successfully installed

 

Also when I click this plugin in my unraid, I can see:

Status: Serviio is running.

Serviio version installed:

 

Note:

Java version 1.6.0_27 is currently running.

 

Serviio is not installed

 

there is no version mentioned still it say running, but then at the end it say not installed :(

 

Any ideas, what should I try?

I used to have old version of Serviio, I downloaded new 1.1 and copied it over the previous.

Serviio seems to be running as my Samsung Tv can connect to it and play content.

But the console can not be launched from plugin and overall it seems to be messed somehow.

 

Thanks a lot!

 

 

  • Author

Can anyone please help me, I am unable to install this plugin sucessfully.

When I try to launch console it says "not found, does not exists"

@matincc

Can you please give me a list of the plugins you have installed. There may be a conflict. I also noticed you have jre6 installed. This is a bit old. My plugin installs jre7, but I would say something you have installed has overwritten it.

Thanks for your reply.

 

Java is strange Skipping package jre-7u2-i586 (already installed) - thats Java, isnt it?

 

Beside serviio I have only ps3 media server installed, some older installation and I tried to install

Plex as well, but it does not show up in Unraid, but some leftovers from installation can be on the server.

Any ideas what from those  mentioned could be causing the issue?

 

Thanks a lot.

 

 

 

  • Author

Thanks for your reply.

 

Java is strange Skipping package jre-7u2-i586 (already installed) - thats Java, isnt it?

 

Beside serviio I have only ps3 media server installed, some older installation and I tried to install

Plex as well, but it does not show up in Unraid, but some leftovers from installation can be on the server.

Any ideas what from those  mentioned could be causing the issue?

 

Thanks a lot.

Im pretty sure the ps3 media server is also a DLNA server. Two DLNA servers can not exist on the same IP address as the ports will conflict. Try disabling the ps3 media server temporaraly and see if serviio starts up OK. I also know that the ps3 media server installs the older jre-6u27-i586 which will also conflict with the jre-7u2-i586 my plugin installs.

sorry for this stupid question, but how can I unistall that older java and ps3 media server?

I would like to removethem so I can run the serviio plugin installation again so hopefully it installs this newer java

 

thanks a lot

  • Author

sorry for this stupid question, but how can I unistall that older java and ps3 media server?

I would like to removethem so I can run the serviio plugin installation again so hopefully it installs this newer java

 

thanks a lot

All you need to do is move the ps3 media servers .plg file out of the plugins folder and reboot the unraid server. The plugin will not get installed on reboot.

Thanks for your advice.

 

I have rebooted without any plugins.

 

Now I am getting:

 

Status: Serviio is NOT running.

Note:

Java version 1.7.0_02 is currently running.

Serviio is not installed

 

So I have already that new Java installed however the Serviio does not seem to be there?

But is said it was being installed when I ran your script.

Any ideas?

 

Thanks!

 

oops, now it seems to be working. I guess it was because my array takes somehow long time to be fully online and the serviio starts once array is loaded.

 

Now it says Status:

Serviio is running.

Serviio version installed: 1.1

 

 

Note:

Java version 1.7.0_02 is currently running.

 

Serviio is installed with version: 1.1 (Plugin version: 1.1-9jr )

 

Serviio Installation Directory: /boot/config/plugins/serviio

 

Serviio storage memory usage: install + data directory: 70M

 

Your data will persist after a reboot

 

 

and console is loading!!

great, thanks!

hopefully it will work, going to try..

 

Thanks again for your time!

 

Hello, I am unable to see serviio installed on my Unraid box, from my PS3 (my only render device). I am able to connect to the serviio installation on my mac from my PS3 without any issues. Please assist me in making full use of serviio. Here are the steps i've taken thus far:

 

*used system properties to configure bound address

 

    # Setup Serviio specific properties
    JAVA_OPTS="-Dserviio.home=$SERVIIO_CONSOLE_HOME -Djava.net.preferIPv4Stack=true -Dserviio.boundAddr=192.168.1.108 -Dserviio.home=/boot/config/plugins/serviio/serviio-1.1"

 

 

*Forwarded ports 8895 TCP and 1900 UDP through router firewall by setting internal & external port forwarding to 192.168.1.108 (serviio host machine's ip). Also temporarily turned off the router firewall :shock: to make sure that wasn't the issue.

 

*Using the FAQ links I setup multicast routes, but im not too familiar with this so I just used the examples given in this forum then deleted the entries after I still couldn't connect to serviio.

 

*After trying the above and more I am still no closer to seeing serviio from the PS3. Below/Attached are the relevant logs:

 

    :/boot/config/plugins/serviio# java ListNic
    ip: 192.168.1.108,
    name: eth0
    display name: eth0
    loopback: false
    p2p: false
    up: true
    virtual: false
    multicast: true
    ------------------------------
    ip: 127.0.0.1,
    name: lo
    display name: lo
    loopback: true
    p2p: false
    up: true
    virtual: false
    multicast: false
    ------------------------------


    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libtheoraenc.so.1.1.2': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libva.so.1.0.12': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libvorbis.so.0.4.5': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libvorbisenc.so.2.0.8': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libwrap.so.0.7.6': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libX11.so.6.3.0': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libXau.so.6.0.0': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libxcb.so.1.1.0': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libXdmcp.so.6.0.0': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libXext.so.6.4.0': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libXfixes.so.3.1.0': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libxvidcore.so.4.3': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys/libz.so.1.2.3.4': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/librarys': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/.DS_Store': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg/._.DS_Store': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/ffmpeg': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/serviio-version.cfg': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/.DS_Store': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio/._.DS_Store': Operation not permitted
    chown: changing ownership of `/boot/config/plugins/serviio': Operation not permitted
    ffmpeg has already been installed
    root@blueBox:~# Feb 10, 2013 10:45:46 AM org.restlet.ext.net.HttpClientHelper start
    INFO: Starting the HTTP client
    Feb 10, 2013 10:45:46 AM org.restlet.engine.http.connector.HttpServerHelper start
    INFO: Starting the internal HTTP server on port 8123
    root@blueBox:~# Exception in thread "Thread-19" java.lang.NullPointerException                                                             
       at org.serviio.upnp.webserver.DeviceDescriptionRequestHandler.handleRequest(DeviceDescriptionRequestHandler.java:73)
       at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:61)
       at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
       at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
       at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
       at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:192)

  • Author

@kingJahfy

Does the serviio plugin say it is installed and running? and does the serviio webui say serviio is running?

Thanks for the quick response. Serviio logs indicate its running and the webUI also says serviio is running:

 

2013-02-12 12:37:41,005 DEBUG [PlaylistMaintainerThread] Item '/mnt/user/media/All Video/tutorial/lynda-joomla/supportFiles/ipad/EN190_09_03.mp4' cannot be resolved to an entity in the Serviio library, will try again later
2013-02-12 12:37:50,711 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2013-02-12 12:37:50,712 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2013-02-12 12:38:50,722 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2013-02-12 12:38:50,722 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2013-02-12 12:39:01,573 DEBUG [DiscoveryAdvertisementNotifier] Found 1 network interfaces to advertise on
2013-02-12 12:39:01,573 DEBUG [DiscoveryAdvertisementNotifier] Multicasting SSDP alive using interface eth0 (eth0) and address 192.168.1.108, timeout = 0
2013-02-12 12:39:01,574 DEBUG [DiscoveryAdvertisementNotifier] Sending 6 'alive' messages describing device 846be3a6-e7a8-3d4a-b261-e1933d0510a0
2013-02-12 12:39:03,562 DEBUG [DiscoveryAdvertisementNotifier] Will advertise again in 00:03:47 (advertisement duration is 1800 sec.)
2013-02-12 12:39:50,733 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2013-02-12 12:39:50,733 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories
2013-02-12 12:40:50,743 DEBUG [FeedUpdaterThread] Checking for new and expired online resources
2013-02-12 12:40:50,744 DEBUG [OnlineRepositoryDAOImpl] Reading all OnlineRepositories

 

Changed log4j level in serviio config to debug to get more fine grained info. Attached webUI screenshot

 

 

 

Update: Uninstalling and reinstalling the updated version resolved my issues

webUI.png.bed19e7c1e840410db6120587162f11e.png

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.