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

Status
Not open for further replies.

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Hey damn, I'm very dumb, sorry, stupid words beginning with S
I'm having issues updating SAB
Sickbeard works great -the built in update function is a dooz.y

Sab howerver, built in update is designed presumable for Windows, it prompts you to download a file using the built in update.
Using the FN update mechanism doesn't work.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Nov 23 12:44:39 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: umount: /mnt/ARRAY/jails/sabnzbd_1/media: not a file system root directory
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hey damn, I'm very dumb, sorry, stupid words beginning with S
I'm having issues updating SAB
Sickbeard works great -the built in update function is a dooz.y

Sab howerver, built in update is designed presumable for Windows, it prompts you to download a file using the built in update.
Using the FN update mechanism doesn't work.
yes, too many damn programs. Got my head spinning too, lol

There is no built in update for sabnzbd, what you are clicking on is an update check + notifier.

The update button in FN worked for me, so I think something is causing yours not to work.
Maybe the update button in FN isn't working because it's trying to unmount a mountpoint that no longer exists? Maybe check under you Jails > sabnzbd_1 > Storage and make sure things are correct.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
yes, too many damn programs. Got my head spinning too, lol

There is no built in update for sabnzbd, what you are clicking on is an update check + notifier.

The update button in FN worked for me, so I think something is causing yours not to work.
Maybe the update button in FN isn't working because it's trying to unmount a mountpoint that no longer exists? Maybe check under you Jails > sabnzbd_1 > Storage and make sure things are correct.


I just tried manually changing my mountpoints
It was
/mnt/array/media/downloads/
&
/media (inside the sabnzbd jail)
So "media" maps back into my data / download area, make sense?


So because /downloads/ has a heap of other folders I thought it was that, I changed it to a new empty path
/mnt/array/media/new folder/
&
/media (again, the 'remap' folder, within the jail)

No dice, same error
Nov 23 12:56:20 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: umount: /mnt/ARRAY/jails/sabnzbd_1/media: not a file system root directory ]



I've been coming at it from the wrong angle, it's not the mount point within my data (destination for downloads) it's angry with, it's angry with the map folder within sickbeard itself.
I am now mapping sickbeards internal map path (the second path) to just / (within the jail)
which is of course, in reality
/mnt/array/jails/sabnzbd_1/ (I believe?)
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Well I thought I'd got clever and cracked the problem, seemingly not.

Nov 23 13:04:49 freenas manage.py: [common.pipesubr:58] Popen()ing: /sbin/umount -f '/mnt/ARRAY/jails/sabnzbd_1/media'
Nov 23 13:04:49 freenas manage.py: [middleware.exceptions:38] [MiddlewareError: umount: /mnt/ARRAY/jails/sabnzbd_1/media: statfs: No such file or directory umount: /mnt/ARRAY/jails/sabnzbd_1/media: unknown file system ]
Nov 23 13:04:57 freenas manage.py: [freeadmin.navtree:526] Couldn't retrieve http://192.168.0.9/plugins/sabnzbd/4/_s/treemenu: timed out
 
Last edited:

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Yeah this install completely destroyed itself :/ it's a goner. I'll do it again from scratch. I hope this doesn't occur each update :/
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yeah this install completely destroyed itself :/ it's a goner. I'll do it again from scratch. I hope this doesn't occur each update :/
Hopefully not =/
You can just install the latest sabnzbd, backup and restore /var/db/sabnzbd, and things should run like your old install.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Ok so the real question is why did this occur in the first place?
Why is mapping data the way I did it bad?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ok so the real question is why did this occur in the first place?
Why is mapping data the way I did it bad?
No idea, it looks like it should have worked to me =[
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Is there anything fundamentally wrong with my external mount point being /mnt/array/media/download and the internal one being (inside jail) /media ?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Is there anything fundamentally wrong with my external mount point being /mnt/array/media/download and the internal one being (inside jail) /media ?
Not that I see. you may want to file a bug but I don't know if there is one or if this was some random unfortunate coincidence.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
EDIT: ignore - SabNZB plugin is no longer auto starting on reboot? Jail starts, plugin does not. I can just manually start it.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
So umm sorry to hassle you but whatever I've done has been a pretty impressive disaster (OR there's a bug in your new build when installed clean?)
Installing a fresh copy of Sab is unusable.

