Jump to content
PhAzE

[PhAzE] Plugins for Unraid 5/6

3606 posts in this topic Last Reply

Recommended Posts

Weird, try changing the static IP to another address, and running the "new permissions" in the tools menu. Might help.

 

well I did 2 things, one load 'fail-safe' BIOS settings for my MoBo and restart. I then had to allow booting from the Flash drive, and restarted. Also changed the IP address to some random, fairly high number.

 

I've been up for 24 hours without losing connectivity. I wonder if there was some kind of collision with the old IP, even though I didnt see anything else on the network using it.

 

I re-added PMS and it worked first time.

Share this post


Link to post

i have a problem with filebot plugin (running unraid 6.1.7)

settings page says that the plugin is running, but installed version is unknown and java is not working. there is also newer version to install (4.6.1), but clicking the "update" button does nothing

 

this is the output of "filebot" command:

root@unraid:~# filebot
/usr/local/Filebot/filebot.sh: line 21: cd: /root: Permission denied
/usr/local/Filebot/filebot.sh: line 43: /mnt/cache/.PhAzE-Common/usr/lib64/java/bin/java: Permission denied

i managed to fix this by simply deleting /mnt/cache/.PhAzE-Common/ and rebooting the server :)

Share this post


Link to post

any reason why sonarr doesn't update Emby with library refresh? I issued an API key on Emby and successfully connects with Sonarr, but whenever the episode is downloaded (I use sshfs to connect to my seedbox and sonarr moves it from there to Emby), it just doesn't refresh the library. Can't seem to find any failures that indicate why as all tests are successfully except for when it actually matters.

 

Share this post


Link to post

Nothing that is controlled by my plugin, that I know of.  Maybe check on emby forums and see what they say.

Share this post


Link to post

Hi all.

 

New to unraid and currently on my first day of testing. Heard such good thing about it I thought I'd give it a go.

 

Currently I have a HP Proliant MicroServer running a dedicated Windows 7. This machine boots and then starts my apps. It's got 3x 2TB drives and the original 250GB drive that came with. The OS is installed on this one and the 3x 2TB drives are set up as a RAID 5.

 

I plan on offloading all data to a external source and then formatting and rebuilding the entire box.

 

Testing in VirtualBox running on Windows 10. I have created the Virtual Machine and have managed to get unRAID booting with the help of ploplinux. I have created 3 disks to test with. 2x 8GB and 1x 1GB. 2048MB memory for the virtual machine. The 2 disks are my raid and the 250 is my cache.

 

So far I am impressed. I haven't been able to test the virtualization functions since it seems VirtualBox and unRAID virtualization doesn't seem to play along but all else seems to be great.

 

Another issue I am having is that I can't install any of these plugins, namely CouchPotato, Sonarr and PMS. Or rather, i can, but can't start them or anything. in the console I get a bunch of info about not enough space and stuff.

 

Being such a noob, I was hoping someone could help me out since most of what I have read doesn't seem to help me. I created the cache drive under the impression that would allow me to save, but to no avail.

 

Any help greatly appreciated.

Share this post


Link to post

It depends on how you've setup your system to boot since the plugins save files to the usb drive. For me to virtualized Unraid I needed to make a copy of the usb to a virtual drive which it boots from, plus have the usb pass through working so the system can mount the real usb stick in place of the drive.

 

If you don't have the usb drive writable then plugins won't work.

Share this post


Link to post

It depends on how you've setup your system to boot since the plugins save files to the usb drive. For me to virtualized Unraid I needed to make a copy of the usb to a virtual drive which it boots from, plus have the usb pass through working so the system can mount the real usb stick in place of the drive.

 

If you don't have the usb drive writable then plugins won't work.

 

That might explain it. I had dificulteis getting unRAID to boot from the USB drive directly. Hence the need for plop boot manager. I'll try with a different VM solution and see if I can get that to boot off USB directly.

Share this post


Link to post

Phaze,

 

I just upgraded to 6.1.8 and everything works except NzbGet.  No matter what I do it will not install.  Any ideas?  it worked fine on 6.1.7.  Here is plugin log:

 

2016-02-11 21:02:19 [iNFO] Installing Nzbget plugin

2016-02-11 21:02:19 [iNFO] **************************

2016-02-11 21:02:19 [iNFO] Checking for current bundle files

2016-02-11 21:02:19 [iNFO] Control file: Not Found

2016-02-11 21:02:19 [iNFO] Dependency file: Not found

2016-02-11 21:02:19 [iNFO] Check OK!

2016-02-11 21:02:19 [iNFO] Downloading new control file

