[PhAzE] Plugins for Unraid 5/6


3606 posts in this topic Last Reply

Recommended Posts

Normally yes, I've learned recently that once you update the dynamix plugin it may wipe the icons in settings page out. Are you using the updated script in go from the first page? I changed it I think two days ago. If not, update the go script and reboot.

 

Normally there is an icon for the app under the settings page that brings you to a gui that you can control the plugin from.

 

The unraid 6 changes in beta 12 have broken many aspects of plugin usage which is why I'm working on v2.0.0 currently for all plugins.

Link to post
  • Replies 3.6k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Just a quick update, unRaid 6.4 looks like it will be using nginx for the web front end over emhttp (which is a good switch IMO) but that means there is a good chance all of my plugins will not work o

Important info regarding unRAID 6.2 and beyond.          ***unRAID 6.2 Compatible*** Hello again!   I've done another overhaul of the plugins

Unfortunately, @PhAzE no longer seems to be active at all within these forums.  His last time online was March 23, and his last posting was on February 22.  I'm sure I speak for all of us in hoping th

Posted Images

Phaze,

 

I have a problem with the serviiio pluggin that I am baffled on.  This has been working flawlessly for months.  Today when I turned on the unraid server 6.0 b12 the serviio plugin failed to load.

 

Upon further investigating I see the message:  PID created but process did not start

 

If I run the command that starts it I see:

root@MJMS:/etc/rc.d# sudo -H -u nobody /bin/bash -c ". /boot/config/plugins/serviio/startcfg.sh; /usr/local/serviio/bin/serviio-wrapper.sh"

Exception in thread "main" java.lang.NoSuchMethodError: org.restlet.routing.VirtualHost.attach(Ljava/lang/String;Lorg/restlet/Restlet;)Lorg/restlet/routing/Route;

        at org.serviio.restui.RestletProxy.runServer(Unknown Source)

        at org.serviio.restui.RestletProxy.checkForRunningInstances(Unknown Source)

        at org.serviio.restui.RestletProxy.main(Unknown Source)

        at org.serviio.restui.ServiioWrapper.main(Unknown Source)

 

 

I have tried literally everything I can think of.  I have removed it fully and started with all default settings etc.  Any ideas?

 

Nothing has changed on the system that I know of.

 

Thanks!

Link to post

You haven't installed any plugin that uses a new java version right?

 

First make sure the install wrapper isn't damaged. To do this run /etc/rc.d/rc.serviio install. There is also a archon install command but I'm not at my PC at the moment. Then in the plugin GUI hit apply to reapply your settings. Then start it again.

Link to post

I haven't installed a thing.  Infact the only plugins I have are the APC one and this serviio one.  The few others I have are dockers.

 

The java version being installed is 7U55

 

I have started fully from scratch with a freshly booted unraid.

 

The rc.serviio install looked clean  everything said "Install OK"

 

Then I run:

root@MJMS:/etc/rc.d# ./rc.serviio start

Starting Serviio: sudo -H -u nobody /bin/bash -c ". /boot/config/plugins/serviio/startcfg.sh; nohup /usr/local/serviio/bin/serviio-wrapper.sh > /dev/null 2>&1 &"

PID created but process did not start

... Start Failed

 

I am completely baffled

 

Link to post

OK try renaming your config folder to something else then start it. It will start fresh but that can illuminate the config for as being part of the problem. Don't change the name in the GUI but actually change the folder name via console.

Link to post

which config folder?

 

Also I removed the plugin completely and still see the problem so it seems to be something outside of the plugin?

 

 

*edit*

I assume you mean the config folder under /usr/local/serviio/config - I removed and still no luck.

 

 

