cannot install and upload (pbi) Plex media server plugin

Status
Not open for further replies.

ric

Contributor
Joined
Dec 22, 2013
Messages
180
I get an error message when uploading pbi file. Downloaded a file from this site: https://download.freenas.org/plugins/9/x64/

Current Train: FreeNAS-11-Nightlies
Build FreeNAS-11-MASTER-201711220420

See error message below:

Environment:

Software Version: FreeNAS-11-MASTER-201711220420 (16a1b82)
Request Method: POST
Request URL: http://192.168.1.215/plugins/plugin/upload/?X-Progress-ID=80161b34-e1ac-4600-83ab-ccd45c6f93fd


Traceback:
File "./freenasUI/jails/utils.py" in new_default_plugin_jail
675. w.template(**template_create_args)
File "./freenasUI/common/warden.py" in template
1159. return self.__call(warden_template(flags, **kwargs))
File "./freenasUI/common/warden.py" in __call
1070. tmp = obj.run()
File "./freenasUI/common/warden.py" in run
465. raise warden_exception(msg)
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
42. 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 upload_nojail
497. return upload(request)
File "./freenasUI/plugins/views.py" in upload
472. form.done()
File "./freenasUI/plugins/forms.py" in done
143. raise e
File "./freenasUI/plugins/forms.py" in done
141. jail = new_default_plugin_jail("customplugin")
File "./freenasUI/jails/utils.py" in new_default_plugin_jail
680. raise MiddlewareError(str(e))

Exception Type: MiddlewareError at /plugins/plugin/upload/
Exception Value: [MiddlewareError: [warden_exception: fetch: http://download.freenas.org/jails/11/x64/freenas-pluginjail-11.0-RELEASE.mtree: No address record
http://download.freenas.org/jails/11/x64/freenas-pluginjail-11.0-RELEASE.tgz: No address record
mtree: /mnt/tank/jails/.warden-files-cache/mtree/freenas-pluginjail-11.0-RELEASE.mtree: No such file or directory
cannot destroy 'tank/jails/.warden-template-pluginjail': filesystem has dependent clones
use '-R' to destroy the following datasets:
tank/jails/transmission_1
find: /mnt/tank/jails/.warden-template-pluginjail: No such file or directory
ERROR: mtree failed for /mnt/tank/jails/.warden-files-cache/mtree/freenas-pluginjail-11.0-RELEASE.mtree
cannot destroy 'tank/jails/.warden-template-pluginjail': filesystem has dependent clones
use '-R' to destroy the following datasets:
tank/jails/transmission_1
find: /mnt/tank/jails/.warden-template-pluginjail: No such file or directory
ERROR: Failed to create ZFS base dataset
]]
 

ric

Contributor
Joined
Dec 22, 2013
Messages
180
Correct, Im running the one from last year.

So, what is the most stable version of Freenas right now?
 

ric

Contributor
Joined
Dec 22, 2013
Messages
180
So how do you manually update old version of Freenas using this file (currently 11.1-U5)? Thanks.
 

Alecmascot

Guru
Joined
Mar 18, 2014
Messages
1,177
Can you not set your update Train to "FreeNAS-11-stable" ?
Or do it from the cli : < freenas-update -T FreeNAS-11-stable check>
then <freenas-update -T FreeNAS-11-stable update>
 
Last edited:
D

dlavigne

Guest
So how do you manually update old version of Freenas using this file (currently 11.1-U5)? Thanks.

Normally you use the Update button. However, you're running a nightly (which isn't meant for production use) so the UI will not let you switch trains to the stable version.

Instead, do an installation of U5 using the instructions in http://doc.freenas.org/11/install.html#upgrading-using-the-iso and select "install in new boot environment". This will keep your current install and add the new install to the boot menu. Note that you'll need to recreate your configuration from scratch as you can't restore a config made on nightlies to a stable boot environment.
 
Status
Not open for further replies.
Top