[PhAzE] Plugins for Unraid 5/6


Recommended Posts

Hey Phaze, I have a problem installing BTSync. This is what returns:

 

root@Server:~# installplg /boot/config/plugins/Btsync.plg                                                                                                                                                                                                      
installing plugin: Btsync                                                                                                                                                                                                                                      
file /tmp/Btsync-script: successfully wrote INLINE file contents                                                                                                                                                                                              
  /bin/bash /tmp/Btsync-script ...                                                                                                                                                                                                                             
Cleaning up previous install files...                                                                                                                                                                                                                          
...Cleanup complete!                                                                                                                                                                                                                                           
Downloading any missing plugin files...                                                                                                                                                                                                                        
         Latest plugin control files downloading                                                                                                                                                                                                               
         Plugin control files have passed MD5 check                                                                                                                                                                                                            
...Downloading complete!                                                                                                                                                                                                                                       
Running install script for BitTorrent Sync...                                                                                                                                                                                                                  
         No default config file found. Creating                                                                                                                                                                                                                
         Plugin config file verified                                                                                                                                                                                                                           
         Installing plugin control files                                                                                                                                                                                                                       
cp: cannot overwrite non-directory `/./usr/local/emhttp' with directory `/tmp/Btsync-inst/install-A/./usr/local/emhttp'                                                                                                                                        
Updating export file                                                                                                                                                                                                                                           
No application config file was located or created.                                                                                                                                                                                                             
         Cleaning up temp files/folders                                                                                                                                                                                                                        
...Install complete!                                                                                                                                                                                                                                           
success                                                                                                                                                                                                                                                        
file :                                                                                                                                                                                                                                                        
Warning: mkdir(): No such file or directory in /usr/local/sbin/installplg on line 29                                                                                                                                                                           
unable to create directory     

 

Any suggestion? Running v.5.05

Link to comment

Hey Phaze, I have a problem installing BTSync. This is what returns:

 

root@Server:~# installplg /boot/config/plugins/Btsync.plg                                                                                                                                                                                                      
installing plugin: Btsync                                                                                                                                                                                                                                      
file /tmp/Btsync-script: successfully wrote INLINE file contents                                                                                                                                                                                              
  /bin/bash /tmp/Btsync-script ...                                                                                                                                                                                                                             
Cleaning up previous install files...                                                                                                                                                                                                                          
...Cleanup complete!                                                                                                                                                                                                                                           
Downloading any missing plugin files...                                                                                                                                                                                                                        
         Latest plugin control files downloading                                                                                                                                                                                                               
         Plugin control files have passed MD5 check                                                                                                                                                                                                            
...Downloading complete!                                                                                                                                                                                                                                       
Running install script for BitTorrent Sync...                                                                                                                                                                                                                  
         No default config file found. Creating                                                                                                                                                                                                                
         Plugin config file verified                                                                                                                                                                                                                           
         Installing plugin control files                                                                                                                                                                                                                       
cp: cannot overwrite non-directory `/./usr/local/emhttp' with directory `/tmp/Btsync-inst/install-A/./usr/local/emhttp'                                                                                                                                        
Updating export file                                                                                                                                                                                                                                           
No application config file was located or created.                                                                                                                                                                                                             
         Cleaning up temp files/folders                                                                                                                                                                                                                        
...Install complete!                                                                                                                                                                                                                                           
success                                                                                                                                                                                                                                                        
file :                                                                                                                                                                                                                                                        
Warning: mkdir(): No such file or directory in /usr/local/sbin/installplg on line 29                                                                                                                                                                           
unable to create directory     

 

Any suggestion? Running v.5.05

Try opening the plugin in a text editor and change this line:

 

cp -Raf "/tmp/&name;-inst/install-A/." /

 

To this:

 

cp -Raf /tmp/&name;-inst/install-A/. /

 

Save it and get to install it again. Let me know of that works. Apparently the copy command handles differently between Linux version.

Link to comment

Hey Phaze, any chance you will be updating PlexConnect to make it use the iMove or Wall Street Journal App?  No hurry just wondering if you are going to look at it and when it might happen.

 

Thanks for the great work

I will have a look likely later this week. Can you tell me what needs to be done, like is it just the. Pem name that needs updating? Right now it forces trailers.pem

Link to comment

Hey Phaze, I have a problem installing BTSync. This is what returns:

 

