Plex App not starting

Hi, after the Upgrade to ElectricEel-24.10.2.1 the Plex Containers is not starting anymore. I have downgraded truenas and Plex ist starting again.
Today i switched again to ElectricEel-24.10.2.1 but plex will not start.

The App hangs on deploying state in the gui:

Fehler: 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/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/apps/app_scale.py”, line 51, in start
compose_action(app_name, app_config[‘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

Has anynone the same issue or can anyone help?

Checking this should give more detailed info about the problem.
The error you mentioned to me seems too much generic for troubleshooting

Hi Thanks for you Help.

Here the output from the Log File:

cat /var/log/app_lifecycle.log

[2025/04/06 10:10:25] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'plex' app: Network ix-plex_default Creating

Network ix-plex_default Created

Container ix-plex-permissions-1 Creating

time="2025-04-06T10:10:09+02:00" level=warning msg="config `uid`, `gid` and `mode` are not supported, they will be ignored"

time="2025-04-06T10:10:09+02:00" level=warning msg="config `uid`, `gid` and `mode` are not supported, they will be ignored"

Container ix-plex-permissions-1 Created

Container ix-plex-plex-1 Creating

Container ix-plex-plex-1 Created

Container ix-plex-permissions-1 Starting

Error response from daemon: failed to create task for container: failed to start shim: start failed: unexpected fault address 0x646040

fatal error: fault

[signal SIGBUS: bus error code=0x2 addr=0x646040 pc=0x646040]

goroutine 1 [running, locked to thread]:

runtime.throw({0xa899e8?, 0xc0001e9de3?})

/usr/local/go/src/runtime/panic.go:1077 +0x5c fp=0xc0001e9da8 sp=0xc0001e9d78 pc=0x43925c

runtime.sigpanic()

/usr/local/go/src/runtime/signal_unix.go:858 +0x116 fp=0xc0001e9e08 sp=0xc0001e9da8 pc=0x44f416

net.init()

/usr/local/go/src/net/addrselect.go:228 fp=0xc0001e9e10 sp=0xc0001e9e08 pc=0x646040

runtime.doInit1(0xf40200)

/usr/local/go/src/runtime/proc.go:6735 +0xd8 fp=0xc0001e9f40 sp=0xc0001e9e10 pc=0x448d78

runtime.doInit(...)

/usr/local/go/src/runtime/proc.go:6702

runtime.main()

/usr/local/go/src/runtime/proc.go:249 +0x374 fp=0xc0001e9fe0 sp=0xc0001e9f40 pc=0x43bd94

runtime.goexit()

/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0001e9fe8 sp=0xc0001e9fe0 pc=0x46b821

goroutine 2 [force gc (idle)]:

runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)

/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000054fa8 sp=0xc000054f88 pc=0x43c12e

runtime.goparkunlock(...)

/usr/local/go/src/runtime/proc.go:404

runtime.forcegchelper()

/usr/local/go/src/runtime/proc.go:322 +0xb3 fp=0xc000054fe0 sp=0xc000054fa8 pc=0x43bfb3

runtime.goexit()

/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000054fe8 sp=0xc000054fe0 pc=0x46b821

created by runtime.init.6 in goroutine 1

/usr/local/go/src/runtime/proc.go:310 +0x1a

goroutine 3 [GC sweep wait]:

runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)

/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000055778 sp=0xc000055758 pc=0x43c12e

runtime.goparkunlock(...)

/usr/local/go/src/runtime/proc.go:404

runtime.bgsweep(0x0?)

/usr/local/go/src/runtime/mgcsweep.go:280 +0x94 fp=0xc0000557c8 sp=0xc000055778 pc=0x428054

runtime.gcenable.func1()

/usr/local/go/src/runtime/mgc.go:200 +0x25 fp=0xc0000557e0 sp=0xc0000557c8 pc=0x41d165

runtime.goexit()

/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000557e8 sp=0xc0000557e0 pc=0x46b821

created by runtime.gcenable in goroutine 1

/usr/local/go/src/runtime/mgc.go:200 +0x66

goroutine 4 [GC scavenge wait]:

runtime.gopark(0xc000074000?, 0xb60dd0?, 0x1?, 0x0?, 0xc000006d00?)

/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000055f70 sp=0xc000055f50 pc=0x43c12e

runtime.goparkunlock(...)

/usr/local/go/src/runtime/proc.go:404

runtime.(*scavengerState).park(0xf9d5a0)

/usr/local/go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc000055fa0 sp=0xc000055f70 pc=0x425929

