unholyeyebrows
Explorer
- Joined
- Apr 19, 2012
- Messages
- 55
Hi
I have moved from Core to Scale and am struggling to get Plex to run as an app. It seems to be stuck in 'deploying' state and never completes. Looking at the logs I see:
2022-04-09 8:40:43
error determining status: rpc error: code = Unknown desc = Error: No such container: 3ee3d6e219dd06cffc0fd3a1780a3247cecd4ba52a25790308b93dc7db64cfd9
I also sometimes see:
2022-04-09 8:23:52
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create a sandbox for pod "plexmediaserver-647c699976-gdgkk": operation timeout: context deadline exceeded
In the App logs I also see:
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"container \"plex\" in pod \"plexmediaserver-647c699976-gdgkk\" is waiting to start: ContainerCreating","reason":"BadRequest","code":400}
I have configured everything as follows:
User set-up on TrueNAS host:
plex
userID and groupID set to 1000
Datasets on host:
/mnt/disk0/plex (with sub-folders config, transcode, and data) - all owned by plex:plex and 770 access
/mnt/disk0/media (for my media collection) - owned by plex:plex and 777 access
I then set-up the plex app with the following options:
Name: plexmediaserver
Plexpass: Tick
Plex claim token: I enter this
Environment variables:
Name: PUID
Value: 1000
Name: GUID
Value: 1000
Timezone: Europe/London
Configure host network: Tick (this is a guess - not sure if this should be set!)
Plex port: 32400
Plex transcode volume:
/mnt/disk0/plex/transcode
Plex Data volume:
/mnt/disk0/plex/data
Plex config volume:
/mnt/disk0/plex/config
Configure plex extra host path volumes:
Mount path in pod: /plexmedia
Host path: /mnt/disk0/media
Read only: tick
Then the rest of the config is set to default options.
My kubernetes settings are as follows:
NodeIP: 0.0.0.0
Route v4 interface: eno1 (this is the host Ethernet port)
Route v4 Gateway: 192.168.0.1 (this is the default gateway of my home network)
All the rest of the options are defaults.
I have tried deleting and re-adding the app, and also deleting and re-building the ix-applications dataset. Whatever I do I cannot get the app to finish deploying.
if anyone can help I would be most grateful!
Thanks
Nick
I have moved from Core to Scale and am struggling to get Plex to run as an app. It seems to be stuck in 'deploying' state and never completes. Looking at the logs I see:
2022-04-09 8:40:43
error determining status: rpc error: code = Unknown desc = Error: No such container: 3ee3d6e219dd06cffc0fd3a1780a3247cecd4ba52a25790308b93dc7db64cfd9
I also sometimes see:
2022-04-09 8:23:52
Failed to create pod sandbox: rpc error: code = Unknown desc = failed to create a sandbox for pod "plexmediaserver-647c699976-gdgkk": operation timeout: context deadline exceeded
In the App logs I also see:
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"container \"plex\" in pod \"plexmediaserver-647c699976-gdgkk\" is waiting to start: ContainerCreating","reason":"BadRequest","code":400}
I have configured everything as follows:
User set-up on TrueNAS host:
plex
userID and groupID set to 1000
Datasets on host:
/mnt/disk0/plex (with sub-folders config, transcode, and data) - all owned by plex:plex and 770 access
/mnt/disk0/media (for my media collection) - owned by plex:plex and 777 access
I then set-up the plex app with the following options:
Name: plexmediaserver
Plexpass: Tick
Plex claim token: I enter this
Environment variables:
Name: PUID
Value: 1000
Name: GUID
Value: 1000
Timezone: Europe/London
Configure host network: Tick (this is a guess - not sure if this should be set!)
Plex port: 32400
Plex transcode volume:
/mnt/disk0/plex/transcode
Plex Data volume:
/mnt/disk0/plex/data
Plex config volume:
/mnt/disk0/plex/config
Configure plex extra host path volumes:
Mount path in pod: /plexmedia
Host path: /mnt/disk0/media
Read only: tick
Then the rest of the config is set to default options.
My kubernetes settings are as follows:
NodeIP: 0.0.0.0
Route v4 interface: eno1 (this is the host Ethernet port)
Route v4 Gateway: 192.168.0.1 (this is the default gateway of my home network)
All the rest of the options are defaults.
I have tried deleting and re-adding the app, and also deleting and re-building the ix-applications dataset. Whatever I do I cannot get the app to finish deploying.
if anyone can help I would be most grateful!
Thanks
Nick
Last edited: