Closed adude00 closed 6 days ago
I'm seeing s6-init
in the logs which means you are not using my image.
Also, truenas scale has removed k3s in newer versions so it would make sense to migrate off truecharts and kubernetes altogether and just use docker.
Apologies, my bad
Sometimes (20-30% of the times?) Plex container wont start. Logs shows the container is unable to find the Plex executable and then gets stuck in an infinite loop.
Here is an extract of the logs when it's not starting.
This goes on and on and on.
When it does starts correctly it looks like it's downloading it from the internet (full logs here)
Again it's happening not all the time and I haven't found any reliable steps to reproduce it.
I turn my NAS off after using it, when I turn it on again, maybe one or three days later, most of the times plex starts fine but sometimes it wont.
Restarting the app fixes it, all the time.
I use a CLI script that first run a
ssh root@opti midclt call chart.release.scale plex \'{\"replica_count\": 0}\'
then assh root@opti midclt call chart.release.scale plex \'{\"replica_count\": 1}\'
To fix it from my home automation.
I noticed that if I wait long enough (20, maybe 30 minutes?) the container eventually gets restarted, maybe after it reaches some kind of timeout?
I'm running TrueNAS Scale 24.04.2.3. Gonna update to the latest version after posting but it has been this way forever so I'm not sure is related to TrueNAS version.
I notice that when it does not work it looks like it's not able to get the updated version. Is that a network error? If so, why would it need to always download the new version? Can't it use the version that it's already downloaded locally and only upgrade it when an actual upgrade is performed in TrueNAS GUI?
As a workaround, is there any way to reduce this timeout?