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

Status
Not open for further replies.

tmacka88

Patron
Joined
Jul 5, 2011
Messages
268
Hey just wondering if all the plugins are running stable if updating from 9.2.1.9. Or if the new plugins are now preferred for 9.3.

i'm sure this has been covered, but can't seam to find these details over the 59 pages. Maybe this could be added to the 1st post stating which plugins run stable on which FreeNAS versions.

Cheers
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hey just wondering if all the plugins are running stable if updating from 9.2.1.9. Or if the new plugins are now preferred for 9.3.

i'm sure this has been covered, but can't seam to find these details over the 59 pages. Maybe this could be added to the 1st post stating which plugins run stable on which FreeNAS versions.

Cheers
any version of these plugins should work with any version of FN.
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
nzbToMedia not running after latest Transmission (2.84_2) update:
Code:
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/usr/local/share/nzbToMedia/TorrentToMedia.py",

when running manually, torrents are not being removed, even though:
Code:
[INFO]::CLEANDIR: Directory /mnt/Downloads/Transmission/Complete/TVShows/{SOMETVSHOW} has been processed and removed ...

it was working fine with 2.84_1...
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
nzbToMedia not running after latest Transmission (2.84_2) update:
Code:
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/usr/local/share/nzbToMedia/TorrentToMedia.py",

when running manually, torrents are not being removed, even though:
Code:
[INFO]::CLEANDIR: Directory /mnt/Downloads/Transmission/Complete/TVShows/{SOMETVSHOW} has been processed and removed ...


it was working fine with 2.84_1...
after setting the script setting did you reload/restart transmission?

strange that the log says it deleted stuff but didn't. maybe file a bug on nzbtomedias github
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
after setting the script setting did you reload/restart transmission?
not only the plugin was restarted, also the Jail and eve the server.
strange that the log says it deleted stuff but didn't. maybe file a bug on nzbtomedias github
the code of nzbToMedia's TorrentToMedia.py hasn't change for more than a month, I doubt it's related to Transmission not starting the script and/or deleting torrents.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
not only the plugin was restarted, also the Jail and eve the server.
the code didn't nzbToMedia's TorrentToMedia.py hasn't change for more than a month, I doubt it's related to Transmission not starting the script and/or deleting torrents.
the nzbtomedia dev just might better know how to debug it.

I also updated transmission to 2.84_2 the other day and had to redo my settings in the FreeNAS interface and the settings.json.
I have some torrents downloading right now so I'll confirm if they get post-processed.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
@Ray Milyard
Please also confirm your /usr/pbi/transmission-amd64/etc/transmission/settings.json and make sure transmission has been reloaded/restarted after setting things.

@MtK
How are you running the script manually that isn't deleting the files? (commandline?)

Another thing to double check is that transmission is being run by the 'media' user.
Code:
ps aux | grep transmission
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Just use TorrentToMedia.py, it should run in manual mode.
I see. id set ownership of your nzbtomedia config/logs in-case they got changed.

chown -R media:media /usr/local/share/nzbToMedia
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
I see. id set ownership of your nzbtomedia config/logs in-case they got changed.

chown -R media:media /usr/local/share/nzbToMedia
Mmm you might be right, cause i re cloned the git.
I will confirm later...
 

Ray Milyard

Patron
Joined
Aug 8, 2014
Messages
262
Well when someone gets this fix please let me know what you did. I am not skilled in FreeBSD by any means and don't want to mess things up. Last time I had to reinstall it all. pain....
 

Habs33

Dabbler
Joined
Apr 25, 2014
Messages
15
I have a couple issues after following your guide.
  • 1st issue: Transmission won't start. This is the error
service transmission start
install: unknown user media
usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...

chown [-fhvx] [-R [-H | -L | -P]] :group file ...

chown: media: illegal group name
chgrp: media: illegal group name
Starting transmission.
su: pam_start: system error
/usr/local/etc/rc.d/transmission: WARNING: failed to start transmission

  • 2nd related issue: user media is not found even though I ran sysrc 'nginx_enable=YES' 'transmission_user=media'
    the user media does exist with id 816

Any help would be appreciated thanks.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I have a couple issues after following your guide.
  • 1st issue: Transmission won't start. This is the error
service transmission start
install: unknown user media
usage: chown [-fhvx] [-R [-H | -L | -P]] owner[:group] file ...