2016-02-11 21:02:19 [iNFO] Download OK: Control file passed MD5 check

2016-02-11 21:02:19 [iNFO] Locating and removing old bundle files

2016-02-11 21:02:19 [iNFO] Running install script for NZBGet

2016-02-11 21:02:19 [iNFO] Creating default plugin config file

2016-02-11 21:02:19 [iNFO] Verifying plugin config file elements

2016-02-11 21:02:19 [iNFO] Verification OK!

2016-02-11 21:02:19 [iNFO] Installing control file

2016-02-11 21:02:19 [iNFO] Control file install OK!

2016-02-11 21:02:19 [iNFO] Removing Windows carriage characters from important files

2016-02-11 21:02:19 [iNFO] Cleaning up temp files and folders

2016-02-11 21:02:19 [iNFO] **************************

2016-02-11 21:02:19 [iNFO] Install complete!

2016-02-11 21:02:19 [iNFO] **************************

2016-02-11 21:03:43 [iNFO] *** Apply - Disable Initiated ***

2016-02-11 21:03:43 [iNFO] Stopping NZBGet...

2016-02-11 21:03:43 [iNFO] Stop OK: Not installed

2016-02-11 21:03:44 [iNFO] Updating settings

2016-02-11 21:03:44 [iNFO] Updating plugin config file

2016-02-11 21:03:44 [iNFO] Updating dependencies

2016-02-11 21:03:44 [iNFO] No dependencies required for this application

2016-02-11 21:03:44 [iNFO] Updating export file

2016-02-11 21:03:44 [iNFO] Updating shorcut file

2016-02-11 21:03:44 [iNFO] Updating application config file

2016-02-11 21:03:49 [iNFO] *** Install Initiated ***

2016-02-11 21:03:49 [iNFO] Installing NZBGet...

2016-02-11 21:03:50 [iNFO] Updating dependencies

2016-02-11 21:03:50 [iNFO] No dependencies required for this application

2016-02-11 21:03:50 [iNFO] Updating export file

2016-02-11 21:03:50 [iNFO] Updating shorcut file

Share this post


Link to post

Phaze,

 

I just upgraded to 6.1.8 and everything works except NzbGet.  No matter what I do it will not install.  Any ideas?  it worked fine on 6.1.7.  Here is plugin log:

 

2016-02-11 21:02:19 [iNFO] Installing Nzbget plugin

2016-02-11 21:02:19 [iNFO] **************************

2016-02-11 21:02:19 [iNFO] Checking for current bundle files

2016-02-11 21:02:19 [iNFO] Control file: Not Found

2016-02-11 21:02:19 [iNFO] Dependency file: Not found

2016-02-11 21:02:19 [iNFO] Check OK!

2016-02-11 21:02:19 [iNFO] Downloading new control file

2016-02-11 21:02:19 [iNFO] Download OK: Control file passed MD5 check

2016-02-11 21:02:19 [iNFO] Locating and removing old bundle files

2016-02-11 21:02:19 [iNFO] Running install script for NZBGet

2016-02-11 21:02:19 [iNFO] Creating default plugin config file

2016-02-11 21:02:19 [iNFO] Verifying plugin config file elements

2016-02-11 21:02:19 [iNFO] Verification OK!

2016-02-11 21:02:19 [iNFO] Installing control file

2016-02-11 21:02:19 [iNFO] Control file install OK!

2016-02-11 21:02:19 [iNFO] Removing Windows carriage characters from important files

2016-02-11 21:02:19 [iNFO] Cleaning up temp files and folders

2016-02-11 21:02:19 [iNFO] **************************

2016-02-11 21:02:19 [iNFO] Install complete!

2016-02-11 21:02:19 [iNFO] **************************

2016-02-11 21:03:43 [iNFO] *** Apply - Disable Initiated ***

2016-02-11 21:03:43 [iNFO] Stopping NZBGet...

2016-02-11 21:03:43 [iNFO] Stop OK: Not installed

2016-02-11 21:03:44 [iNFO] Updating settings

2016-02-11 21:03:44 [iNFO] Updating plugin config file

2016-02-11 21:03:44 [iNFO] Updating dependencies

2016-02-11 21:03:44 [iNFO] No dependencies required for this application

2016-02-11 21:03:44 [iNFO] Updating export file

2016-02-11 21:03:44 [iNFO] Updating shorcut file

2016-02-11 21:03:44 [iNFO] Updating application config file

2016-02-11 21:03:49 [iNFO] *** Install Initiated ***

2016-02-11 21:03:49 [iNFO] Installing NZBGet...

2016-02-11 21:03:50 [iNFO] Updating dependencies