root@Server:~# installplg /boot/config/plugins/Btsync.plg                                                                                                                                                                                                      
installing plugin: Btsync                                                                                                                                                                                                                                      
file /tmp/Btsync-script: successfully wrote INLINE file contents                                                                                                                                                                                              
  /bin/bash /tmp/Btsync-script ...                                                                                                                                                                                                                             
Cleaning up previous install files...                                                                                                                                                                                                                          
...Cleanup complete!                                                                                                                                                                                                                                           
Downloading any missing plugin files...                                                                                                                                                                                                                        
         Latest plugin control files downloading                                                                                                                                                                                                               
         Plugin control files have passed MD5 check                                                                                                                                                                                                            
...Downloading complete!                                                                                                                                                                                                                                       
Running install script for BitTorrent Sync...                                                                                                                                                                                                                  
         No default config file found. Creating                                                                                                                                                                                                                
         Plugin config file verified                                                                                                                                                                                                                           
         Installing plugin control files                                                                                                                                                                                                                       
cp: cannot overwrite non-directory `/./usr/local/emhttp' with directory `/tmp/Btsync-inst/install-A/./usr/local/emhttp'                                                                                                                                        
Updating export file                                                                                                                                                                                                                                           
No application config file was located or created.                                                                                                                                                                                                             
         Cleaning up temp files/folders                                                                                                                                                                                                                        
...Install complete!                                                                                                                                                                                                                                           
success                                                                                                                                                                                                                                                        
file :                                                                                                                                                                                                                                                        
Warning: mkdir(): No such file or directory in /usr/local/sbin/installplg on line 29                                                                                                                                                                           
unable to create directory     

 

Any suggestion? Running v.5.05

Try opening the plugin in a text editor and change this line:

 

cp -Raf "/tmp/&name;-inst/install-A/." /

 

To this:

 

cp -Raf /tmp/&name;-inst/install-A/. /

 

Save it and get to install it again. Let me know of that works. Apparently the copy command handles differently between Linux version.

 

I tried but the problem is still there... I have your Couchpotato/Sickbeard plugin, but they work correctly...

Link to comment

Not sure if anyone is still monitoring this thread but, as a new user to unRaid 6, I have been trying to get PMS and TVheadend working on the server but seem to always run into script errors that I am not sure about. So, I finally found your work on the plug ins (what is the effective difference between the plug in and docker?), so thank you for doing this work, but when I try to install any of these, I get an "Unable to download missing plugin control files ... Aborting install"

 

/usr/local/sbin/plugin install https://github.com/PhAzE-Variance/unRAID/raw/master/Plugins/Plexmediaserver.plg 2>&1

plugin: installing: https://github.com/PhAzE-Variance/unRAID/raw/master/Plugins/Plexmediaserver.plg

plugin: downloading https://github.com/PhAzE-Variance/unRAID/raw/master/Plugins/Plexmediaserver.plg

plugin: creating: /tmp/Plexmediaserver-script - from INLINE content

plugin: running: /tmp/Plexmediaserver-script

Cleaning up previous install files...

...Cleanup complete!

Downloading any missing plugin files...

Latest plugin control files downloading

...Unable to download missing plugin control files. Aborting install

plugin: run failed: /bin/bash retval: 1

 

Can anyone direct me as to how to make this work or, failing that, direct me to a tutorial or instructions on installing using a docker container as I: am getting errors there as well.

 

TIA

 

Dave

Link to comment

Hi Guys,

 

First GREAT Plugins PhAzE, Thanks.

 

I'm running Unraid 6 and just started to try FlexGet to automate my torrent downloads....

Issue is, even the simplest task, I get a "Database is Locked" error.

 

