[PhAzE] Plugins for Unraid 5/6


Recommended Posts

Hello PhAzE,

 

What will happen to sabnzbd/downloads folder if I use period in front of the the folder?  Isn't it the mover script doesn't move it?  Shall I point sabnzbd/downloads/complete folder into another directory?

yes, in the sab settings set that folder to somewhere else, somewhere on disk so it's persistent. I made a download share and set to cache drive only, and all my downloads go there, then when cp or sb find the files they're moved to my movie/tv show directory on the array.
Link to comment

Hello PhAzE, if you set downloads folder in cache drive only and not array itself, where do you tell sabnzbd to move the downloaded files to array, on certain schedule? Alternatively, can you just put a persistent folder, but in array itself? What's the pros and cons of both?

I have the downloads folder on my chache drive only because a cache drive has a faster write speed than the array does.  I didn't want any downloads slowed because they had to write to the array which may have been serving up a movie at the same time as something was downloading.  Once the download is completed, the app responsible for the download (nzbdrone or couchpotato) locate it in that downloads/completed folder and moves them to the movie or TV show directory, which is a share that also uses the cache.  The difference here is that the Downloads share is cache only, while the movie / tv show share (actually called "media") uses all drives on the array but also the cache. 

 

Newly written files will be on the cache drive since that's how unraid works.  At night when the mover script runs (automatically), the files will be moved form the cache drive onto the actual array. in the same folder. This process is a built in feature of Unraid and is seamless.  That means that when the files were moved from the Downloads/completed folder to the Movies/tv shows folder, it would appear they are on the array, however they are actually still on the cache drive since its invisible so to say.  Best look up unraid docs if you have more questions about the cache drive and mover script build into unraid.

Link to comment

Hi PhAzE - The latest Plex update seems to have changed behaviour for Unraid 6 - Beta 6. The resulting install has a number of zero size files - i've tried both the plexpass & regular versions and have tried installing as root or nobody. ls of the install below - you can see the files with 0 size here, some of the timestamps look suspicious also:

 

Thanks!

 

-rwxr-xr-x 1 nobody users  3265224 Aug 16 05:01 Plex\ DLNA\ Server*

-rwxr-xr-x 1 nobody users        0 Aug 16 05:01 Plex\ Media\ Scanner*

-rwxr-xr-x 1 nobody users        0 Aug 16 05:01 Plex\ Media\ Server*

drwxr-xr-x 1 nobody users    1264 Aug 16 05:01 Resources/

drwxrwxrwx 1 nobody users      88 Aug 18 23:31 config/

-rw------- 1 nobody users  2564096 Aug 18 23:44 core

-rw-r--r-- 1 nobody users  297683 Aug 11 19:59 libass.so.4

-rw-r--r-- 1 nobody users        0 Aug 11 19:57 libavcodec.so.54

-rw-r--r-- 1 nobody users  1422272 Aug 11 19:57 libavformat.so.54

-rw-r--r-- 1 nobody users  182856 Aug 11 19:57 libavutil.so.52

-rw-r--r-- 1 nobody users        0 Aug 11 19:52 libboost_chrono.so.1.50.0

-rw-r--r-- 1 nobody users  112910 Aug 11 19:52 libboost_filesystem.so.1.50.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:52 libboost_iostreams.so.1.50.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:52 libboost_program_options.so.1.50.0

-rw-r--r-- 1 nobody users  1158086 Aug 11 19:52 libboost_regex.so.1.50.0

-rw-r--r-- 1 nobody users  111524 Aug 11 19:52 libboost_signals.so.1.50.0

-rw-r--r-- 1 nobody users    20053 Aug 11 19:52 libboost_system.so.1.50.0

-rw-r--r-- 1 nobody users  180651 Aug 11 19:52 libboost_thread.so.1.50.0

-rw-r--r-- 1 nobody users  2031273 Aug 11 19:48 libcrypto.so.1.0.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:54 libcurl.so.4

