[FreeNAS 9 Plugins] - SAB / SB / CP / HP / Maraschino / HTPC / Mylar / LL / Gamez

Status
Not open for further replies.

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Good morning,

I just updated Transmission in FreeNAS webui.
After the update, Transmission stay OFF in webui, no matter how much I try to switch it on.
Below is the fix. You'll also need to restart the jail.
Code:
rm /usr/local/etc/rc.d/transmission
ln -s /usr/pbi/transmission-amd64/etc/rc.d/transmission /usr/local/etc/rc.d
 

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
Great thanks.

after update + fix it seems transmission is not using the incomplete dir, but i find an interesting error:

Error: Permission denied (/mnt/complete-cp//Ask.Me.Anything.2014.720p.WEB-DL.DD5.1.H264-RARBG/Ask.Me.Anything.2014.720p.WEB-DL.DD5.1.H

there are 2 // behind complete-cp. i try to get rid of it but no success.
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
Below is the fix. You'll also need to restart the jail.
Code:
rm /usr/local/etc/rc.d/transmission
ln -s /usr/pbi/transmission-amd64/etc/rc.d/transmission /usr/local/etc/rc.d
Maybe this is related?
Code:
# service transmission start
Cannot 'start' transmission. Set transmission_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
thanks for noticing! I use that on a freebsd machine but forgot to translate it to freenas plugins. I'll fix it up.
should be /usr/pbi/transmission-amd64/ instead of /usr/local

Edit
so ill need to link some libraries to get this to work. I'll make sure it works by the time 2.84 is official. hoping it all gets done this weekend.
it seems to work now (at least manually):
Code:
 # /usr/pbi/transmission-amd64/bin/transmission-remote --blocklist-update
localhost:9091/transmission/rpc/ responded: "success"
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
This is not fixed:
Code:
   "incomplet-dir": "/mnt/Downloads/Transmission/Incoming",
    "incomplete-dir": "//Downloads",
 

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
ok, a bit confused now. what is supposed to be moving the download transmission or SR/CP?

For example on my setup..
1) /mnt/media/downloads/transmission/incomplete > /mnt/media/downloads/transmission/complete/(tv/movie) - happens during processing, transmission does this based on what SR/CP told it to do
2) /mnt/media/downloads/transmission/complete/(tv/movie) > /mnt/media/videos/(tvshows|movies) - happens during post-processing, the way you have it (without script processing) SR/CP is performing this move. SR/CP need permissions to move the downloaded files.
It's Transmission to move from incomplete to complete-sr or -cp
i'm not home now, but after update the incomplete setting is not set right yet, and there is an error to download directly to complete-cp . there is a double slash // in the path
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Maybe this is related?
Code:
# service transmission start
Cannot 'start' transmission. Set transmission_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.
if you enable it through the FN interface that rc.conf flag gets enabled.
 

Biggeek

Dabbler
Joined
Dec 26, 2013
Messages
40
Joashua,
Thanks for your work. Looks great!

Quick question. I noticed the last time you set this up, you had listed that a media user needed to be created.

If someone was doing this from scratch, i.e. fresh install, would this still be needed?
 

Gerald Young

Dabbler
Joined
Dec 14, 2014
Messages
24
Hey guys having a slight problem with CP it was hanging and would not load the web ui tried turning it off from the FN web ui hangs.. tryed service couchpotato stop..hangs.. deleted plugin and var/db/couchpotato reinstalled same thing..
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Joashua,
Thanks for your work. Looks great!

Quick question. I noticed the last time you set this up, you had listed that a media user needed to be created.

If someone was doing this from scratch, i.e. fresh install, would this still be needed?
I realized it wasn't necessary.
you can still do it, and it makes sense to for example to set as a CIFS user.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
This is not fixed:
Code:
   "incomplet-dir": "/mnt/Downloads/Transmission/Incoming",
    "incomplete-dir": "//Downloads",
this should have been fixed. are you sure you are using the latest PBI? should be one that was uploaded yesterday
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Great thanks.

after update + fix it seems transmission is not using the incomplete dir, but i find an interesting error:

