sabnzbd+ in a jail

Status
Not open for further replies.

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
Hello

Because my FN11 box won't let me install plugins anymore i need to make standard jails with the app.
I already have a lot installed manually but because nzbget won't unpack the files it is just not that handy....
now i try to install SABnzbd+ but i can not get it running right... i have the service started but i can not reach my web gui (IP:8080/sabnzbd/) is there a file that i have to config? I an not find anything on the web.
So i now have 2 newsreaders and thoey both do not work....
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
I just installed the plugin and used the plugin link to http://192.168.1.28:8080/sabnzbd/wizard/ and the web page opened right up. Insert your own IP of course for the jail IP (under the jails tab). I don't use this application but at least I could install it and get to a web page to prove it works on my end. I'm using FreeNAS 11-RC3.
 

diedrichg

Wizard
Joined
Dec 4, 2012
Messages
1,319
Make sure your jails are pointed to the right repo
8ea3227fce7f43aafa846d87e88761d6.jpg
 

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
I just installed the plugin and used the plugin link to http://192.168.1.28:8080/sabnzbd/wizard/ and the web page opened right up. Insert your own IP of course for the jail IP (under the jails tab). I don't use this application but at least I could install it and get to a web page to prove it works on my end. I'm using FreeNAS 11-RC3.
Problem is i can not install the plugin.... i get error that mij warren_plugintemplate is not worinking....
So i created a jail and do the following in the console of the plugin (or via SSH what i did)
Code:
pkg update


Code:
pkg upgrade

Code:
pkg install sabnzbplus

Code:
sysrc sabnzbd_enable=YES

Code:
service sabnzbd start

Service is running but I can not rech the web GUI also not via 192.168.178.6:8080/sabnzbd/wizard/

Plugin error:
Code:
MiddlewareError: b"Installeren van plug-in mislukt: cannot open 'VMs-Docker/jails/.warden-template-pluginjail@clean': dataset does not exist\nERROR: Failed creating clean ZFS base clone\n"]


Traceback
Code:
Environment:

Software Version: FreeNAS-11.0-RC3 (1d8ee7925)
Request Method: POST
Request URL: http://192.168.178.25/plugins/plugin/install/263b57a94e3253273a1dbffdcb79c2182f92d8c292cd811ed8459155f03681cc/


Traceback:
File "./freenasUI/jails/utils.py" in new_default_plugin_jail
  718.		 w.create(**create_args)
File "./freenasUI/common/warden.py" in create
  1093.		 return self.__call(warden_create(flags, **kwargs))
File "./freenasUI/common/warden.py" in __call
  1066.				 tmp = obj.run()
File "./freenasUI/common/warden.py" in run
  461.			 raise warden_exception(msg)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
  39.			 response = get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _legacy_get_response
  249.			 response = self._get_response(request)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
  178.			 response = middleware_method(request, callback, callback_args, callback_kwargs)
File "./freenasUI/freeadmin/middleware.py" in process_view
  162.		 return login_required(view_func)(request, *view_args, **view_kwargs)
File "/usr/local/lib/python3.6/site-packages/django/contrib/auth/decorators.py" in _wrapped_view
  23.				 return view_func(request, *args, **kwargs)
File "./freenasUI/plugins/views.py" in install_available
  306.			 raise e
File "./freenasUI/plugins/views.py" in install_available
  302.			 jail = new_default_plugin_jail(plugin.unixname)
File "./freenasUI/jails/utils.py" in new_default_plugin_jail
  721.		 raise MiddlewareError(_("Failed to install plugin: %s") % e)

Exception Type: MiddlewareError at /plugins/plugin/install/263b57a94e3253273a1dbffdcb79c2182f92d8c292cd811ed8459155f03681cc/
Exception Value: [MiddlewareError: b"Installeren van plug-in mislukt: cannot open 'VMs-Docker/jails/.warden-template-pluginjail@clean': dataset does not exist\nERROR: Failed creating clean ZFS base clone\n"]


So i only can install in a own created jail, all other plugins i installed the same way nzbget, plex, couchpotato, transmission but nzbget is not working how it should be and sabnzb+ is not reacheable
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Let me make sure I understand this before going further... None of your plugins work.

Sounds like you need to delete the old template. If you have no jails or plugins then the easiest way to do this is to delete your jails dataset, but before doing this, using the GUI, delete any jails/plugins you currently have installed, then delete the jails dataset. If you have a jails dataset then you need to go in and manually delete the template and then you can try to install the plugin again. It should download the template during the installation.
 

ajschot

Patron
Joined
Nov 7, 2016
Messages
341
Let me make sure I understand this before going further... None of your plugins work.

Sounds like you need to delete the old template. If you have no jails or plugins then the easiest way to do this is to delete your jails dataset, but before doing this, using the GUI, delete any jails/plugins you currently have installed, then delete the jails dataset. If you have a jails dataset then you need to go in and manually delete the template and then you can try to install the plugin again. It should download the template during the installation.
Yes correct i can not install plugins, but i have setup some jails and i managed the problem with nzbget so no need for now to get a jail with sabnzb+ i tried to delete .warren plugin template dataset but freenas redused it. Mybr i have to try again.
Since most self created jails work i do not want to delete the whole jail dataset.
 
Status
Not open for further replies.
Top