the jail configures properly, the plugin installs, you can even go into the jail shell account.
the jail responds to ping but I can't access Sab
I even installed a second fresh copy to be sure.

Web page appeares to be dead basically? What log file do I need for you.?
EDIT: yes I've set mount points
Can you try running 'service sabnzbd onestart' in the jail and see what happens. sabnzbd logs would be in /var/db/sabnzbd

I just did a fresh install from the repo and it started as expected.
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Behaving now, jails and plugins starting on boot, sorry - I can finally get back to setting this up from scratch.

Josh, is there any thoughts / opinions on a convienient way to backup the jails incase of a massive disk array disaster? I asked in some other threads but the responses I got were awkward.
I'd love to just dump the entire contents of the jail to a 7z or rar file once a week or .. something?
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Ahhahahaha omg all that and "update available" still (7.20 is out) do I dare configure it?
I think I will, fingers crossed the update works when you patch up the plugin for FN?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Behaving now, jails and plugins starting on boot, sorry - I can finally get back to setting this up from scratch.

Josh, is there any thoughts / opinions on a convienient way to backup the jails incase of a massive disk array disaster? I asked in some other threads but the responses I got were awkward.
I'd love to just dump the entire contents of the jail to a 7z or rar file once a week or .. something?
Disk disaster as in the entire pool gone? You could setup an rsync job to copy off your data-directories to another place. You would lose all your media though, cause I don't most people are having two copies of hundreds of GB of files.

Assuming you don't lose your pool and just have strange jail/mount issues like you experienced today regular snapshots, and making sure to backup your datadirectory somewhere safe before doing anything dangerous would be prudent.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Ahhahahaha omg all that and "update available" still (7.20 is out) do I dare configure it?
I think I will, fingers crossed the update works when you patch up the plugin for FN?
Lol, I'd configure it and enjoy 0.7.19
Just make sure to backup /var/db/sabnzbd before the update, and like you said... keep those fingers crossed once 7.20 is in the repo for FN
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Disk disaster as in the entire pool gone? You could setup an rsync job to copy off your data-directories to another place. You would lose all your media though, cause I don't most people are having two copies of hundreds of GB of files.

Assuming you don't lose your pool and just have strange jail/mount issues like you experienced today regular snapshots, and making sure to backup your datadirectory somewhere safe before doing anything dangerous would be prudent.

Well my jails are no more than 2 to 4gb a pop, there's only 5 of them (only about 5 plugins worth grabbing at this time IMO) so that's no more than 20gb or so to back it all up.
Unless you're saying, that in order to backup the jail, the backup process would end up trying to snatch the contents of the mountpoint?
So when the backup hits /mnt/ within the jail PBI thing, would also unfortunately grab /mnt/array/media/downloads/*.* ?
(If that's what you're implying, makes sense and could be awkward)

Thing is, all 5 of my jails are about 2 to 10 hours work to configure them right, one of them is full of pretty valuble data (couchpotato wanted list) I'd like a way to get all 5 jails and just ... back them up entirely. So if I built a brand new FreeNAS box on completely different hardware, I could just create 5 blank jails and import the 5 old ones which I've got backed up.
Is that possible?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Well my jails are no more than 2 to 4gb a pop, there's only 5 of them (only about 5 plugins worth grabbing at this time IMO) so that's no more than 20gb or so to back it all up.
Unless you're saying, that in order to backup the jail, the backup process would end up trying to snatch the contents of the mountpoint?
So when the backup hits /mnt/ within the jail PBI thing, would also unfortunately grab /mnt/array/media/downloads/*.* ?
(If that's what you're implying, makes sense and could be awkward)

Thing is, all 5 of my jails are about 2 to 10 hours work to configure them right, one of them is full of pretty valuble data (couchpotato wanted list) I'd like a way to get all 5 jails and just ... back them up entirely. So if I built a brand new FreeNAS box on completely different hardware, I could just create 5 blank jails and import the 5 old ones which I've got backed up.
Is that possible?
probably is possible to completely save the jails, but I'd personally just install 5 new jails to the same IPs, then restore the datadirectories for the applications.

you wouldn't be redundantly backing up jail OS files. also no reconfiguring of CP/SAB would be necessary. and you wouldnt need to figure out how FN adds jails to its database.

that's just how I would do it.
 
Status
Not open for further replies.
Top