chown [-fhvx] [-R [-H | -L | -P]] :group file ...

chown: media: illegal group name
chgrp: media: illegal group name
Starting transmission.
su: pam_start: system error
/usr/local/etc/rc.d/transmission: WARNING: failed to start transmission

  • 2nd related issue: user media is not found even though I ran sysrc 'nginx_enable=YES' 'transmission_user=media'
    the user media does exist with id 816

Any help would be appreciated thanks.
lol, re-read your post. you did follow my blog.

that command doesn't add the 'media' user to the transmission jail. in my blog the 'media' user exists because transmission is installed to a jail with sabnzbd (which itself adds the 'media' user).
 

Habs33

Dabbler
Joined
Apr 25, 2014
Messages
15
lol, re-read your post. you did follow my blog.

that command doesn't add the 'media' user to the transmission jail. in my blog the 'media' user exists because transmission is installed to a jail with sabnzbd (which itself adds the 'media' user).

Yeah I did but think I missed something. So all the plugs reside under the same jail?
 

MtK

Patron
Joined
Jun 22, 2013
Messages
471
@MtK
Another thing to double check is that transmission is being run by the 'media' user.
Code:
ps aux | grep transmission
Code:
# ps aux | grep transmission
media  7183  0.0  0.8 212228 140052 ??  SsJ  Thu03PM 116:47.29 /usr/pbi/transmission-amd64/bin/transmission-daemon -g /usr/pbi/transmission-amd64/etc/transmiss
root   7519  0.0  0.2 155544  28864 ??  IJ   Thu03PM   0:18.65 /usr/pbi/transmission-amd64/bin/python2.7 /usr/pbi/transmission-amd64/control.py start 192.168.0.X
root  88299  0.0  0.0  16332   1940  0  S+J   7:07PM   0:00.00 grep transmission
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Code:
# ps aux | grep transmission
media  7183  0.0  0.8 212228 140052 ??  SsJ  Thu03PM 116:47.29 /usr/pbi/transmission-amd64/bin/transmission-daemon -g /usr/pbi/transmission-amd64/etc/transmiss
root   7519  0.0  0.2 155544  28864 ??  IJ   Thu03PM   0:18.65 /usr/pbi/transmission-amd64/bin/python2.7 /usr/pbi/transmission-amd64/control.py start 192.168.0.X
root  88299  0.0  0.0  16332   1940  0  S+J   7:07PM   0:00.00 grep transmission
looks good to me. your saying your torrentToMedia script doesn't run anymore? can you double check your settings.json?
 

Habs33

Dabbler
Joined
Apr 25, 2014
Messages
15
Code:
# ps aux | grep transmission
media  7183  0.0  0.8 212228 140052 ??  SsJ  Thu03PM 116:47.29 /usr/pbi/transmission-amd64/bin/transmission-daemon -g /usr/pbi/transmission-amd64/etc/transmiss
root   7519  0.0  0.2 155544  28864 ??  IJ   Thu03PM   0:18.65 /usr/pbi/transmission-amd64/bin/python2.7 /usr/pbi/transmission-amd64/control.py start 192.168.0.X
root  88299  0.0  0.0  16332   1940  0  S+J   7:07PM   0:00.00 grep transmission

this is what I see:
ps aux | grep transmission

root 30701 0.0 0.4 188568 39700 ?? IJ 8:49PM 0:04.77 /usr/pbi/transmission-amd64/bin/python2.7 /usr/pbi/transmission-amd64/control.py start 192.168.1.226 12347

root 45383 0.0 0.0 16272 1968 0 S+ 2:10PM 0:00.00 grep transmission
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yeah I did but think I missed something. So all the plugs reside under the same jail?
yeah, you install the sabnzbd plugin like normal, then download the other 3 plugins I linked and upload it to that sabznbd jail.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
this is what I see:
ps aux | grep transmission

root 30701 0.0 0.4 188568 39700 ?? IJ 8:49PM 0:04.77 /usr/pbi/transmission-amd64/bin/python2.7 /usr/pbi/transmission-amd64/control.py start 192.168.1.226 12347

root 45383 0.0 0.0 16272 1968 0 S+ 2:10PM 0:00.00 grep transmission
that doesn't show us anything. your actually transmission process isn't showing for some reason.
 
Status
Not open for further replies.
Top