2016-02-11 21:03:50 [iNFO] No dependencies required for this application

2016-02-11 21:03:50 [iNFO] Updating export file

2016-02-11 21:03:50 [iNFO] Updating shorcut file

 

so just to add to this... if i choose beta it looks like it says failed integrity check and if I choose non-beta it says app executable not found:

 

2016-02-11 21:50:29 [iNFO] Updating export file

2016-02-11 21:50:29 [iNFO] Updating shorcut file

2016-02-11 21:50:29 [iNFO] Latest version found: 16.4 - Checking USB for same install file

2016-02-11 21:50:29 [iNFO] Copy found on USB, checking for MD5 file

2016-02-11 21:50:29 [iNFO] Located MD5 file - Testing against install file

2016-02-11 21:50:29 [iNFO] MD5 of Nzbget-PhAzE-16.4-src.run is valid - Proceeding with install

2016-02-11 21:50:29 [iNFO] Updating application directories

2016-02-11 21:50:29 [iNFO] Updating application config file

2016-02-11 21:50:29 [ERROR] Install failed: App executable not found

2016-02-11 21:50:30 [iNFO] Starting NZBGet...

2016-02-11 21:50:30 [iNFO] Updating application directories

2016-02-11 21:50:30 [iNFO] Updating application config file

2016-02-11 21:50:32 [iNFO] *** Apply - Enable Initiated ***

2016-02-11 21:50:32 [iNFO] Stopping NZBGet...

2016-02-11 21:50:32 [iNFO] Stop OK: Not installed

2016-02-11 21:50:33 [iNFO] Updating settings

2016-02-11 21:50:33 [iNFO] Updating plugin config file

2016-02-11 21:50:33 [iNFO] Installing NZBGet...

2016-02-11 21:50:34 [iNFO] Updating dependencies

2016-02-11 21:50:34 [iNFO] No dependencies required for this application

2016-02-11 21:50:34 [iNFO] Updating export file

2016-02-11 21:50:34 [iNFO] Updating shorcut file

2016-02-11 21:50:34 [iNFO] Latest version found: 16.4 - Checking USB for same install file

2016-02-11 21:50:34 [iNFO] Copy found on USB, checking for MD5 file

2016-02-11 21:50:34 [iNFO] Located MD5 file - Testing against install file

2016-02-11 21:50:34 [iNFO] MD5 of Nzbget-PhAzE-16.4-src.run is valid - Proceeding with install

2016-02-11 21:50:34 [iNFO] Updating application directories

2016-02-11 21:50:34 [iNFO] Updating application config file

2016-02-11 21:50:34 [ERROR] Install failed: App executable not found

2016-02-11 21:50:34 [iNFO] *** Install Initiated ***

2016-02-11 21:50:34 [iNFO] Installing NZBGet...

2016-02-11 21:50:35 [iNFO] Updating dependencies

2016-02-11 21:50:35 [iNFO] No dependencies required for this application

2016-02-11 21:50:35 [iNFO] Updating export file

2016-02-11 21:50:35 [iNFO] Updating shorcut file

2016-02-11 21:50:35 [iNFO] Latest version found: 16.4 - Checking USB for same install file

2016-02-11 21:50:35 [iNFO] Copy found on USB, checking for MD5 file

2016-02-11 21:50:35 [iNFO] Located MD5 file - Testing against install file

2016-02-11 21:50:36 [iNFO] MD5 of Nzbget-PhAzE-16.4-src.run is valid - Proceeding with install

2016-02-11 21:50:36 [iNFO] Updating application directories

2016-02-11 21:50:36 [iNFO] Updating application config file

2016-02-11 21:50:36 [ERROR] Install failed: App executable not found

Share this post


Link to post

Sorry if I'm being really stupid (I thought of myself as a "technical" person before I started reading this thread  :'(  :))

 

I have been using Unraid 4.7 for the last few years up until this week, when I finally got around to doing a clean install of 6.1.8 which so far seems to have gone smoothly and the parity check has completed yesterday evening (so 15TB of BR rips is still good which is a relief)

 

The only thing I run on it is Plex and somehow found myself at this thread as I didn't want to mess around with dockers or anything like that.

 