-rw-r--r-- 1 nobody users  342824 Aug 11 19:58 libexpat.so.1

-rw-r--r-- 1 nobody users        0 Aug 11 19:47 libexslt.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:59 libfontconfig.so.1

-rw-r--r-- 1 nobody users  3706520 Aug 11 19:50 libfreeimage.so.3

-rw-r--r-- 1 nobody users  1875699 Aug 11 19:59 libfreetype.so.6

-rw-r--r-- 1 nobody users  152227 Aug 11 20:00 libfribidi.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:46 libiconv.so.2

-rw-r--r-- 1 nobody users        0 Aug 11 19:52 libidn.so.11

-rw-r--r-- 1 nobody users 11599910 Aug 11 19:57 libmediainfo.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:47 libminiupnpc.so.8

-rw-r--r-- 1 nobody users  769934 Aug 11 19:59 libmp3lame.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:47 libnatpmp.so.1

-rw-r--r-- 1 nobody users  2612512 Aug 11 19:51 libopencv_core.so.2.4

-rw-r--r-- 1 nobody users  2451503 Aug 11 19:51 libopencv_imgproc.so.2.4

-rw-r--r-- 1 nobody users  5782276 Aug 11 19:49 libpython2.7.so.1.0

-rw-r--r-- 1 nobody users  306710 Aug 11 20:00 librtmp.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:53 libsoci_core-gcc-3_0.so.3.0.0

-rw-r--r-- 1 nobody users  293886 Aug 11 19:53 libsoci_sqlite3-gcc-3_0.so.3.0.0

-rw-r--r-- 1 nobody users  1761495 Aug 11 19:51 libsqlite3.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:48 libssl.so.1.0.0

-rw-r--r-- 1 nobody users  334096 Aug 11 19:57 libswscale.so.2

-rw-r--r-- 1 nobody users        0 Aug 11 20:00 libvo-aacenc.so.0

-rw-r--r-- 1 nobody users  1903869 Aug 11 19:47 libxml2.so.2

-rw-r--r-- 1 nobody users  692651 Aug 11 19:47 libxslt.so.1

-rw-r--r-- 1 nobody users  186836 Aug 11 19:45 libz.so.1

-rw-r--r-- 1 nobody users        0 Aug 11 19:57 libzen.so.0

-rw-r--r-- 1 nobody users    3453 Aug 16 05:04 plex-archive-keyring.gpg

-rwxr-xr-x 1 nobody users        0 Jun 11 07:59 start.sh*

Link to comment

Hi PhAzE - The latest Plex update seems to have changed behaviour for Unraid 6 - Beta 6. The resulting install has a number of zero size files - i've tried both the plexpass & regular versions and have tried installing as root or nobody. ls of the install below - you can see the files with 0 size here, some of the timestamps look suspicious also:

 

Thanks!

 

-rwxr-xr-x 1 nobody users  3265224 Aug 16 05:01 Plex\ DLNA\ Server*

-rwxr-xr-x 1 nobody users        0 Aug 16 05:01 Plex\ Media\ Scanner*

-rwxr-xr-x 1 nobody users        0 Aug 16 05:01 Plex\ Media\ Server*

drwxr-xr-x 1 nobody users    1264 Aug 16 05:01 Resources/

drwxrwxrwx 1 nobody users      88 Aug 18 23:31 config/

-rw------- 1 nobody users  2564096 Aug 18 23:44 core

-rw-r--r-- 1 nobody users  297683 Aug 11 19:59 libass.so.4

-rw-r--r-- 1 nobody users        0 Aug 11 19:57 libavcodec.so.54

-rw-r--r-- 1 nobody users  1422272 Aug 11 19:57 libavformat.so.54

-rw-r--r-- 1 nobody users  182856 Aug 11 19:57 libavutil.so.52

-rw-r--r-- 1 nobody users        0 Aug 11 19:52 libboost_chrono.so.1.50.0