Trying to run serviio directly (not sure if I can but I think I use to be able to start this way I get:

 

root@MJMS:/mnt/cache/.serviio/bin# ./serviio.sh

Exception in thread "main" java.lang.UnsupportedClassVersionError: org/serviio/MediaServer : Unsupported major.minor version 52.0

        at java.lang.ClassLoader.defineClass1(Native Method)

        at java.lang.ClassLoader.defineClass(Unknown Source)

        at java.security.SecureClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.defineClass(Unknown Source)

        at java.net.URLClassLoader.access$100(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

 

That to me says serviio is compiled with java 8.

 

On the serviio website I see:

if on Linux, Java 8 must be installed. Windows and OSX come with Java runtime aready included in the installation.

 

Maybe they are requiring java 8 now?

 

 

Link to post

I figured out the problem -  Serviio 1.5 was released and it does indeed require Java 8.  I hacked up your code and made it use java8 but the wrapper still fails.  I can start serviio by just using serviio.sh  so I haven't dug into the wrapper issue yet.

 

 

Link to post

Hi I tried the Serviio plugin but when I try to run it I get this/etc/rc.d/rc.serviio buttonstart

Removing stale Serviio lock file from previous execution.

Removing stale Java lock file from previous execution.

Starting Serviio: sudo -H -u nobody /bin/bash -c ". /boot/config/plugins/serviio/startcfg.sh; nohup /usr/local/serviio/bin/serviio-wrapper.sh > /dev/null 2>&1 &"

PID created but did not start

... start failed

Link to post

FWIW, Mylar won't start after the latest update. Could be a  problem with the source, but I figured i'd mention something.

I'll have a look at this today also.

 

EDIT:  I booted this up and it started no problem.  i'm running version f018742c98f8f7224878e85ebb7a472e0014fc17 which is the latest as of today (Jan 15).  If you are still having problems starting, delete the install directory and let it install fresh (keep you config directory or else you will lose all your settings).

Link to post

Using mediabrowser plugin latest version.

Cannot play any video files on any clients.

 

I can browse files without any issue.

Server log below:

 

https://www.dropbox.com/s/j9gy53773zkgvvp/serverLog01092015.txt?dl=0

Is this working now?

 

EDIT: I booted it up on a fresh unraid server and it worked just fine, with no transcoding issues.  Perhaps you have a bad download of ffmpeg, which this app downloads the latest version on startup.

Link to post

any luck with Beets?

Not yet, first i've been updating the current plugins, which i will likely have the beta's out today or tomorrow. After those are confirmed bug free i'll start adding in a few new apps.

Link to post

FWIW, Mylar won't start after the latest update. Could be a  problem with the source, but I figured i'd mention something.

I'll have a look at this today also.

 

EDIT:  I booted this up and it started no problem.  i'm running version f018742c98f8f7224878e85ebb7a472e0014fc17 which is the latest as of today (Jan 15).  If you are still having problems starting, delete the install directory and let it install fresh (keep you config directory or else you will lose all your settings).

 

That didn't work, it still wouldn't start. I tinkered for a bit and reinstalling the plugin itself seems to have fixed the issue for some reason. Thanks! Have a good one.

Link to post

Hello all,

 

I'm having an issue with Plex. I'm using 6.0b12, and had no problem installing the plugin from github, or editing my go file, and I got into settings. From there was was prompted to install it, which seemed to go OK.

 

Right now it's status: stopped, and I can't seem to start it. It does show (failed to detected version) and has an option to update, but that doesn't seem to do anything.

 

If I enable Plex and apply, or just hit start, it seems to try to start and eventually gives "PID not created, application did not start for some reason". My syslog shows only:

 

 

Jan 15 18:33:58 Shiva sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; nohup /usr/local/plexmediaserver/"Plex Media Server" > /dev/null 2>&1 &

Jan 15 18:34:16 Shiva sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version

Jan 15 18:34:24 Shiva sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; nohup /usr/local/plexmediaserver/"Plex Media Server" > /dev/null 2>&1 &

Jan 15 18:34:39 Shiva sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version

 

Is this some permissions thing, or some other dumb thing I'm doing?

 

Thanks!

 

Link to post

Funny... I'm having a totally separate issue with Plex. It keeps downgrading. I'll upgrade it, everything is good, and then at some point it will downgrade again... I only notice it happens because all of my "extras" go away. Any ideas where to start my troubleshooting?

 

Sent from my SAMSUNG-SM-N900A using Tapatalk

 

 

Link to post

Hello all,

 

I'm having an issue with Plex. I'm using 6.0b12, and had no problem installing the plugin from github, or editing my go file, and I got into settings. From there was was prompted to install it, which seemed to go OK.

 

Right now it's status: stopped, and I can't seem to start it. It does show (failed to detected version) and has an option to update, but that doesn't seem to do anything.

 

If I enable Plex and apply, or just hit start, it seems to try to start and eventually gives "PID not created, application did not start for some reason". My syslog shows only:

 

 

Jan 15 18:33:58 Shiva sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; nohup /usr/local/plexmediaserver/"Plex Media Server" > /dev/null 2>&1 &

Jan 15 18:34:16 Shiva sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version

Jan 15 18:34:24 Shiva sudo: root : TTY=unknown ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; nohup /usr/local/plexmediaserver/"Plex Media Server" > /dev/null 2>&1 &

Jan 15 18:34:39 Shiva sudo: root : TTY=unknown ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /boot/config/plugins/plexmediaserver/startcfg.sh; /usr/local/plexmediaserver/"Plex Media Server" --version

 

Is this some permissions thing, or some other dumb thing I'm doing?

 

Thanks!

Check for the Plex log file and see if it is showing any errors. I think it's in the library folder.

 

Link to post

I'm not seeing a library folder. I have

 

\config\plugins\plexmediaserver, and there are no subfolders under it.  There are 3 files in it:

 

plexmediaserver.cfg

plexmediaserver.png

plgver.txt

startcfg.sh

 

and that's it.

 

 

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.