Error: Permission denied (/mnt/complete-cp//Ask.Me.Anything.2014.720p.WEB-DL.DD5.1.H264-RARBG/Ask.Me.Anything.2014.720p.WEB-DL.DD5.1.H

there are 2 // behind complete-cp. i try to get rid of it but no success.
I don't know if this is the cause of the issue. I think it should know to ignore repeated "/"
incomplete dir is working for me. did you update? maybe it didn't apply yet and you need to restart your jail. or maybe the pbi you downloaded was cached. a new 2.82_1 one was uploaded yesterday
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hey guys having a slight problem with CP it was hanging and would not load the web ui tried turning it off from the FN web ui hangs.. tryed service couchpotato stop..hangs.. deleted plugin and var/db/couchpotato reinstalled same thing..
do other plugins work? strange that even a fresh install doesn't work
 

Prasanth

Contributor
Joined
Mar 2, 2014
Messages
100
Below is the fix. You'll also need to restart the jail.
Code:
rm /usr/local/etc/rc.d/transmission
ln -s /usr/pbi/transmission-amd64/etc/rc.d/transmission /usr/local/etc/rc.d

Ok updated transmission through GUI, then ran these two commands within the shell in the jail(is that right?) then stopped and started the jail and noticed the following
Code:
freenas manage.py: [freeadmin.navtree:599] An error occurred while unserializing from https://192.168.2.100/plugins/transmission/15/_s/treemenu: No JSON object could be decoded
Dec 22 21:29:12 freenas kernel: ifa_del_loopback_route: deletion failed


i then tried to restart tranmission via GUI and get the following error preventing restart
Code:
Dec 22 21:29:12 freenas hhook_vnet_uninit: hhook_head type=1, id=1 cleanup required
Dec 22 21:29:12 freenas hhook_vnet_uninit: hhook_head type=1, id=0 cleanup required
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok updated transmission through GUI, then ran these two commands within the shell in the jail(is that right?) then stopped and started the jail and noticed the following
Code:
freenas manage.py: [freeadmin.navtree:599] An error occurred while unserializing from https://192.168.2.100/plugins/transmission/15/_s/treemenu: No JSON object could be decoded
Dec 22 21:29:12 freenas kernel: ifa_del_loopback_route: deletion failed


i then tried to restart tranmission via GUI and get the following error preventing restart
Code:
Dec 22 21:29:12 freenas hhook_vnet_uninit: hhook_head type=1, id=1 cleanup required
Dec 22 21:29:12 freenas hhook_vnet_uninit: hhook_head type=1, id=0 cleanup required
sorry, a little above my head =[
 

Prasanth

Contributor
Joined
Mar 2, 2014
Messages
100

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
This is what's in Transmission log,

Code:
[2014-12-23 05:38:03.110 CET] Couldn't create "/mnt/complete-sr": Permission denied (utils.c:424)
[2014-12-23 05:38:03.110 CET] Couldn't create "/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]": Permission denied (fdlimit.c:345)
[2014-12-23 05:38:03.110 CET] Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv] tr_fdFileCheckout failed for "/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]/Anger.Management.S02E90.720p.HDTV.X264-DIMENSION.mkv.part": Permission denied (inout.c:101)
[2014-12-23 05:38:03.110 CET] Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv] Permission denied (/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]/Anger.Management.S02E90.720p.HD (torrent.c:536)
[2014-12-23 05:38:03.110 CET] Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv] Pausing (torrent.c:1857)
[2014-12-23 05:38:03.110 CET] Couldn't create "/mnt/complete-sr": Permission denied (utils.c:424)
[2014-12-23 05:38:03.110 CET] Couldn't create "/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]": Permission denied (fdlimit.c:345)
[2014-12-23 05:38:03.110 CET] Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv] tr_fdFileCheckout failed for "/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]/Anger.Management.S02E90.720p.HDTV.X264-DIMENSION.mkv.part": Permission denied (inout.c:101)
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
This is what's in Transmission log,

Code:
[2014-12-23 05:38:03.110 CET] Couldn't create "/mnt/complete-sr": Permission denied (utils.c:424)
[2014-12-23 05:38:03.110 CET] Couldn't create "/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]": Permission denied (fdlimit.c:345)
[2014-12-23 05:38:03.110 CET] Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv] tr_fdFileCheckout failed for "/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]/Anger.Management.S02E90.720p.HDTV.X264-DIMENSION.mkv.part": Permission denied (inout.c:101)
[2014-12-23 05:38:03.110 CET] Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv] Permission denied (/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]/Anger.Management.S02E90.720p.HD (torrent.c:536)
[2014-12-23 05:38:03.110 CET] Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv] Pausing (torrent.c:1857)
[2014-12-23 05:38:03.110 CET] Couldn't create "/mnt/complete-sr": Permission denied (utils.c:424)
[2014-12-23 05:38:03.110 CET] Couldn't create "/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]": Permission denied (fdlimit.c:345)
[2014-12-23 05:38:03.110 CET] Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv] tr_fdFileCheckout failed for "/mnt/complete-sr//Anger.Management.S02E90.720p.HDTV.X264-DIMENSION[brassetv]/Anger.Management.S02E90.720p.HDTV.X264-DIMENSION.mkv.part": Permission denied (inout.c:101)
Seems like transmission is trying to create /mnt/complete-sr
i thought you ended up moving the folders to all be under a different path?
 

ShinobiX9X

Contributor
Joined
Mar 6, 2013
Messages
141
YES, terrible mistake
i messed up the paths. it's not /mnt/complete but /mnt/torrent/complete.

so sorry i missed,

new problem though after transmission update, when i change the settings in settings.json. after restarting the plug and/or the jail. the settings go back to standard.
anyone else has that?
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
Code:
Waiting for SickRage to shut down: 
	

	
	
		
		

		
			
		
		
	


	
yes16.png
Waiting for SickRage to start again:
loading16.gif

(stuck on start) no matter which update is it...
 
Status
Not open for further replies.
Top