[PhAzE] Plugins for Unraid 5/6


Recommended Posts

Oops, I was able to get plex working. I just wasn't going to the right address.

 

However, it's still giving me an error that my config folder isn't persistent and that my transcode location is in ram. I've changed the settings as seen in the picture above. Are those folder settings ok?

Link to comment

OK so no guarantees but I will at least have a look at the other programs requested here to see how difficult it will be. With a new born son, it's my lack of time that really makes the choice for me :$

 

So far requested:

- NZBMegaSearch - done

- Transmission - done

- Flexget - done

- nzbget (overbyrn will update his plugin)

- serviio - done

- airvideo (overbyrn will update his plugin)

- vfs_recycle - Not being worked on

 

Request to change to python 2.7 vs 2.6 (all depends on how the current apps break when making that change)

 

- Does anyone currently have the apps in post 1 running with python 2.7? Any issues you are aware of?

 

Phaze you have put some awesome work into these plugins - now that overbyrn is out of the plugin game - any chance of getting an AirVideoHD Plugin?

Link to comment
However, it's still giving me an error that my config folder isn't persistent and that my transcode location is in ram. I've changed the settings as seen in the picture above. Are those folder settings ok?

 

While what you've created should be fine, the recommended method is to create a cache-only share for holding your application data.  You would then point those folders to that share.  An example might be /mnt/user/appdata/plex/libraries and /mnt/user/appdata/plex/transcode if you created a cache-only share called "appdata"

Link to comment

Having trouble with the Transmission plugin, when I try and start it as any other user than root I get "PID not created, application did not start for some reason" and my log shows this:

 

Mar 4 09:07:43 Media sudo: root : TTY=console ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; nohup /usr/local/Transmission/usr/bin/transmission-daemon -p 8083 -g /mnt/disk1/apps/Transmission -T -x /var/run/Transmission/Transmission.pid > /dev/null 2>&1 &
Mar 4 09:07:44 Media transmission-daemon[9222]: Transmission 2.82 (14156) started (session.c:738)
Mar 4 09:07:44 Media transmission-daemon[9222]: RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:828)
Mar 4 09:07:44 Media transmission-daemon[9222]: RPC Server Serving RPC and Web requests on port 127.0.0.1:8083/transmission/ (rpc-server.c:1035)
Mar 4 09:07:44 Media transmission-daemon[9222]: Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
Mar 4 09:07:44 Media transmission-daemon[9222]: UDP Couldn't bind IPv4 socket (tr-udp.c:263)
Mar 4 09:07:44 Media transmission-daemon[9222]: DHT Generating new id (tr-dht.c:310)
Mar 4 09:07:44 Media transmission-daemon[9222]: Using settings from "/mnt/disk1/apps/Transmission" (daemon.c:526)
Mar 4 09:07:44 Media transmission-daemon[9222]: Saved "/mnt/disk1/apps/Transmission/settings.json" (variant.c:1217)
Mar 4 09:07:44 Media transmission-daemon[9222]: Unable to save pidfile "/var/run/Transmission/Transmission.pid": Permission denied (daemon.c:542)
Mar 4 09:07:44 Media transmission-daemon[9222]: Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:73)
Mar 4 09:07:44 Media transmission-daemon[9222]: Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:73)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.0.1:1900/ctl/IPConn" (upnp.c:202)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding (UPnP) Local Address is "192.168.0.99" (upnp.c:204)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding (UPnP) Port forwarding through "http://192.168.0.1:1900/ctl/IPConn", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.0.99:51413) (upnp.c:279)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding (UPnP) Port forwarding successful! (upnp.c:282)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding State changed from "Not forwarded" to "Forwarded" (port-forwarding.c:95)
Mar 4 09:07:59 Media sudo: root : TTY=console ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; /usr/local/Transmission/usr/bin/transmission-daemon --version 2>&1
Mar 4 09:08:00 Media sudo: root : TTY=console ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; curl --version 2>&1

 

Anyone any ideas?

Looks like it's nota ble to bind to the port. Have you rebooted since this?  Also, see if you are able to run as root, just to see if it works then.

 

 

Yep, have rebooted and transmission fails to start either automatically or manually. Tried running as root, it starts but when I try and download a torrent I get "Error: Unable to save resume file: Permission denied".

 