-rw-r--r-- 1 nobody users  112910 Aug 11 19:52 libboost_filesystem.so.1.50.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:52 libboost_iostreams.so.1.50.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:52 libboost_program_options.so.1.50.0

-rw-r--r-- 1 nobody users  1158086 Aug 11 19:52 libboost_regex.so.1.50.0

-rw-r--r-- 1 nobody users  111524 Aug 11 19:52 libboost_signals.so.1.50.0

-rw-r--r-- 1 nobody users    20053 Aug 11 19:52 libboost_system.so.1.50.0

-rw-r--r-- 1 nobody users  180651 Aug 11 19:52 libboost_thread.so.1.50.0

-rw-r--r-- 1 nobody users  2031273 Aug 11 19:48 libcrypto.so.1.0.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:54 libcurl.so.4

-rw-r--r-- 1 nobody users  342824 Aug 11 19:58 libexpat.so.1

-rw-r--r-- 1 nobody users        0 Aug 11 19:47 libexslt.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:59 libfontconfig.so.1

-rw-r--r-- 1 nobody users  3706520 Aug 11 19:50 libfreeimage.so.3

-rw-r--r-- 1 nobody users  1875699 Aug 11 19:59 libfreetype.so.6

-rw-r--r-- 1 nobody users  152227 Aug 11 20:00 libfribidi.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:46 libiconv.so.2

-rw-r--r-- 1 nobody users        0 Aug 11 19:52 libidn.so.11

-rw-r--r-- 1 nobody users 11599910 Aug 11 19:57 libmediainfo.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:47 libminiupnpc.so.8

-rw-r--r-- 1 nobody users  769934 Aug 11 19:59 libmp3lame.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:47 libnatpmp.so.1

-rw-r--r-- 1 nobody users  2612512 Aug 11 19:51 libopencv_core.so.2.4

-rw-r--r-- 1 nobody users  2451503 Aug 11 19:51 libopencv_imgproc.so.2.4

-rw-r--r-- 1 nobody users  5782276 Aug 11 19:49 libpython2.7.so.1.0

-rw-r--r-- 1 nobody users  306710 Aug 11 20:00 librtmp.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:53 libsoci_core-gcc-3_0.so.3.0.0

-rw-r--r-- 1 nobody users  293886 Aug 11 19:53 libsoci_sqlite3-gcc-3_0.so.3.0.0

-rw-r--r-- 1 nobody users  1761495 Aug 11 19:51 libsqlite3.so.0

-rw-r--r-- 1 nobody users        0 Aug 11 19:48 libssl.so.1.0.0

-rw-r--r-- 1 nobody users  334096 Aug 11 19:57 libswscale.so.2

-rw-r--r-- 1 nobody users        0 Aug 11 20:00 libvo-aacenc.so.0

-rw-r--r-- 1 nobody users  1903869 Aug 11 19:47 libxml2.so.2

-rw-r--r-- 1 nobody users  692651 Aug 11 19:47 libxslt.so.1

-rw-r--r-- 1 nobody users  186836 Aug 11 19:45 libz.so.1

-rw-r--r-- 1 nobody users        0 Aug 11 19:57 libzen.so.0

-rw-r--r-- 1 nobody users    3453 Aug 16 05:04 plex-archive-keyring.gpg

-rwxr-xr-x 1 nobody users        0 Jun 11 07:59 start.sh*

I'll have a look. Does it start still? I assume it doesn't.

Link to comment

I installed NzbDrone and started playing around with setting it up. I have a question regarding download locations and how it handles failed downloads.

 

Right now I have it set up with Sabnzbd all running off a non-array drive, default downloads are to \\unraid\appdisk\app\sabnzbd\downloads\complete or something like that. Do I need to put that location in the "drone factory path"? I didn't at first and it sent the nzbs to Sabnzbd and downloaded fine but it never moved them. I then added the location and it moved them to the appropriate location on the array, but I was wondering if doing it like this will still allow it to handle failed downloads? I thought with NzbDrone having the Sabnzbd API key I wouldn't need to put that location in the "drone factory path", am I doing it right?

