Open albertsj1 opened 1 week ago
Sounds like both issues may be related (the codecs download and the EAE pid). Any chance you could try one of those Pi's with the official raspberry pi OS 64-bit?
I'll give it a shot and respond back. Probably won't get a chance to do that for a couple of days.
No worries. In a few days I'll try to run dietpi on a vm in proxmox to see if I can reproduce the issue, too. It sounds like it might be a networking issue, or a permissions issue, or both. Not sure which yet.
Firstly, thank you for your work on this project. I truly appreciate the time and effort you've put into this to offer it publicly for free.
I am trying to get this working on Docker Swarm. I have 5 node Raspberry Pi cluster with latest version of dietPi. Each node has 4G of memory.
Some backstory of an issue I fixed yesterday (in case it's part of the problem) Issue #317 was fixed yesterday and that fixed the missing CLUSTERPLEX_PLEX_CODECS_VERSION; however, I was still getting an error when it tried to download any codecs. The error appeared to be that the wget command to download the codecs was failing because it appeared that the variables were not being interpreted properly.
I did a docker exec -it bash into one of the worker containers. I made a copy of start.sh to tmp_start.sh with the last line removed so it didn't start the app again. I then ran ./tmp_start.sh. It successfully downloaded all of the codecs without error and exited successfully.
After that, I re-deployed the plex stack. The workers detected the codecs already existed and appeared to be ready without error for jobs.
Now... the current problem. Any time I try to watch a video, the transcode job is sent to the worker and the worker crashes with the following error:
NOTE: I have hwaccel set to mmal; however, I get the exact same error without it.
The permissions of the video the worker was trying to play as seen from inside the worker node:
My full docker-swarm.yaml file.