Mar 7 09:13:07 Media sudo: root : TTY=console ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; nohup /usr/local/Transmission/usr/bin/transmission-daemon -p 9091 -g /mnt/disk1/apps/transmission/config -T -x /var/run/Transmission/Transmission.pid > /dev/null 2>&1 &
Mar 7 09:13:08 Media transmission-daemon[24927]: Transmission 2.82 (14156) started (session.c:738)
Mar 7 09:13:08 Media transmission-daemon[24927]: RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:828)
Mar 7 09:13:08 Media transmission-daemon[24927]: RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1035)
Mar 7 09:13:08 Media transmission-daemon[24927]: Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
Mar 7 09:13:08 Media transmission-daemon[24927]: UDP Couldn't bind IPv4 socket (tr-udp.c:263)
Mar 7 09:13:08 Media transmission-daemon[24927]: DHT Generating new id (tr-dht.c:310)
Mar 7 09:13:08 Media transmission-daemon[24927]: Using settings from "/mnt/disk1/apps/transmission/config" (daemon.c:526)
Mar 7 09:13:08 Media transmission-daemon[24927]: Saved "/mnt/disk1/apps/transmission/config/settings.json" (variant.c:1217)
Mar 7 09:13:08 Media transmission-daemon[24927]: Saved pidfile "/var/run/Transmission/Transmission.pid" (daemon.c:538)
Mar 7 09:13:08 Media transmission-daemon[24927]: Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:73)
Mar 7 09:13:08 Media transmission-daemon[24927]: Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:73)
Mar 7 09:13:10 Media sudo: root : TTY=console ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; /usr/local/Transmission/usr/bin/transmission-daemon --version 2>&1
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.0.1:1900/ctl/IPConn" (upnp.c:202)
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding (UPnP) Local Address is "192.168.0.99" (upnp.c:204)
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding (UPnP) Port forwarding through "http://192.168.0.1:1900/ctl/IPConn", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.0.99:51413) (upnp.c:279)
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding (UPnP) Port forwarding successful! (upnp.c:282)
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding State changed from "Not forwarded" to "Forwarded" (port-forwarding.c:95)
Mar 7 09:13:11 Media sudo: root : TTY=console ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; curl --version 2>&1

Link to comment

@ petjek

 

Am I missing something?

 

Are you running unRaid 5.0.6.  That screenshot does not look like mine.  I am running the stock gui.  The version I gave put up was the 32bit version.  I was hoping that if you dropped it and the md5 in the BTSync folder, it would then install it.

 

Also you don't drop at the plugins level, you should have a sub directory in plugins called Btsync, drop it in there.

 

\\TOWER\flash\config\plugins\Btsync\

 

The GUI is Dynamix WebGUI running on 5.0.5.

Does that look correct to you?

 

2015-03-07_13-21-39.png

 

Do I have to remove the Phaze plugin? And if so how to configure BTSync? Is there a default port?

 

 

Link to comment

@ petjek

Yes the path looks correct.  Leave the puggin alone, you need it to do its thing.  If you look in the files I upload, you only see Btsync stuff.

 

Also, drop this file in.  Then either reboot your server or run the install command and see what happens.  You may have to hit start a couple of times.

 

I am beginning to think the hospital comment earlier by Phaze was not a joke.  If not then I do hope he is ok.  I don't think I have ever seen him this silent.

Btsync-PhAzE-Control-1.0.tar.gz

Link to comment

I have just upgraded from v5 (where everything was running great) to latest v6 and have encountered following problem:

 