( Unhandled error in plugin series: (OperationalError) database is locked u'INSERT INTO log )

 

Any ideas on what I should do ?

 

Thanks all,

 

Best Regards,

 

PicGrabber

Link to comment

Hey Phaze, I have a problem installing BTSync. This is what returns:

 

root@Server:~# installplg /boot/config/plugins/Btsync.plg                                                                                                                                                                                                      
installing plugin: Btsync                                                                                                                                                                                                                                      
file /tmp/Btsync-script: successfully wrote INLINE file contents                                                                                                                                                                                              
  /bin/bash /tmp/Btsync-script ...                                                                                                                                                                                                                             
Cleaning up previous install files...                                                                                                                                                                                                                          
...Cleanup complete!                                                                                                                                                                                                                                           
Downloading any missing plugin files...                                                                                                                                                                                                                        
         Latest plugin control files downloading                                                                                                                                                                                                               
         Plugin control files have passed MD5 check                                                                                                                                                                                                            
...Downloading complete!                                                                                                                                                                                                                                       
Running install script for BitTorrent Sync...                                                                                                                                                                                                                  
         No default config file found. Creating                                                                                                                                                                                                                
         Plugin config file verified                                                                                                                                                                                                                           
         Installing plugin control files                                                                                                                                                                                                                       
cp: cannot overwrite non-directory `/./usr/local/emhttp' with directory `/tmp/Btsync-inst/install-A/./usr/local/emhttp'                                                                                                                                        
Updating export file                                                                                                                                                                                                                                           
No application config file was located or created.                                                                                                                                                                                                             
         Cleaning up temp files/folders                                                                                                                                                                                                                        
...Install complete!                                                                                                                                                                                                                                           
success                                                                                                                                                                                                                                                        
file :                                                                                                                                                                                                                                                        
Warning: mkdir(): No such file or directory in /usr/local/sbin/installplg on line 29                                                                                                                                                                           
unable to create directory     

 

Any suggestion? Running v.5.05

 

There is something else that I can do Phaze?

 

Thank you

Link to comment

Hi Guys,

 

First GREAT Plugins PhAzE, Thanks.

 

I'm running Unraid 6 and just started to try FlexGet to automate my torrent downloads....

Issue is, even the simplest task, I get a "Database is Locked" error.

 

( Unhandled error in plugin series: (OperationalError) database is locked u'INSERT INTO log )

 

Any ideas on what I should do ?

 

Thanks all,

 

Best Regards,

 

PicGrabber

Seems to be a problem when two instances are running at the same time. How are you using it exactly? Starting it in the plugin then running a command line?

Link to comment

Hi Guys,

 

First GREAT Plugins PhAzE, Thanks.

 

I'm running Unraid 6 and just started to try FlexGet to automate my torrent downloads....

Issue is, even the simplest task, I get a "Database is Locked" error.

 

( Unhandled error in plugin series: (OperationalError) database is locked u'INSERT INTO log )

 

Any ideas on what I should do ?

 

Thanks all,

 

Best Regards,

 

PicGrabber

Seems to be a problem when two instances are running at the same time. How are you using it exactly? Starting it in the plugin then running a command line?

 

Why nobody told me this before !!!! you are totally correct.... I didn't notice I had to stop the plugin to run it manually at command line........ That did the trick !!! THANKS PhAzE .........

Link to comment

Hi, I have just decided to install Transmission again and I found a fantastic V2 solution! But when I try to start it, it says:

 

"Your config directory is not persistent and WILL NOT survive a reboot. Please locate the directory on disk for persistency"

 

Is that normal? I read on the first post of this thread: "Also note that settings changed from the client app while the daemon is running will not save to the settings file until transmission-daemon is terminated. This is of course normal operation for this program so those that have used it before should be aware of this."

 

Should I create a local folder to store the settings there? Can it be saved on the USB itself or should I do it on a disk?

Link to comment

Try in the plugin changing that line again from:

 

cp -Raf "/tmp/&name;-inst/install-A/." /

 

To

 

cp -Rf /tmp/&name;-inst/install-A/* /

 

That's a star now instead of a dot and the n option removed.

 

Nothing. How Is this possible?? What can I try to debug the process?

Link to comment

Hi, I have just decided to install Transmission again and I found a fantastic V2 solution! But when I try to start it, it says:

 

"Your config directory is not persistent and WILL NOT survive a reboot. Please locate the directory on disk for persistency"

 

Is that normal? I read on the first post of this thread: "Also note that settings changed from the client app while the daemon is running will not save to the settings file until transmission-daemon is terminated. This is of course normal operation for this program so those that have used it before should be aware of this."

 

Should I create a local folder to store the settings there? Can it be saved on the USB itself or should I do it on a disk?

 

You need to set your config directory to a peristant drive, ie /mnt/user/apps or /mint/cache/apps and not usr/local. Do you have disks and a cache or just disks?

 

The bit about saving settings is to do with the way transmission saves changes to it's config file. Transmission gui remote is used if you just have the backend daemon running or you can manually edit the config file, but you have to not be running the daemon for the changes to take effect.

Link to comment

Hi, I have just decided to install Transmission again and I found a fantastic V2 solution! But when I try to start it, it says:

 

"Your config directory is not persistent and WILL NOT survive a reboot. Please locate the directory on disk for persistency"

 

Is that normal? I read on the first post of this thread: "Also note that settings changed from the client app while the daemon is running will not save to the settings file until transmission-daemon is terminated. This is of course normal operation for this program so those that have used it before should be aware of this."

 

Should I create a local folder to store the settings there? Can it be saved on the USB itself or should I do it on a disk?

 

You need to set your config directory to a peristant drive, ie /mnt/user/apps or /mint/cache/apps and not usr/local. Do you have disks and a cache or just disks?

 

Hi! I just have disks

Link to comment

Hi, I have just decided to install Transmission again and I found a fantastic V2 solution! But when I try to start it, it says:

 

"Your config directory is not persistent and WILL NOT survive a reboot. Please locate the directory on disk for persistency"

 

Is that normal? I read on the first post of this thread: "Also note that settings changed from the client app while the daemon is running will not save to the settings file until transmission-daemon is terminated. This is of course normal operation for this program so those that have used it before should be aware of this."

 

Should I create a local folder to store the settings there? Can it be saved on the USB itself or should I do it on a disk?

 

You need to set your config directory to a peristant drive, ie /mnt/user/apps or /mint/cache/apps and not usr/local. Do you have disks and a cache or just disks?

 

Hi! I just have disks

 

Ok, then save it to a share if you have a designated app share, ie /mnt/user/apps/transmission/config or you can simply save it to a specific disk, ie /mnt/disk1/transmission/

Link to comment

Hi, I have just decided to install Transmission again and I found a fantastic V2 solution! But when I try to start it, it says:

 

"Your config directory is not persistent and WILL NOT survive a reboot. Please locate the directory on disk for persistency"

 

Is that normal? I read on the first post of this thread: "Also note that settings changed from the client app while the daemon is running will not save to the settings file until transmission-daemon is terminated. This is of course normal operation for this program so those that have used it before should be aware of this."

 

Should I create a local folder to store the settings there? Can it be saved on the USB itself or should I do it on a disk?

 

You need to set your config directory to a peristant drive, ie /mnt/user/apps or /mint/cache/apps and not usr/local. Do you have disks and a cache or just disks?

 

Hi! I just have disks

 

Ok, then save it to a share if you have a designated app share, ie /mnt/user/apps/transmission/config or you can simply save it to a specific disk, ie /mnt/disk1/transmission/

 

Oh, that sounds nice. If I can ask a final couple questions about it:

 

- creating an "apps" share should be better, isn't it? I mean it could be more "failure resistant" than using a specific disk. Is that right?

- that share don't need to be visible, right? So I could keep that share hidden to avoid clutter and undesired deletions ;)

Link to comment

Hi guys,

 

New issue I'm seeing here.

 

Can't get Clean_transmission to work.

 

error log is showing:

BUG: Unhandled error in plugin clean_transmission: torrent_info() takes exactly 3 arguments (2 given)

 

my config file:

    clean_transmission:

      host: localhost

      port: 9091

      username: xxxx

      password: yyyy

      min_ratio: 5

      transmission_seed_limits: Yes

      enabled: Yes

 

Have tested all sorts os config, with no lucky.

 

Any help would be really appreciated  ;)

 

Thanks,

 

PicGrabber

Link to comment

Hi, I have just decided to install Transmission again and I found a fantastic V2 solution! But when I try to start it, it says:

 

"Your config directory is not persistent and WILL NOT survive a reboot. Please locate the directory on disk for persistency"

 

Is that normal? I read on the first post of this thread: "Also note that settings changed from the client app while the daemon is running will not save to the settings file until transmission-daemon is terminated. This is of course normal operation for this program so those that have used it before should be aware of this."

 

Should I create a local folder to store the settings there? Can it be saved on the USB itself or should I do it on a disk?

 

You need to set your config directory to a peristant drive, ie /mnt/user/apps or /mint/cache/apps and not usr/local. Do you have disks and a cache or just disks?

 

Hi! I just have disks

 

Ok, then save it to a share if you have a designated app share, ie /mnt/user/apps/transmission/config or you can simply save it to a specific disk, ie /mnt/disk1/transmission/

 

Oh, that sounds nice. If I can ask a final couple questions about it:

 

- creating an "apps" share should be better, isn't it? I mean it could be more "failure resistant" than using a specific disk. Is that right?

- that share don't need to be visible, right? So I could keep that share hidden to avoid clutter and undesired deletions ;)

 

I created an apps share as I wanted to keep everything in one place. I suppose it depends on how many plugins you intend to use. It's actually either you specifying a location or the server...it has to go some where of course.

 

If however you are using multiple plugins and multiple disks, you may want them all on the same disk, so that your other disks can spin down.

 

Yes, you can hide the share to keep it tidy

 

 

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.