Plex installation problem

Hello

I have a problem with the installation of plex, I can’t watch the movies on the web. Here is my complete installation:

First, I created a static IP address + opened port NAT/PAT 32400 :

I created a group :

Maybe I should check “SMB Group”?

User :

I checked SMB user for the user

Dataset :

I created a “Media” dataset:

Another one called Server with Plex and logs as children :

Same manipulation for the child dataset “logs” by choosing dataset preset “App” "also

Plex and media dataset permissions:

When I want to install Plex it shows me an error that I didn’t have before I tried to install plex with Dockge (it didn’t work, I uninstalled Dockge and the error came after the uninstallation)

[ENOENT] Unable to locate ‘plex’ at ‘/mnt/.ix-apps/truenas_catalog/trains/stable/plex’

Error: Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/app_version.py”, line 56, in get_app_details
if not stat.S_ISDIR(os.stat(app_location).st_mode):
^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: ‘/mnt/.ix-apps/truenas_catalog/trains/stable/plex’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 211, in call_method
result = await self.middleware.call_with_audit(message[‘method’], serviceobj, methodobj, params, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1529, in call_with_audit
result = await self._call(method, serviceobj, methodobj, params, app=app,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1471, in _call
return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1364, in run_in_executor
return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/concurrent/futures/thread.py”, line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 183, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/schema/processor.py”, line 55, in nf
res = f(*args, **kwargs)
^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/catalog/app_version.py”, line 59, in get_app_details
raise CallError(f’Unable to locate {app_name!r} at {app_location!r}', errno=errno.ENOENT)
middlewared.service_exception.CallError: [ENOENT] Unable to locate ‘plex’ at ‘/mnt/.ix-apps/truenas_catalog/trains/stable/plex’

If I insist, I can install it

I inserted a claim after installation

I connect to the server with SMB, I upload an anime, I log into Plex and nothing appears…

Yet the permissions seem correct…

I’m lost.

Thank you

I had similar issues trying to locate the Plex media. After many uninstalls / re-installs I stumbled across the media inside config on the left of the browse window.

Is it possible for you to take a screenshot of your Plex configuration?

Ty

I have an SMB share with recursive permissions called data and I copy my media folder into this share \mnt\NAS\media

In the media folder I have subfolders for concerts, TV, documentaries, movies and music.

My Plex config is as follows…





When setting up libraries, click on config on the left of the browser and the individual media folders can be seen listed on the right

Hope this helps

1 Like

Hello

I did the same as you, but I don’t see the episode in the animated folder :

From what I’ve read, it seems like the permissions are configured correctly. Can you take screenshots of the permissions for your user, group, and datasets?

Sorry to bother you so much. :confounded:

Thank you

I haven’t made any specific group or user for plex and just use the built in users & groups as shown below. When the dataset was created I just chose smb as the share and left the permissions as default.

I have created users within the plex server and grant access to each individual plex user. For my use case my family members have access to all libraries except my music library.

I had a torrid time getting plex to work. In the end I followed a youtube vid which worked in my case. I’ll see if I can find the link for you if you want to watch and see if it’s any different to your installation. It was made on an earlier release of scale but still worked for me on electric eel 24.10 and the previous version

1 Like

Thanks :slight_smile:
I can watch the anime in the Plex configuration:

but it remains empty on plex

It’s hell to set up :grimacing:

This is the video I followed…

Setting up plex

1 Like

I’ll take a look :grinning:

Thanks for your help.

Ant luck?