Running install script for Sick Beard...
No default config file found. Creating
Plugin config file verified
Installing plugin control files
tar: usr/local/emhttp/plugins/Sickbeard/include/Sickbeard.php: Cannot write: No space left on device
tar: usr/local/emhttp/plugins/Sickbeard/README.md: Cannot write: No space left on device
tar: usr/local/emhttp/plugins/Sickbeard/Sickbeard.page: Cannot write: No space left on device
tar: usr/local/emhttp/plugins/Sickbeard/Sickbeard.png: Cannot write: No space left on device
tar: usr/local/emhttp/plugins/Sickbeard/styles/Sickbeard5.css: Cannot write: No space left on device
tar: usr/local/emhttp/plugins/Sickbeard/styles/Sickbeard6.css: Cannot write: No space left on device
tar: usr/local/emhttp/plugins/webGui/icons/phazeplugins.png: Cannot write: No space left on device
tar: usr/local/emhttp/plugins/webGui/PhAzE.page: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors
/tmp/Sickbeard-script: line 203: echo: write error: No space left on device
/tmp/Sickbeard-script: line 204: echo: write error: No space left on device
/tmp/Sickbeard-script: line 205: echo: write error: No space left on device
cp: error writing '/./usr/local/emhttp/plugins/Sickbeard/icons/paypal.png': No space left on device
cp: failed to extend '/./usr/local/emhttp/plugins/Sickbeard/icons/paypal.png': No space left on device
cp: error writing '/./usr/local/emhttp/plugins/Sickbeard/icons/new_config.png': No space left on device
cp: failed to extend '/./usr/local/emhttp/plugins/Sickbeard/icons/new_config.png': No space left on device
cp: error writing '/./usr/local/emhttp/plugins/Sickbeard/icons/information.png': No space left on device
cp: failed to extend '/./usr/local/emhttp/plugins/Sickbeard/icons/information.png': No space left on device
cp: error writing '/./usr/local/emhttp/plugins/Sickbeard/icons/device_status.png': No space left on device
cp: failed to extend '/./usr/local/emhttp/plugins/Sickbeard/icons/device_status.png': No space left on device
cp: error writing '/./usr/local/emhttp/plugins/Sickbeard/icons/depends.png': No space left on device
cp: failed to extend '/./usr/local/emhttp/plugins/Sickbeard/icons/depends.png': No space left on device
cp: error writing '/./usr/local/emhttp/plugins/Sickbeard/event/unmounting_disks': No space left on device
cp: failed to extend '/./usr/local/emhttp/plugins/Sickbeard/event/unmounting_disks': No space left on device
cp: error writing '/./usr/local/emhttp/plugins/Sickbeard/event/disks_mounted': No space left on device
cp: failed to extend '/./usr/local/emhttp/plugins/Sickbeard/event/disks_mounted': No space left on device
cp: error writing '/./etc/rc.d/rc.Sickbeard': No space left on device
cp: failed to extend '/./etc/rc.d/rc.Sickbeard': No space left on device
Installing plugin dependency files
tar: curl-7.31.0-x86_64-1.txz: Cannot write: No space left on device
tar: git-1.8.4-x86_64-1.txz: Cannot write: No space left on device
tar: libffi-3.0.13-x86_64-2.txz: Cannot write: No space left on device
tar: libidn-1.25-x86_64-2.txz: Cannot write: No space left on device
tar: python-2.7.5-x86_64-1.txz: Cannot write: No space left on device
tar: python-cheetah-2.4.4-x86_64-1alien.tgz: Cannot write: No space left on device
tar: sqlite-3.7.17-x86_64-1.txz: Cannot write: No space left on device
tar: zlib-1.2.8-x86_64-1.txz: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors
/sbin/upgradepkg: line 273: cannot create temp file for here-document: No space left on device
/sbin/upgradepkg: line 273: cannot create temp file for here-document: No space left on device
/sbin/upgradepkg: line 273: cannot create temp file for here-document: No space left on device
/sbin/upgradepkg: line 273: cannot create temp file for here-document: No space left on device
/sbin/upgradepkg: line 273: cannot create temp file for here-document: No space left on device
/sbin/upgradepkg: line 273: cannot create temp file for here-document: No space left on device
/sbin/upgradepkg: line 273: cannot create temp file for here-document: No space left on device
/sbin/upgradepkg: line 273: cannot create temp file for here-document: No space left on device

Cleaning up temp files/folders
...Install complete!
plugin: installed

 

what might be causing this problem? i have 7gb of free space on flash drive. my server only has 1GB ram, but I used to run every plugin i wanted on v5 with no problem whatsoever....this also happens for every other plugin i'm trying to install

Link to comment

@joyless I have this same problem.  I have not gotten any any answers from this thread.  Can you do df -h /tmp.  For me it seems as if the root file system was filled up by things getting installed to /usr/lib by the plugins.  I have no idea how to fix it though.

 

Link to comment

Add more memory.  The beta loads have all of the new code for 64bit version linux, Docker and the two hyper-visors.  It needs more memory.  That is part of the reason LT was saying when it hits final they would ofter a build without the extra hyper-visors.

 

From the hardware recommendation for application server:

 

    For business users:  8GB dual-channel ECC RAM

    For home users:  4GB dual-channel RAM

 

http://lime-technology.com/hardware-recommendations/

 

Even though the minimum recommendation is 4Gig, I would got to 8Gig if I were you.  This is the reason I put 16 in my server day one even though it could not really use it.

Link to comment

So, as you know, unraid loads its entire OS into a RAM drive, or in other words, a portion of your RAM is used as a fake hard drive where the OS gets installed to one each reboot. That portion by default is 50%.

 

