Plex unable to download and install.

Nitro626

Dabbler
Joined
Mar 4, 2019
Messages
29
Hi All,

I've just tried installing Plex on a Dell R710 server downloaded Transmission no problems however Plex will not download, I am getting this traceback.
EDIT:- Installed from CLI
Code:
Environment:

Software Version: FreeNAS-11.1-U7 (b45bfcf29)
Request Method: POST
Request URL: http://10.167.22.109/plugins/plugin/install/8b2465b075e748638542562fa6f74a870141b2baf542a3715822c428fb5d7823/


Traceback:
File "./freenasUI/plugins/plugin.py" in download
  106.                 rv = self.__download(rpath, path)
File "./freenasUI/plugins/plugin.py" in __download
  127.         response = urllib.request.urlopen(url)
File "/usr/local/lib/python3.6/urllib/request.py" in urlopen
  223.     return opener.open(url, data, timeout)
File "/usr/local/lib/python3.6/urllib/request.py" in open
  532.             response = meth(req, response)
File "/usr/local/lib/python3.6/urllib/request.py" in http_response
  642.                 'http', request, response, code, msg, hdrs)
File "/usr/local/lib/python3.6/urllib/request.py" in error
  570.             return self._call_chain(*args)
File "/usr/local/lib/python3.6/urllib/request.py" in _call_chain
  504.             result = func(*args)
File "/usr/local/lib/python3.6/urllib/request.py" in http_error_default
  650.         raise HTTPError(req.full_url, code, msg, hdrs, fp)
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 install_available
  298.         if not plugin.download("/var/tmp/firmware/pbifile.pbi"):
File "./freenasUI/plugins/plugin.py" in download
  120.                         'error': e,

Exception Type: MiddlewareError at /plugins/plugin/install/8b2465b075e748638542562fa6f74a870141b2baf542a3715822c428fb5d7823/
Exception Value: [MiddlewareError: Failed to download http://download.freenas.org/plugins/9/x64: HTTP Error 404: Not Found]
 
Last edited:
D

dlavigne

Guest
Were you able to resolve this? If not, what exact CLI command did you use?
 

Nitro626

Dabbler
Joined
Mar 4, 2019
Messages
29
Were you able to resolve this? If not, what exact CLI command did you use?

Yes I followed these instrutions:-

Step by Step install of Plex inside a Freenas jail.
1. Manually create a generic jail.
2. Create/link storage for that jail.
3. Go back to the main jails tab.
4. Select plex jail and then select shell command.
5. type "pkg upgrade" then press Y
6. type "pkg install plexmediaserver-plexpass" or "pkg install plexmediaserver"
7. Once done type "sysrc plexmediaserver_plexpass_enable=YES" or "sysrc plexmediaserver_enable=YES" depending on what version you installed.
8. Once done type "service -R"
9. in a browser, navigate to your plex jail's assigned IP:32400\web
10. Login into plex.

To update Plex Jail
1. Go to the main jails tab
2. Select plex jail and then select shell command.
3. type "pkg upgrade"
4. type "pkg update"
5. then type "service -R" you are now updated
 
D

dlavigne

Guest
And which exact command gave the error? I assume it was one of the jail creation commands?
 

Nitro626

Dabbler
Joined
Mar 4, 2019
Messages
29
The error came from trying to install plex from the listed addons from the FreeNAS WEB UI.

So to get round that I installed plex from command line within a created Jail
 

yelpats

Cadet
Joined
Apr 14, 2019
Messages
1
hey, i had to make an account just to say THANK YOU! that was the shortest amount of troubleshooting i've done so far thanks to you!
 

Nitro626

Dabbler
Joined
Mar 4, 2019
Messages
29
hey, i had to make an account just to say THANK YOU! that was the shortest amount of troubleshooting i've done so far thanks to you!

Huh ?
 
Top