Link to comment

Hey PhAze.

 

Thanks for updating all these awesome plugins, this is amazing! Is there any chance you could look into the teamspeak3server Plugin as well? http://lime-technology.com/forum/index.php?topic=17008.0

It has some glitches and maybe you'll find a better way to permanently display the admin token and not run it as root. :)

 

Thank you

That and Deluge are on my list at some point. TeamSpeak is the only plugin Im missing from my upgrade from unraid 5 to 6. I'm not sure if I've got the time to work on them any time soon though.

Have you had some time to look into it?  :) For me this is the only downside in unraid 6 - missing teamspeak.

Link to comment

Hi,

 

Now that docker for media browser server has been released on the mb3 website will there be an unraid version?

 

Mb3 on unraid would probably give me the energy to tackle upgrading to unraid 6, learning dockers etc.

 

Thanks

Yup, just waiting for the binary DEB to be hosted on their website, but they haven't got a good process for making that deb file yet.

Link to comment

I'll have a look. Does it start still? I assume it doesn't.

 

No :-( everything was running great until Plex 0.9.9.13 i believe.

I just booted up a fresh VM of Unraid 6 beta 6 and installed the latest version ... no problem.  It seems there were some kind of changes made since version .13, I onder what they've changed to break the app.  I've got plexpass version .16 working now on the VM also.  Try and delete the download file from /boot/packages folder and let it download again.

Link to comment

I'll have a look. Does it start still? I assume it doesn't.

 

No :-( everything was running great until Plex 0.9.9.13 i believe.

I just booted up a fresh VM of Unraid 6 beta 6 and installed the latest version ... no problem.  It seems there were some kind of changes made since version .13, I onder what they've changed to break the app.  I've got plexpass version .16 working now on the VM also.  Try and delete the download file from /boot/packages folder and let it download again.

 

I cleaned out the whole install - deleted /boot/packages/* install and lib and the /boot/config/plugins enties

Did a reboot and installed from first page of this thread - no joy.

 

new packages folder contains this: plexmediaserver_0.9.9.16.555-50cd0c3_amd64.deb

Looks suspicious - is it correct?

 

Full list of directory:

NzbDrone-2.0.0.1817-all.deb*        mediainfo-0.7.63-x86_64-1sl.txz*

SABnzbd-0.7.18-src.tar.gz*          mono-3.4.0-x86_64-1sl.txz*

binutils-2.23.52.0.1-x86_64-2.txz*  par2cmdline_tbb-0.4-lin64.tgz*

curl-7.31.0-x86_64-1.txz*            plexmediaserver_0.9.9.16.555-50cd0c3_amd64.deb*

infozip-6.0-x86_64-2.txz*            pyopenssl-0.11-x86_64-1alien.tgz*

libffi-3.0.13-x86_64-2.txz*          python-2.7.5-x86_64-1.txz*

libgdiplus-2.10.9-x86_64-1sl.txz*    python-cheetah-2.4.4-x86_64-1alien.tgz*

libidn-1.25-x86_64-2.txz*            python-yenc-0.3-x86_64-1alien.tgz*

libmediainfo-0.7.63-x86_64-1sl.txz*  sqlite-3.7.17-x86_64-1.txz*

libmms-0.6.2-x86_64-2sl.txz*        unrar-5.0.14-x86_64-1sl.txz*

libzen-0.4.29-x86_64-2sl.txz*        zlib-1.2.8-x86_64-1.txz*

 

Link to comment

That .deb looks correct. Is sabnzbd working OK?

 

Now that you did a fresh install, are the file sizes still showing zero bytes?

 

Ninja edit: what motherboard is this running on?

 

Sabnzbd is running fine. For plex Still seeing zero size files.

Motherboard is an older Wistron custom board for an HP Ex495

Link to comment

I installed NzbDrone and started playing around with setting it up. I have a question regarding download locations and how it handles failed downloads.

 

Right now I have it set up with Sabnzbd all running off a non-array drive, default downloads are to \\unraid\appdisk\app\sabnzbd\downloads\complete or something like that. Do I need to put that location in the "drone factory path"? I didn't at first and it sent the nzbs to Sabnzbd and downloaded fine but it never moved them. I then added the location and it moved them to the appropriate location on the array, but I was wondering if doing it like this will still allow it to handle failed downloads? I thought with NzbDrone having the Sabnzbd API key I wouldn't need to put that location in the "drone factory path", am I doing it right?

 

Dont put anything in the drone factory path. the API key handles it.

Link to comment

I installed NzbDrone and started playing around with setting it up. I have a question regarding download locations and how it handles failed downloads.

 

Right now I have it set up with Sabnzbd all running off a non-array drive, default downloads are to \\unraid\appdisk\app\sabnzbd\downloads\complete or something like that. Do I need to put that location in the "drone factory path"? I didn't at first and it sent the nzbs to Sabnzbd and downloaded fine but it never moved them. I then added the location and it moved them to the appropriate location on the array, but I was wondering if doing it like this will still allow it to handle failed downloads? I thought with NzbDrone having the Sabnzbd API key I wouldn't need to put that location in the "drone factory path", am I doing it right?

 

Dont put anything in the drone factory path. the API key handles it.

 

Hmm, I don't know if I was impatient but I didn't see it moving anything it downloaded. I was definitely using the right API key (full access), is there anything else that needs to be done?

Link to comment

I installed NzbDrone and started playing around with setting it up. I have a question regarding download locations and how it handles failed downloads.

 

Right now I have it set up with Sabnzbd all running off a non-array drive, default downloads are to \\unraid\appdisk\app\sabnzbd\downloads\complete or something like that. Do I need to put that location in the "drone factory path"? I didn't at first and it sent the nzbs to Sabnzbd and downloaded fine but it never moved them. I then added the location and it moved them to the appropriate location on the array, but I was wondering if doing it like this will still allow it to handle failed downloads? I thought with NzbDrone having the Sabnzbd API key I wouldn't need to put that location in the "drone factory path", am I doing it right?

 

Dont put anything in the drone factory path. the API key handles it.

 

Hmm, I don't know if I was impatient but I didn't see it moving anything it downloaded. I was definitely using the right API key (full access), is there anything else that needs to be done?

Did you see it go through the full process? (ie it searches and sends the nzb, shows it downloading in sab and a purple bar in nzbdrone, then it finishes without error and without warning in the upper left of sab?). Did you go directly to the download folder and the original file is still there? hard to diagnose with so little info.

Link to comment

I installed NzbDrone and started playing around with setting it up. I have a question regarding download locations and how it handles failed downloads.

 

Right now I have it set up with Sabnzbd all running off a non-array drive, default downloads are to \\unraid\appdisk\app\sabnzbd\downloads\complete or something like that. Do I need to put that location in the "drone factory path"? I didn't at first and it sent the nzbs to Sabnzbd and downloaded fine but it never moved them. I then added the location and it moved them to the appropriate location on the array, but I was wondering if doing it like this will still allow it to handle failed downloads? I thought with NzbDrone having the Sabnzbd API key I wouldn't need to put that location in the "drone factory path", am I doing it right?

 

Dont put anything in the drone factory path. the API key handles it.

 

Hmm, I don't know if I was impatient but I didn't see it moving anything it downloaded. I was definitely using the right API key (full access), is there anything else that needs to be done?

Did you see it go through the full process? (ie it searches and sends the nzb, shows it downloading in sab and a purple bar in nzbdrone, then it finishes without error and without warning in the upper left of sab?). Did you go directly to the download folder and the original file is still there? hard to diagnose with so little info.

It was an older show so I think I hit auto search, maybe manual, I did see it send the NZB to Sabnzbd, I did not check to see if the calendar was purple. After a while I checked and saw Sabnzbd said they were complete (no errors) and the download folder had all the episodes in there, I waited but it didn't move them so I thought maybe I had to put that location in the "drone factory" box. Once I did it moved it.

 

I do notice my log says:

DiskSpaceService - Unable to get free space for: /: Object reference not set to an instance of an object

 

Message

Unable to get free space for: /: Object reference not set to an instance of an object

Exception

System.NullReferenceException: Object reference not set to an instance of an object

  at NzbDrone.Mono.DiskProvider.GetTotalSize (System.String path) [0x00000] in <filename unknown>:0

  at NzbDrone.Core.DiskSpace.DiskSpaceService+<GetDiskSpace>d__4.MoveNext () [0x00000] in <filename unknown>:0

 

Don't know if that has anything to do with this, it's running as "nobody".

 

Edit: I have a show that it snatched and didn't move. In the Nzbdrone settings for Sabnzbd I have the API key in there and no category. I have Completed download handling enabled.

 

The icon next to the show under activity says "grabbed from XXX and sent to download client."

Link to comment

When I try to update Plex from unraid UI it says update ok, start ok during the process but when returned to the page the status still shows running with the older version and the update to new version still shows. Plus I keep losing access to the plex web ui

 

EDIT: And also I do not get a single thumbnail in any of the library sections:(

 

Any suggestions?

Link to comment

I installed NzbDrone and started playing around with setting it up. I have a question regarding download locations and how it handles failed downloads.

 

Right now I have it set up with Sabnzbd all running off a non-array drive, default downloads are to \\unraid\appdisk\app\sabnzbd\downloads\complete or something like that. Do I need to put that location in the "drone factory path"? I didn't at first and it sent the nzbs to Sabnzbd and downloaded fine but it never moved them. I then added the location and it moved them to the appropriate location on the array, but I was wondering if doing it like this will still allow it to handle failed downloads? I thought with NzbDrone having the Sabnzbd API key I wouldn't need to put that location in the "drone factory path", am I doing it right?

 

Dont put anything in the drone factory path. the API key handles it.

 

Hmm, I don't know if I was impatient but I didn't see it moving anything it downloaded. I was definitely using the right API key (full access), is there anything else that needs to be done?

Did you see it go through the full process? (ie it searches and sends the nzb, shows it downloading in sab and a purple bar in nzbdrone, then it finishes without error and without warning in the upper left of sab?). Did you go directly to the download folder and the original file is still there? hard to diagnose with so little info.

It was an older show so I think I hit auto search, maybe manual, I did see it send the NZB to Sabnzbd, I did not check to see if the calendar was purple. After a while I checked and saw Sabnzbd said they were complete (no errors) and the download folder had all the episodes in there, I waited but it didn't move them so I thought maybe I had to put that location in the "drone factory" box. Once I did it moved it.

 

I do notice my log says:

DiskSpaceService - Unable to get free space for: /: Object reference not set to an instance of an object

 

Message

Unable to get free space for: /: Object reference not set to an instance of an object

Exception

System.NullReferenceException: Object reference not set to an instance of an object

  at NzbDrone.Mono.DiskProvider.GetTotalSize (System.String path) [0x00000] in <filename unknown>:0

  at NzbDrone.Core.DiskSpace.DiskSpaceService+<GetDiskSpace>d__4.MoveNext () [0x00000] in <filename unknown>:0

 

Don't know if that has anything to do with this, it's running as "nobody".

 

Edit: I have a show that it snatched and didn't move. In the Nzbdrone settings for Sabnzbd I have the API key in there and no category. I have Completed download handling enabled.

 

The icon next to the show under activity says "grabbed from XXX and sent to download client."

Figured out my issue with NzbDrone, didn't have a category set in Drone, once I set that to TV and turned off post processing in Sab for TV it looks like it worked; I haven't checked to see what the status says but it pulled an episode and it showed up in Plex without having a "drone factory path" location so it all looks good.
Link to comment

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.