This means the OS, all plugins, all dependencies are always in RAM.  Unraid 5 uses a 32 bit OS where as unraid 6 uses a 64bit os. The 64bit OS has much larger footprint. If you start with only 1GB ram, your tmpfs ram drive will only be 500megs which is really small for an entire 64bit OS and extra dependencies like python, mono, or java.

 

Remember that when you see "not enough space on device" that 'device' is actually the tmpfs ram drive. You likely need more ram as the user above stated.

Link to comment

@ petjek

Yes the path looks correct.  Leave the puggin alone, you need it to do its thing.  If you look in the files I upload, you only see Btsync stuff.

 

Also, drop this file in.  Then either reboot your server or run the install command and see what happens.  You may have to hit start a couple of times.

 

I am beginning to think the hospital comment earlier by Phaze was not a joke.  If not then I do hope he is ok.  I don't think I have ever seen him this silent.

It's not a joke, i have a close family member who has been diagnosed with a very short amount of time left. :(  I'll likely be online less often over the next little while.

 

For BTSync, I haven't yet had time to update the plugin. If you download version 1.4 and place it in the /boot/config/plugins/Btsync folder, make sure to name it Btsync-PhAzE-1.4-x64.tar.gz (on unraid 6) but replace the version with the actual version number. Capitalization is important.  if using unraid 5, the filename will be Btsync-PhAzE-1.4-i386.tar.gz instead.

 

Since at the moment, my plugin can't locate a 'latest version' when it detects that variable is null, it will search the usb drive for a file with the above naming structure in that folder and will install that.  No need to worry about an MD5 file, my plugin will run an integrity test on the tar.gz file and if it comes back as valid it will create a proper MD5 file for it.

Link to comment

Having trouble with the Transmission plugin, when I try and start it as any other user than root I get "PID not created, application did not start for some reason" and my log shows this:

 

Mar 4 09:07:43 Media sudo: root : TTY=console ; PWD=/ ; USER=nobody ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; nohup /usr/local/Transmission/usr/bin/transmission-daemon -p 8083 -g /mnt/disk1/apps/Transmission -T -x /var/run/Transmission/Transmission.pid > /dev/null 2>&1 &
Mar 4 09:07:44 Media transmission-daemon[9222]: Transmission 2.82 (14156) started (session.c:738)
Mar 4 09:07:44 Media transmission-daemon[9222]: RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:828)
Mar 4 09:07:44 Media transmission-daemon[9222]: RPC Server Serving RPC and Web requests on port 127.0.0.1:8083/transmission/ (rpc-server.c:1035)
Mar 4 09:07:44 Media transmission-daemon[9222]: Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
Mar 4 09:07:44 Media transmission-daemon[9222]: UDP Couldn't bind IPv4 socket (tr-udp.c:263)
Mar 4 09:07:44 Media transmission-daemon[9222]: DHT Generating new id (tr-dht.c:310)
Mar 4 09:07:44 Media transmission-daemon[9222]: Using settings from "/mnt/disk1/apps/Transmission" (daemon.c:526)
Mar 4 09:07:44 Media transmission-daemon[9222]: Saved "/mnt/disk1/apps/Transmission/settings.json" (variant.c:1217)
Mar 4 09:07:44 Media transmission-daemon[9222]: Unable to save pidfile "/var/run/Transmission/Transmission.pid": Permission denied (daemon.c:542)
Mar 4 09:07:44 Media transmission-daemon[9222]: Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:73)
Mar 4 09:07:44 Media transmission-daemon[9222]: Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:73)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.0.1:1900/ctl/IPConn" (upnp.c:202)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding (UPnP) Local Address is "192.168.0.99" (upnp.c:204)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding (UPnP) Port forwarding through "http://192.168.0.1:1900/ctl/IPConn", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.0.99:51413) (upnp.c:279)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding (UPnP) Port forwarding successful! (upnp.c:282)
Mar 4 09:07:46 Media transmission-daemon[9222]: Port Forwarding State changed from "Not forwarded" to "Forwarded" (port-forwarding.c:95)
Mar 4 09:07:59 Media sudo: root : TTY=console ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; /usr/local/Transmission/usr/bin/transmission-daemon --version 2>&1
Mar 4 09:08:00 Media sudo: root : TTY=console ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; curl --version 2>&1

 

Anyone any ideas?

Looks like it's nota ble to bind to the port. Have you rebooted since this?  Also, see if you are able to run as root, just to see if it works then.

 

 

