Another newbie here with problems that will hopefully be simple for you all.
I am running a fresh installation of TrueNAS SCALE ElectricEel 24.10 on a TerraMaster F4-423 with 32GB of RAM.
I’m trying to install Plex. I’m very familiar with Plex as I’ve been using it for years on a Windows server. Unfortunately I’ve probably spent about 10 hours trying to simply install it on TrueNAS and I’ve followed about 5 online tutorials and a similar number of YouTube videos.
The latest instructions I’ve followed (precisely) are from this site under:
/docs/truenasapps/stableapps/plexapp/
But alas I keep getting the same error when I hit the ‘Install’ button:
FAILED
[EFAULT] Failed ‘up’ action for ‘plex’ app, please check /var/log/app_lifecycle.log for more details
Error: 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*
File “/usr/lib/python3/dist-packages/middlewared/plugins/apps/compose_utils.py”, line 57, in compose_action*
raise CallError(* middlewared.service_exception.CallError: [EFAULT] Failed ‘up’ action for ‘plex’ app, please check /var/log/app_lifecycle.log for more details
I would really like to make this TrueNAS thing a success as it makes the TOS 6 that came with my TerraMaster look like a toy but if I can’t make something as simple as Plex work then that’s not a good start!
I have a PiHole on my network as my primary DNS server. I’m wondering if that may be blocking something that Plex needs. I can successfully run Plex on my network from a Windows server so it would surprise me if that was the case.
Other than that, you’ll see that I can two NICs teamed as “bond1”. Seems to work well and offers good bandwidth. Maybe Plex doesn’t like this?
I managed to get rid of the IPv6 address assigned to “bond1” by changing the IP configuration from DHCP to static, which is fine because I’ve configured my router to provide a static IP to the TrueNAS server.
However, I can’t work out how to get rid of the IPv6 address under the Network > Global Configuration > Default Route section. I can go into the settings for this, delete the address and save the dialogue box but the address comes right back.
Is there somewhere else where I can remove the IPv6 address as a default route option?
I switched off IPv6 auto assignment on my router, rebooted the TrueNAS server and the references to IPv6 are now gone from the network configuration screens.
However, Plex still won’t install and the latest app_lifecycle.log still shows it looking to an IPv6 address:
I got it working by entering the two top level DNS servers that my router uses rather than allowing TrueNAS to accept the DNS server provided my DHCP (which routes through my Pi-hole).
Plex is installed and the libraries are working perfectly. I know it’s basic stuff but it feels like a momentous moment after all the time I’ve spent!
Ir’s also awesome to see my TrueNAS dashboard come alive with activity. If I can get to grips with this OS it’s going to be brilliant.
Thanks so much for all of your responses (Henry and Sean) and for setting me on the right track to troubleshoot this. I would not have worked it out without your help.
I am in a very similar situation but I am lost on this part.
Just installed TrueNAS on a Terramaster F2-423 and want to install Plex but get the same error you did. I used Plex just fine in Terramaster TOS6. I switched to TrueNAS partly because of this community.
Where did you enter the two top level DNS servers that your router uses?
Holy cow! I think it was much more simple than I thought. None of the installation instructions I had seen mentioned how to set up datasets for Plex before installing. I finally found a video that seems to have worked.
Create a dataset called “plex” then four datasets within that one (data, config, logs, transcode). Create all as app datasets. Then, when installing Plex, select each dataset manually.
Under the Storage Configuration section, change each path from ixVolume to Host Path, then select one of the datasets you created. For Plex Data Storage, select the dataset called “data”, for Host Path Configuration select the “config” dataset, for Plex Logs Storage select “logs” and for Plex Transcode Storage select “transcode”.