Installing plex issues

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
  • Motherboard unsure
  • CPU Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
  • 16gb ddr3 2400mhz
  • MSI NVIDIA GEFORCE GT 710 2GD3H LP Graphics Card '2GB DDR3, 954MHz
I have just installed the latest version of FreeNAS 11.3

when I try and install plex it gives me the following error message

Error: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://github.com/freenas/iocage-ix-plugins.git /mnt/mypool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git stderr: 'Cloning into '/mnt/mypool/iocage/.plugins/github_com_freenas_iocage-ix-plugins_git'... fatal: unable to access 'https://github.com/freenas/iocage-ix-plugins.git/': Could not resolve host: github.com

I went to Github to update manually I used the address in the error message above when I try this is said file or directly do not exist.

Thanks in advance


Deanmrd
 
Joined
Jan 4, 2014
Messages
1,644
Have you considered using this resource instead? Much easier to get up and running sooner and to keep Plex updated.
 
Joined
Jan 4, 2014
Messages
1,644
You have three options in installing Plex:
  1. Build it manually in a jail (what I think you're doing?);
  2. Installing it via a plugin (easy, but Plex updates are infrequent using this method); or
  3. A scripted install (overcomes a number of disadvantages of using the plugin)
Use #2 if you prefer to stay within the FreeNAS GUI, #3 if you're comfortable at the command line and can follow simple instructions. As a beginner, I'd suggest avoiding #1.
 

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
I tried the first command got this error git clone https://github.com/danb35/freenas-iocage-plex

root@freenas[~]# git clone https://github.com/danb35/freenas-iocage-plex Cloning into 'freenas-iocage-plex'... fatal: unable to access 'https://github.com/danb35/freenas-iocage-plex/': Couldnot resolve host: github.com root@freenas[~]# root@freenas[~]# root@freenas[~]#
 

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
You have three options in installing Plex:
  1. Build it manually in a jail (what I think you're doing?);
  2. Installing it via a plugin (easy, but Plex updates are infrequent using this method); or
  3. A scripted install (overcomes a number of disadvantages of using the plugin)
Use #2 if you prefer to stay within the FreeNAS GUI, #3 if you're comfortable at the command line and can follow simple instructions. As a beginner, I'd suggest avoiding #1.
I am ok with the following instruction at the command line
 

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
When I open jails I get this error

Error: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 157, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/usr/local/lib/python3.7/site-packages/urllib3/util/connection.py", line 61, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/local/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 8] hostname nor servname provided, or not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 672, in urlopen chunked=chunked, File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 376, in _make_request self._validate_conn(conn) File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn conn.connect() File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 334, in connect conn = self._new_conn() File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 169, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x833acc050>: Failed to establish a new connection: [Errno 8] hostname nor servname provided, or not known During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 720, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 436, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.freebsd.org', port=443): Max retries exceeded with url: /security/unsupported.html (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x833acc050>: Failed to establish a new connection: [Errno 8] hostname nor servname provided, or not known')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 130, in call_method io_thread=False) File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1091, in _call return await run_method(methodobj, *args) File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1015, in _run_in_conn_threadpool return await self.run_in_executor(self.__ws_threadpool, method, *args, **kwargs) File "/usr/local/lib/python3.7/site-packages/middlewared/main.py", line 1003, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 964, in nf return f(*args, **kwargs) File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/jail.py", line 658, in releases_choices choices = {str(k): str(k) for k in ListableReleases(remote=remote)} File "/usr/local/lib/python3.7/site-packages/iocage_lib/release.py", line 46, in __init__ self.eol_list = IOCFetch.__fetch_eol_check__() File "/usr/local/lib/python3.7/site-packages/iocage_lib/ioc_fetch.py", line 114, in __fetch_eol_check__ req = requests.get(_eol) File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 75, in get return request('get', url, params=params, **kwargs) File "/usr/local/lib/python3.7/site-packages/requests/api.py", line 60, in request return session.request(method=method, url=url, **kwargs) File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request resp = self.send(prep, **send_kwargs) File "/usr/local/lib/python3.7/site-packages/raven/breadcrumbs.py", line 341, in send resp = real_send(self, request, *args, **kwargs) File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send r = adapter.send(request, **kwargs) File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.freebsd.org', port=443): Max retries exceeded with url: /security/unsupported.html (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x833acc050>: Failed to establish a new connection: [Errno 8] hostname nor servname provided, or not known'))
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
I don't think you have your gateway or nameserver setup correctly either in freenas or your jail.
 

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
I don't think you have your gateway or nameserver setup correctly either in freenas or your jail.
Under Global config, I have no nameservers setup.

just dont ping test it not able to find google and ebay.co.uk

Now setup default gateway I can now ping the internet
 

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
I am still not sure what to do from the start of this info it say to change to a directory I've typed dir in the shell command line nothing happens the is I am stuck on this part...
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
Here's a small set of the commands that should help you.
 

Attachments

  • freebsdref1.pdf
    90.2 KB · Views: 627

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
No clue what directions you are trying to follow but it's like 10sec to install Plex.

Create jail, I like to check DHCP box.
Then inside the jail she'll run pkg install plexmediaserver

Then access the Plex webui and setup your libraries.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
I downloaded the freenas-iocage-plex I created the plex-config the issue is when I try and edit the plex-config I get files permissions issues

freenas plex jail.png
 

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
is the something wrong with shell? when I try and type anything it jump down to next line after a letter? I managed to open the plex-config but not able to type
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
you need tp open plex-config with an editor.

try
Code:
ee plex-config
 

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
Ok guys I done for I been working on this most of the day yesterday and mos
you need tp open plex-config with an editor.

try
Code:
ee plex-config
I've set up the config file now. I am about ready to give up. I have been working this most of the day yesterday and nearly all day today.

I would like it so it easy to maintain but it seems I need to learn and new skill in the command line.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Ok guys I done for I been working on this most of the day yesterday and mos

I've set up the config file now. I am about ready to give up. I have been working this most of the day yesterday and nearly all day today.

I would like it so it easy to maintain but it seems I need to learn and new skill in the command line.
Did you bother following my suggestions? Go watch a YouTube video on it. You should not spend more than 30min doing the install.
 

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
I've watched 5 youtube video on it now it seem like it will not install manual as well

none of them advises on how to install plex outside of a jail
 

Deanmrd

Explorer
Joined
Feb 22, 2020
Messages
50
New issue

Install
Error: plexmediafiles had a failure Exception: RuntimeError Message: + Acquiring DHCP address: FAILED, address received: 0.0.0.0/8 Stopped plexmediafiles due to DHCP failure Partial plugin destroyed
 
Top