runtime.bgscavenge(0x0?)

/usr/local/go/src/runtime/mgcscavenge.go:653 +0x3c fp=0xc000055fc8 sp=0xc000055fa0 pc=0x425ebc

runtime.gcenable.func2()

/usr/local/go/src/runtime/mgc.go:201 +0x25 fp=0xc000055fe0 sp=0xc000055fc8 pc=0x41d105

runtime.goexit()

/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000055fe8 sp=0xc000055fe0 pc=0x46b821

created by runtime.gcenable in goroutine 1

/usr/local/go/src/runtime/mgc.go:201 +0xa5

goroutine 17 [finalizer wait]:

runtime.gopark(0x40fd5e?, 0x400000?, 0x70?, 0x46?, 0x0?)

/usr/local/go/src/runtime/proc.go:398 +0xce fp=0xc000054620 sp=0xc000054600 pc=0x43c12e

runtime.runfinq()

/usr/local/go/src/runtime/mfinal.go:193 +0x107 fp=0xc0000547e0 sp=0xc000054620 pc=0x41c107

runtime.goexit()

/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000547e8 sp=0xc0000547e0 pc=0x46b821

created by runtime.createfing in goroutine 1

/usr/local/go/src/runtime/mfinal.go:163 +0x3d

: exit status 2: unknown```

if you use triple ` before and after the code, the lines will be readable :smiley:

those lines

ime=“2025-04-06T10:10:09+02:00” level=warning msg=“config uid, gid and mode are not supported, they will be ignored”
time=“2025-04-06T10:10:09+02:00” level=warning msg=“config uid, gid and mode are not supported, they will be ignored”
...
Container ix-plex-permissions-1 Starting
Error response from daemon: failed to create task for container: failed to start shim: start failed: unexpected fault address 0x646040
fatal error: fault
[signal SIGBUS: bus error code=0x2 addr=0x646040 pc=0x646040]

Let me think that some permission error is prevent the container to work properly.
Personally i don’t use Plex, and 95% of my apps are build with Portainer (so i don’t have much experience with IX GUI), but the first thing i would check is user-group permission as stated in theyr guide

Hi oxyde,
i have checked the permissions to all the files from the container. I cannot see that there is anything wrong.

I tried to install an new instance from plex witther thau automatic settings an the installation will also fail with the same error as my current installation.

[2025/04/06 14:53:34] (ERROR) app_lifecycle.compose_action():56 - Failed 'up' action for 'plex2' app:  Network ix-plex2_default  Creating
 Network ix-plex2_default  Created
 Volume "ix-plex2_plex-logs"  Creating
 Volume "ix-plex2_plex-logs"  Created
 Volume "ix-plex2_plex-transcodes"  Creating
 Volume "ix-plex2_plex-transcodes"  Created
 Container ix-plex2-permissions-1  Creating
time="2025-04-06T14:53:23+02:00" level=warning msg="config `uid`, `gid` and `mode` are not supported, they will be ignored"
time="2025-04-06T14:53:23+02:00" level=warning msg="config `uid`, `gid` and `mode` are not supported, they will be ignored"
 Container ix-plex2-permissions-1  Created
 Container ix-plex2-plex-1  Creating
 Container ix-plex2-plex-1  Created
 Container ix-plex2-permissions-1  Starting
Error response from daemon: failed to create task for container: failed to start shim: start failed: unexpected fault address 0x646040
fatal error: fault
[signal SIGBUS: bus error code=0x2 addr=0x646040 pc=0x646040]

Odd behaviour, i didn’t expect that a new install (without reference to the old one) fail the same. Can i ask you if Is possible share the screenshot of setup in the GUI?
Have you tried to build Plex as custom app?

Hi, no problem.

i did not tried a custom app.

Here the screenshots

Hi please let me ask another question:

Since i have tried so much on my system yet, i also deleted the old boot envirnoments because i read something about disk space issues, so i cannot downgrade to 24.10.2 where plex was running without issues

Is there a way to downgrade to the older Version anyway the boot envirnoment is deleted? :slight_smile:

Honestly i didn’t see anything strange on your configuration, the only thing i would try (with the “fresh” install) is

  • change the user - group with the default 568 (apps)
  • mount config paths with a datasets that are owned by apps
  • mount dummy folder for movies with the same user/group as owner

In your place i would try with a fresh install (with the desired version) + config upload. A bit much time needed but should work the same!

So, end of the Story is that i reinstalled the complete System.

I also re designed all Plex Directorys an all Datasets.

Now all is working fine.

Thank for your help

1 Like