Yep, have rebooted and transmission fails to start either automatically or manually. Tried running as root, it starts but when I try and download a torrent I get "Error: Unable to save resume file: Permission denied".

 

Mar 7 09:13:07 Media sudo: root : TTY=console ; PWD=/ ; USER=root ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; nohup /usr/local/Transmission/usr/bin/transmission-daemon -p 9091 -g /mnt/disk1/apps/transmission/config -T -x /var/run/Transmission/Transmission.pid > /dev/null 2>&1 &
Mar 7 09:13:08 Media transmission-daemon[24927]: Transmission 2.82 (14156) started (session.c:738)
Mar 7 09:13:08 Media transmission-daemon[24927]: RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:828)
Mar 7 09:13:08 Media transmission-daemon[24927]: RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:1035)
Mar 7 09:13:08 Media transmission-daemon[24927]: Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:371)
Mar 7 09:13:08 Media transmission-daemon[24927]: UDP Couldn't bind IPv4 socket (tr-udp.c:263)
Mar 7 09:13:08 Media transmission-daemon[24927]: DHT Generating new id (tr-dht.c:310)
Mar 7 09:13:08 Media transmission-daemon[24927]: Using settings from "/mnt/disk1/apps/transmission/config" (daemon.c:526)
Mar 7 09:13:08 Media transmission-daemon[24927]: Saved "/mnt/disk1/apps/transmission/config/settings.json" (variant.c:1217)
Mar 7 09:13:08 Media transmission-daemon[24927]: Saved pidfile "/var/run/Transmission/Transmission.pid" (daemon.c:538)
Mar 7 09:13:08 Media transmission-daemon[24927]: Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:73)
Mar 7 09:13:08 Media transmission-daemon[24927]: Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:73)
Mar 7 09:13:10 Media sudo: root : TTY=console ; PWD=/usr/local/emhttp ; USER=root ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; /usr/local/Transmission/usr/bin/transmission-daemon --version 2>&1
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.0.1:1900/ctl/IPConn" (upnp.c:202)
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding (UPnP) Local Address is "192.168.0.99" (upnp.c:204)
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding (UPnP) Port forwarding through "http://192.168.0.1:1900/ctl/IPConn", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.0.99:51413) (upnp.c:279)
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding (UPnP) Port forwarding successful! (upnp.c:282)
Mar 7 09:13:10 Media transmission-daemon[24927]: Port Forwarding State changed from "Not forwarded" to "Forwarded" (port-forwarding.c:95)
Mar 7 09:13:11 Media sudo: root : TTY=console ; PWD=/usr/local/emhttp ; USER=nobody ; COMMAND=/bin/bash -c . /usr/local/PhAzE-Common/Transmission/startcfg.sh; curl --version 2>&1

I just tested the plugin and made a new user and everythign still starts fine. it sounds like the permissions on either your config directory or your download directory may have changed.

 

When you change user, you are doing it from the plugin GUI?  If you set it to 'nobody' and run it, does the app start?  After which, are you still getting the permissions error?

 

Can you also post the plugin settings you are using?  Which version of unraid are you using?

Link to comment

I am unable to install the PMS plugin on 5.0.6:

 

root@hip:/boot/config/plugins# installplg /boot/config/plugins/Plexmediaserver.plg
installing plugin: Plexmediaserver
file /tmp/Plexmediaserver-script: successfully wrote INLINE file contents
  /bin/bash /tmp/Plexmediaserver-script ...
Cleaning up previous install files...
         Found correct version of plugin control files. Ignoring
...Cleanup complete!
Downloading any missing plugin files...
...Downloading complete!
Running install script for Plex Media Server...
         Plugin config file verified
         Installing plugin control files
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
root@hip:/boot/config/plugins#

That looks like it installed perfectly. Does it not show up on the plugins page after?

Link to comment

Phaze. I'm getting this in mylar when I try to search.

 

500 Internal Server Error

 

The server encountered an unexpected condition which prevented it from fulfilling the request.

 

