Problem installing Plex on scale

I had Plex running on scale ( I think 24.10 ) on a HPelite, 2 drives and SSD for boot; the motherboard failed and i rebuilt the pc;
Installed scale succesfully but Plex failed to install
my knowledge is limited ; I reinstalled scale several times using different releases followind many youtube tutorials but all failed ; finally reformated all disks in case something was still on disk even thought scale says disks will be wiped when creating the pool;
now have 24.10.2.2 ; and enclose the log .
I also tried installing some other apps; emby; jellyfin and home assistant; all of which worked on original setup; but none will install now

any help appreciated

fail to install 23 May 2025
Plex scale 24.10.2.2
on HPelite 2 hard drives and SSD all newly formatted to try to ensure no residue from previous attempts
I have named pool same as PC ie HPelite_8000

Bill

Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 509, in run
await self.future
File “/usr/lib/python3/dist-packages/middlewared/job.py”, line 556, in __run_body
rv = await self.middleware.run_in_thread(self.method, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/main.py”, line 1367, in run_in_thread
return await self.run_in_executor(io_thread_pool_executor, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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/service/crud_service.py”, line 268, in nf
rv = 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/schema/processor.py”, line 183, in nf
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 203, in do_create
return self.create_internal(job, app_name, version, data[‘values’], complete_app_details)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 248, in create_internal
raise e from None
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/crud.py”, line 241, in create_internal
compose_action(app_name, version, ‘up’, force_recreate=True, remove_orphans=True)
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/compose_utils.py”, line 61, in compose_action
raise CallError(err_msg)
middlewared.service_exception.CallError: [EFAULT] Failed ‘up’ action for ‘plex’ app. Please check /var/log/app_lifecycle.log for more details

Bill
Dublin, Ireland

  1. Your first problem could already be your pool name. If it’s really PC ie HPelite_8000 with spaces in the name and you haven’t migrated your data already i’d redo it without spaces in the name. Truenas doesn’t like spaces in poolnames.
  2. did you check the lifecycle log as the error message suggests?
    If not go to shell or use ssh and
cat /var/log/app_lifecycle.log

and post the logfile in code tags (performated text or ctrl+e)

Thank you the line was intended to say I have use dthe PC name as the pool name’ ie < HPelite_8000 > this pool name worked when the previous install worked
I will try your other suggestion but not sure how to use it ;
Is it though linux shell option 7 on terminal menu?
my linux knowledge extends to following line by line instructions on my raspberry pi

Bill

Hi again; I have ben able tu use the command to see the log but dont know how to save the output
Bill

is a screenshot helpful

still have log onscreen; cant download


It looks like you’ve put in a CPU limit for the Plex app–why? Remove it.

I’m not going to say that my guide (linked above) is perfect or the absolute best way to install Plex, but I’ve tested it to work well under both 24.10 and 25.04.

thank you again Dan
I used your guide and it seemed clear and helpful but I stil managed to cock up;
If i set that CPU limit, it was accidental and i dont see where to unset it;
ALSO ; the problem seems to relate to installing Any app;

is the last line in the log the clue to only one CPU?
Bill

Yes.

The setting is at the bottom of the app configuration:

What CPU and other hardware are in this system? I’d guess, based on that error, it would work if you cleared out the CPUs field, but if you only have a single-core CPU, your system is entirely unsuitable for any version of Free/TrueNAS in the past ten years.

that is / was set at 2; just tried again ; same result
processor is core i5 gen2 4cores; i5- 2400

I know it is an old spare box to learn on ; but it did work previously ; possible truenas 23 -----? didnt keep a record
and had home assistant , Plex and emby wotking;
the mother board has been replaced, .everything else is as before ; 16G ram ; 2 x 500 GB disks and 128 g ssd for boot

Please post the lifecycle output again, it shouldn’t complain about the same thing anymore since you fixed the CPU issue, but there may be another error visible in the log now.

Did you try it with that field blank? If not, try that.

1 Like

does not allow blank > is required

Found solution,
Your info about multiple processors led me to investigate bios for the replacement motherboard
there was a setting to use multiple processors. It was disabled .
Now moving forward to the challenges of Plex :slight_smile: :grin:
thanks for your patience