The plug in installed perfectly and appears to be running , library was found and added all 500 + titles (with a little manual sorting at the end, but that's understandable) - but I got completely lost with the necessity of changing port numbers......or rather I understand why, I just don't know Unraid well enough to know how to find valid / unused port numbers I can use instead. Even a quick google  and search here didn't give me anything to go off).

 

The above may well be why anytime I try and play a movie found in the new library, plex just hangs indefinitely - if that's the case (and I hope it is) , then totally understandable.

 

The other item that has me confused (or maybe I'm just misreading what the plugin is telling me) - is the transcode and config directories both being on RAM when they have two completely different paths (I have 32GB ram so I'm happy with transcoding being in ram)

 

Transcode directory - /tmp/Plexmediaserver

Config directory - /usr/local/Plexmediaserver/config (to me this indicates its on the USB drive where Unraid itself is loaded from, which unless I'm wrong would be a perfect solution)

 

but I also get the warning in the Information section saying both of the above are on the Ram drive?

 

If I am reading it wrong - any way of saving the current library info before I reboot (after editing the go file of course for the port number addition) - rather than having plex do a fresh search and then doing the manual edits at the end?

 

Many thanks

Share this post


Link to post

Config directory - /usr/local/Plexmediaserver/config (to me this indicates its on the USB drive where Unraid itself is loaded from, which unless I'm wrong would be a perfect solution)

All stock paths except /boot/* and /mnt/* are in RAM and don't exist when you shut down the server. If you really want the config folder on the flash drive, it needs to be a subfolder of /boot. I strongly recommend putting it on one of your disks, preferably a cache drive if you have one.

Share this post


Link to post

Config directory - /usr/local/Plexmediaserver/config (to me this indicates its on the USB drive where Unraid itself is loaded from, which unless I'm wrong would be a perfect solution)

All stock paths except /boot/* and /mnt/* are in RAM and don't exist when you shut down the server. If you really want the config folder on the flash drive, it needs to be a subfolder of /boot. I strongly recommend putting it on one of your disks, preferably a cache drive if you have one.

And Plex especially should not be using the flash drive for this since it creates its library there and it can be quite large and will be accessed frequently for both reading and writing, degrading performance and shortening life of the important licensed flash drive.

Share this post


Link to post

Set your config directory to /mnt/cache/AppData/Plex or something similar if you have a cache drive. 

 

Leave the port at default, you don't need to change it unless you have another app using the default one, which is unlikely.

 

Once you change the config directory, give your server a reboot.

 

CAUTION: rebooting your server before changing the config directory will result in all your Plex settings getting erased.

Share this post


Link to post

Unfortunately I don't have space for a cache drive, thank you for everyone's help

 

I changed the library directory to a data disk temporarily and plug in reflected the changes with confirmation of "Library is now located on physical disk" before the reboot.

 

However when I re-started the array after the reboot, and plugin restarted its not finding the library - should I be concerned about this?

 

I'm happy to re-add the share manually but don't want to do the wrong thing just in case

 

Cheers again

Share this post


Link to post

/mnt/disk1/Plexmediaserver/Library (and it appears to have created it where I expected)

 

(Ive just remembered why I didn't originally put the library on a data disk.........it never goes to sleep/stop spinning, and therefore the parity disk as well...which is why I thought a USB key would be better choice for the library)

Share this post


Link to post

Best choice is by far a cache drive but yea, Plex uses is metadata quite often with scheduled tasks for updates so I would prevent these drive from sleeping unfortunately.

 

That directory should be OK and Plex plugin shouldn't have trouble finding it. If you are seeing problems with Plex staying out hanging, you might need to delete that folder and start with a fresh library. Might be a problem with the db linking internally in Plex when it gets moved.

Share this post


Link to post

Unfortunately its still hanging before playback begins on any / every film.

 

I have confirmed that playback through command line to the share or the correct disk works as expected, and from what I can tell Unraid itself is happy too.

 

Library appears to have been created fully, but maybe I shouldn't have created a new share just for that, and should put the library within the Movies share? (shouldn't make a difference but worth a try - although this will keep the whole array spinning permanently which isn't great I know)

 

 

Share this post


Link to post

Did your try deleting the library folder and staying fresh with Plex?

 

If you change the directory in the plugin it will just move the old library files to the new directory.

 

Stop the plugin

Delete library directory

Delete /usr/local/PhAzE-Common directory

Restart plugin

Share this post


Link to post

Hey.

 

I use the Plex plugin (thanks!) But I have a small issue where in the unraid GUI for plex settings I can't seem to get the use external port setting to save.

If I enable it, it enables and works fine, but a restart of the server or reboot of unraid it defaults back to off.

Ive tried everything I could to get it to save but it doesn't.

5.0.6

 

Thanks

Share this post


Link to post

Did your try deleting the library folder and staying fresh with Plex?

 

If you change the directory in the plugin it will just move the old library files to the new directory.

 

Stop the plugin

Delete library directory

Delete /usr/local/PhAzE-Common directory

Restart plugin

 

Thank you PhAzE, but after completing this its still doing the same thing (and strangely the re-creating of the library took over 10hrs+ for 520 or so items, which seems incredibly long time to me compared to previous times Ive set up plex).

 

Pressing play directly from the movie wall, I get the fan art as a backdrop before it hangs - if I try to go to the fan art (before planning to press play as it were) I never get the chance as it hangs immediately with a grey screen and nothing at all appears indefinitely. Ive tried with 5 or 6 films with the same results.

 

I can still access any film directly from a command line using either IP or "tower" and the share name and that works - however before upgrading to 6.x I could also access each data disk directly via this method as well, but I cant now. No big deal, just thought it might be worth mentioning (like ip\flash, ip\disk2 etc , flash I can still access but none of the 8 data disks)

 

The GUI and plug in info all look reasonable and I'm guessing Unraid itself is pretty happy otherwise I wouldn't be able to resolve anything or GUI wouldn't be accessable.

 

It is doing a parity check at the moment (another 12 hrs to go ) but from what I recall this shouldn't stop me playing media (it hasn't in the past anyway) - when I mentioned it earlier this week no parity check was required / was running so this certainly wasn't the issue a couple of days ago

Share this post


Link to post

... re-creating of the library took over 10hrs+ for 520 or so items...

 

I can still access any film directly from a command line using either IP or "tower" and the share name and that works - however before upgrading to 6.x I could also access each data disk directly via this method as well, but I cant now. No big deal, just thought it might be worth mentioning (like ip\flash, ip\disk2 etc , flash I can still access but none of the 8 data disks)

 

The GUI and plug in info all look reasonable and I'm guessing Unraid itself is pretty happy otherwise I wouldn't be able to resolve anything or GUI wouldn't be accessable.

 

It is doing a parity check at the moment (another 12 hrs to go ) but from what I recall this shouldn't stop me playing media (it hasn't in the past anyway) - when I mentioned it earlier this week no parity check was required / was running so this certainly wasn't the issue a couple of days ago

After upgrading to V6 the default setting is to not allow disk shares. You can change this in Global Share Settings, but the default is there to protect you from mixing disk shares and user shares when moving or copying files, which can lead to data loss.

 

Your symptoms make me suspect filesystem corruption. Go to Tools - Diagnostics and post the complete diagnostics zip.

Share this post


Link to post

I read something about disk shares, but they "appear " to be working  (I only have Movies and TV when I did the upgrade, and it happily created Plexmediaserver when requested as per the above posts while installing the plug in

 

I'm hoping the diagnostics zip is attached - many thanks trurl

 

(Global disk shares is "no", user shares is "yes" - both are greyed out, I'm guessing because array is running)?

 

I don't quite understand how both shares are actually available externally but not enabled - surely this doesn't make sense?

 

Probably best to wait until the parity check has finished to stop the array and change disk shares?

 

(the other thing that's misleading , from a novice perspective, is that on the share tab itself everything is green - when the shares are actually not active)

tower-diagnostics-20160219-2131.zip

Share this post


Link to post

A share is "green" if all of its files are on protected storage, which in your case couldn't be otherwise since you don't have a cache disk.

 

You're logging a lot of read errors on disk1

Feb 18 22:20:21 Tower kernel: md: import disk1: [8,144] (sdj) WDC_WD20EARS-00MVWB0_WD-WMAZA0507776 size: 1953514552
...
Feb 19 01:49:35 Tower kernel: md: disk1 read error, sector=293893288

and hundreds more like that.

 

And disk1 has SMART problems.

Serial Number:    WD-WMAZA0507776
...
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       44
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       11

You should replace it ASAP. I'm a little concerned about the correcting parity check underway right now since disk1 isn't working well.

 

Do these read errors not appear in the Error column of the Main page?

 

Does the Dashboard not show you there is a problem with disk1? These SMART attributes are monitored and displayed in the Dashboard if there is a problem, and unRAID will even send you emails about them if you have notifications setup to do so.

 

Suggest you start a separate support thread for this since this has nothing to do with these plugins, and I will move these posts to your new thread.

Share this post


Link to post

Disk one is showing 277 errors (compared to nearly 4,000,000 reads and 235,000 writes - and I only remember them appearing since I set the plex library to disk 1 a few days ago)

 

It is running hot (45 degrees) but no errors at all on the dashboard, and smart is looking ok.

 

(it also says "smart overall health - passed " on the attributes page of that disk)

 

Have a spare 3TB wd red drive I can replace it with as soon as the parity check finishes

 

https://lime-technology.com/forum/index.php?topic=46739.0 (support thread link)

Share this post


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.