Traceback (most recent call last):

  File "/mnt/cache/applications/mylar/cherrypy/_cprequest.py", line 645, in respond

    response.body = self.handler()

  File "/mnt/cache/applications/mylar/cherrypy/lib/encoding.py", line 188, in __call__

    self.body = self.oldhandler(*args, **kwargs)

  File "/mnt/cache/applications/mylar/cherrypy/_cpdispatch.py", line 29, in __call__

    return self.callable(*self.args, **self.kwargs)

  File "/mnt/cache/applications/mylar/mylar/webserve.py", line 200, in searchit

    searchresults, explicit = mb.findComic(name, mode, issue=None, explicit=explicit)

  File "/mnt/cache/applications/mylar/mylar/mb.py", line 111, in findComic

    searched = pullsearch(comicapi,comicquery,0,explicit,type)

  File "/mnt/cache/applications/mylar/mylar/mb.py", line 51, in pullsearch

    file = urllib2.urlopen(PULLURL)

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/urllib2.py", line 127, in urlopen

    return _opener.open(url, data, timeout)

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/urllib2.py", line 404, in open

    response = self._open(req, data)

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/urllib2.py", line 422, in _open

    '_open', req)

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain

    result = func(*args)

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/urllib2.py", line 1214, in http_open

    return self.do_open(httplib.HTTPConnection, req)

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/urllib2.py", line 1187, in do_open

    r = h.getresponse(buffering=True)

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/httplib.py", line 1045, in getresponse

    response.begin()

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/httplib.py", line 409, in begin

    version, status, reason = self._read_status()

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/httplib.py", line 365, in _read_status

    line = self.fp.readline(_MAXLINE + 1)

  File "/usr/local/PhAzE-Common/usr/lib64/python2.7/socket.py", line 476, in readline

    data = self._sock.recv(self._rbufsize)

error: [Errno 104] Connection reset by peer

You might need to see if there are other errors in the log, but whatever site it uses to search with is likely giving the 500 error code. I assume you mean when searching for comics, which likely uses your indexers to search. If you use multiple indexers, try disabling one at a time and see if that resolves the problem.

 

Especially since it has the connection reset by peer error, its likely not the plugin at fault

Link to comment

Extract and put these two files in the following directory and try to restart BTsync.  It is to large to upload here.  A whopping 3 meg.

 

https://drive.google.com/file/d/0B8FJEotSXLrxcDV6QTBpWnFEeVU/view?usp=sharing

 

\\TOWER\flash\config\plugins\Btsync

 

Did so, no changes.

Am I doing something completely wrong? I dropped the Phaze-plugin into /Tower/flash/config/plugins/Btsync.plg (or boot/config/plugins/Btsync.plg via telnet)

After a restart there is a (second) section Phaze-Plugins in settings. I have the Plex plugin installed as well but no idea why there are two sections now. Bygones!

 

2015-03-06_09-04-38.png

 

It shows up with Status: not installed. Pushing download button fails to download.

I dropped the *tar.bz file manually to the folder you said but that makes no difference.

Folder looks like this now:

 

2015-03-06_08-57-34.png

 

Am I missing something?

This happens if you are using one plugin that is a v2 plugin (from the first post in this thread) and the other is using the v1 (version 1) plugin which are no longer supported. I suggest updating the other plugin with the v2 plugin also, on the first post. 

 

The problem came due to naming standards placed by limetech on the files in the emhttp folder, needing to start with a capital on unraid 6. Since it detects a phaze.page and a Phaze.page as two separate files, they show up as two sections.  If you are running all of the v2 plugins, only one section will exist. :)

 

At some point once unraid 6 is out of beta, i will make all the v1 plugins update to the v2 ones, since the v2's are compatible with unraid 5 still and are more efficient at downloading and file handling.

Link to comment

Cant you just use these links,  I would expect that they should always pull the latest version.  The problem is you don,t know what the that version is.  You could put a button on the plugin that the user pushes to download the latest file.  The plugin then downloads and installs it.  That way it is on the user to decide when to update.  For the initial install you would want to grab the latest and install.

 

As an alternative, create a sub-directory that the user downloads the appropriate version to.  Then the plugin garbs it if it exist, installs it and then moves it to the plugin folder.

 

https://download-cdn.getsyncapp.com/stable/linux-i386/BitTorrent-Sync_i386.tar.gz

https://download-cdn.getsyncapp.com/stable/linux-x64/BitTorrent-Sync_x64.tar.gz

I've contacted their support to see if they have a file hosted somewhere that tracks the current release number. They must have it hosted somewhere so their app knows when a new version is released.

 

While I can make the plugin download those, the plugin uses the latest version to tell if it should download a new version or install the copy found on the USB. if the latestversion function returns null (like it is now) it will always just install the USB copy if one exists. I would need to put in a useless 'reinstall' button that downloads newer versions.

 

Lets wait and see what the devs reply with.  After that, it should be a quick fix if they can help with this.

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.