Hello,
For a while I had the update notification lit up on the Plex server dashboard and I finally did it by doing:
sudo apt-get update
then
sudo apt-get upgrade
Previously this has worked without any issues except for one time and I had to reinstall the server and lost all of the server data like the watch show and movie data and all of the users who have played streams.
This time I had the problem updating again and it was only playing the streams locally via Direct Play. In the console I was getting this error:
Message
[Req#10cb5/Transcode/ddd0dfa9-bc60-4d17-aa4d-7ffef98e3b7a/bd13a7e1-2f4f-482e-9095-c9f04341f4e3] [eac3_eae @ 0x7ff30d13d580] EAE timeout! EAE not running, or wrong folder?
Could not read '/tmp/pms-9b0bc462-cbe5-44cb-a6d1-f5f3b46f0a58/EasyAudioEncoder/Convert to WAV (to 8ch or less)/ddd0dfa9-bc60-4d17-aa4d-7ffef98e3b7a_14335-0-3073.wav'
After a bit of searching on google it sounds like it’s a permission issue that got screwed up during the update. Some people were saying to remove the codecs because plex would re-download them. I tried renaming them and restarting and no dice, so then I removed the folder ‘Easy Audio Converter’ and now nothing will play, even locally. So I think it’s safe to say I’ve screwed this up and probably need a reinstallation. So, is there a safe way to do a reinstallation without losing all of the server data?
Installation: VirtualBox image running on x64 based system
The files seems to be located inside /tmp folder. This is a tmpfs and usually will be cleaned up during reboot. Therefore, did you already tried to restart your system?
Yes I tried rebooting and also restarting the service and neither brought Easy Audio Converter back.
I tried watching a movie last night locally on plex and was successful, it’s just some movies/shows don’t play and transcoding non locally still doesn’t work.
Actually, it looks like the EasyAudioEncoder was re-downloaded after all. It must have took a little bit because it wasn’t there a few minutes after rebooting yesterday.
So it looks like im now back to my original problem after doing the manual update, im getting the error below:
Message
[Req#2b1bb/Transcode/58f60534-fc5c-44e6-93cf-7f9e49840163/9eb89c8f-5f28-4493-9384-f5c3db26b0da] [eac3_eae @ 0x7f00c3bdeb80] EAE timeout! EAE not running, or wrong folder? Could not read '/tmp/pms-068bc58b-70eb-4a5e-b2a9-8fe9788b22e9/EasyAudioEncoder/Convert to WAV (to 8ch or less)/58f60534-fc5c-44e6-93cf-7f9e49840163_29894-0-612.wav'```
[Req#2b1df/Transcode/057aac52-c6d4-4a41-9451-1b905540c418/f67c3782-dd2f-4d15-872d-09c119d9781d] Error while decoding stream #0:1: No space left on device
The 2nd error references no space left on device but there should be plenty. I did notice in HTOP that my cpu (for the vm) is at 100% and there’s 3 processes that say Transcoder and look like they are stuck possibly because nothing is currently being play on my server.
Here are the /tmp & /EasyAudioEncoder folders, maybe this will tell you what is not obvious to me?
dietpi@DietPi:/tmp$ ls -l
total 104
-rw-r--r-- 1 plex dietpi 105965 May 17 07:59 43d67b0ac2bed4de021646eb3ead2028.jpg
drwxr-xr-x 3 plex dietpi 60 May 16 21:05 pms-068bc58b-70eb-4a5e-b2a9-8fe9788b22e9
drwx------ 3 root root 60 May 16 07:52 systemd-private-f81324c4c3cb4a81a8b92778c39cb7f3-haveged.service-ytCg65
prw-rw-rw- 1 root root 0 May 16 07:52 vhclient
drwxrwxrwx 2 root root 60 May 16 07:52 vhclient_ipc
prw-rw-rw- 1 root root 0 May 16 07:52 vhclient_response
drwxr-xr-x 3 www-data www-data 60 May 16 07:52 www-data-temp-aspnet-0
dietpi@DietPi:/tmp/pms-068bc58b-70eb-4a5e-b2a9-8fe9788b22e9/EasyAudioEncoder$ ls -l
total 0
drwxr-xr-x 2 plex dietpi 40 May 16 21:05 'Convert to Dolby Digital (High Quality - 640 kbps)'
drwxr-xr-x 2 plex dietpi 40 May 16 21:05 'Convert to Dolby Digital (Low Quality - 384 kbps)'
drwxr-xr-x 2 plex dietpi 40 May 16 21:05 'Convert to Dolby Digital Plus (High Quality - 384 kbps)'
drwxr-xr-x 2 plex dietpi 40 May 16 21:05 'Convert to Dolby Digital Plus (Max Quality - 1024 kbps)'
drwxr-xr-x 2 plex dietpi 40 May 16 21:05 'Convert to WAV (to 2ch or less)'
drwxr-xr-x 2 plex dietpi 160 May 17 09:10 'Convert to WAV (to 8ch or less)'
how much phys memory does your system has? Because all this will go into ram.
free -m
However, it will be cleaned after a reboot. Means you would need to be checked during the error occurs, to see how memory consumption will be. If I recall correctly, we had once a case where Plex did quite strange things storing a hell of data inside /tmp.
The memory errors are gone now, i think those were only present because of the 3 stuck transcoder processes that were running. The culprit seems to be this one as its re-occuring:
[Req#7dc/Transcode/D916C67A-55BF-485A-82C2-833C10BFFA8B/ddf3dbd4-fafe-444a-9ec9-c6ed15eb2a88] Error while decoding stream #0:1: I/O error
[Req#1290/Transcode/0279AA3D-545C-4AB4-84C6-E36BB74648A6/37eb975a-a5d3-456f-abd6-ba8af913093d] [eac3_eae @ 0x7f6515c99240] EAE timeout! EAE not running, or wrong folder? Could not read ‘/tmp/pms-180fd30b-71c4-4bbf-96e9-00a2bb15e98b/EasyAudioEncoder/Convert to WAV (to 8ch or less)/0279AA3D-545C-4AB4-84C6-E36BB74648A6_1493-0-12.wav’
I found this reddit post and the person seems to have the exact same problem and it looks like deleting the codecs folder seemed to have done the trick for them.
Might be permissions to your movies and tmp folder…see if you can add plex user to the group where you save your movies
My plex resides on my UnRAID box, sometimes I have to run the permissions fix to my file structure to ensure the docker containers can access those directories…so I am unsure exactly what the problem is directly in the DietPi build
I ended up saving my plex data folder and then copying it to a new VM with a fresh copy of dietPi and I was still having the same transcoding problem as before. I then tried changing the folder owner to the /tmp folder where the transcoding files lives to the plex user and still no joy. Finally I just tried the plex reinstall command thinking all of my settings would be wiped but it wasnt and now everything is working!
In the future to do the update without breaking anything, should I just do the reinstall command again?