Unable to start Plex plugin, even after install 11.2-U3.

TechTrash Rigs

Dabbler
Joined
Apr 2, 2019
Messages
14
I am unable to start plex plugin or plex jail after installing 11.2-U3. I am still having a problem with the spaces from Plex Media Server. I tried entering the destination manually from the GUI \040 but that just creates a new directory with the name Plex\040Media\040Server in the jail.

Mount point source: /mnt/olympus/dionysus
Mount point destination: /mnt/olympus/iocage/jails/plex/root/Plex Media Server/FreeNAS

I receive the following runtime error when starting plex jail: jail: mount.fstab: /mnt/olympus/iocage/jails/plex/root/Plex: No such file or directory
Code:
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/concurrent/futures/process.py", line 175, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 128, in main_worker
    res = loop.run_until_complete(coro)
  File "/usr/local/lib/python3.6/asyncio/base_events.py", line 468, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 88, in _run
    return await self._call(f'{service_name}.{method}', serviceobj, methodobj, params=args, job=job)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 81, in _call
    return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/worker.py", line 81, in _call
    return methodobj(*params)
  File "/usr/local/lib/python3.6/site-packages/middlewared/schema.py", line 668, in nf
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/plugins/jail.py", line 609, in start
    iocage.start()
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/iocage.py", line 1663, in start
    callback=self.callback
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_start.py", line 66, in __init__
    self.__start_jail__()
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_start.py", line 401, in __start_jail__
    silent=self.silent)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 90, in logit
    _callback(content, exception)
  File "/usr/local/lib/python3.6/site-packages/iocage_lib/ioc_common.py", line 64, in callback
    raise callback_exception(message)
RuntimeError: jail: mount.fstab: /mnt/olympus/iocage/jails/plex/root/Plex: No such file or directory

"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 165, in call_method
    result = await self.middleware.call_method(self, message)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1141, in call_method
    return await self._call(message['method'], serviceobj, methodobj, params, app=app, io_thread=False)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1078, in _call
    return await self._call_worker(serviceobj, name, *args)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1105, in _call_worker
    job,
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1036, in run_in_proc
    return await self.run_in_executor(self.__procpool, method, *args, **kwargs)
  File "/usr/local/lib/python3.6/site-packages/middlewared/main.py", line 1021, in run_in_executor
    return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
RuntimeError: jail: mount.fstab: /mnt/olympus/iocage/jails/plex/root/Plex: No such file or directory

 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Remove the fstab from your jail. Restart the jail (it should run without the broken fstab), then recreate the fstab while the jail is running using relative paths starting at the jail root rather than the absolute path from the FreeNAS root to describe the target location.
 

TechTrash Rigs

Dabbler
Joined
Apr 2, 2019
Messages
14
Weird, I got a different error. It was 5 am so I did not copy/write it down. Will have to mess it at a later day.
 

TechTrash Rigs

Dabbler
Joined
Apr 2, 2019
Messages
14
I forwent the instructions from FreeNASTeam - FreeNAS 11.2 - Plex Media Server Plugin youtube video.
I made mount point /mnt/olympus/dionysus /mnt/olympus/iocage/jails/plex/root/media instead of
/mnt/olympus/iocage/jails/plex/root/Plex Media Server/FreeNAS.
Plex is working well.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
OK, now I see where the problem was... you could have enclosed the path in quotes like this "/mnt/olympus/iocage/jails/plex/root/Plex Media Server/FreeNAS" or escaped the spaces like this /mnt/olympus/iocage/jails/plex/root/Plex\ Media\ Server/FreeNAS

Good to see you got it worked out in any case.
 
Joined
Apr 12, 2019
Messages
3
It's not working for me... when I make the mount point "media" instead of "Plex Media Server/FreeNAS", I then get a completely different "VNET Failure" error. Enclosing the path in quotes and trying the other option suggested by stretalla also do not work. Any ideas?
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
when I make the mount point "media" instead of "Plex Media Server/FreeNAS", I then get a completely different "VNET Failure" error.

A VNET failure is not related to fstab/mount problems.

You will need to show some more information like what version of FreeNAS, your jail configuration (iocage get all plex) and ifconfig on the host and in the jail (if it starts) for us to work it out.
 
Joined
Apr 12, 2019
Messages
3
Thanks-- I'll see if I can figure out how to do that. I just installed FreeNAS for the first time yesterday, so I'm totally new to it. Also, it's the latest version, freshly DL'd yesterday afternoon.
 
Top