On my Unraid box, I run the official docker container. HW acceleration works. But when I restarted the pms-docker, it upgraded to 1.15.0.647, but it can’t launch any more with continuous errors:
Starting Plex Media Server.
/usr/lib/plexmediaserver/Plex Media Server: error while loading shared libraries: libva.so.2: cannot open shared object file: No such file or directory
I do see the library in the same place where the Plex Media Server loads the other libs from:
root@unraid:/usr/lib/plexmediaserver# ls /usr/lib/plexmediaserver/lib/libva.so.2
/usr/lib/plexmediaserver/lib/libva.so.2
root@unraid:/usr/lib/plexmediaserver# ldd Plex\ Media\ Server
[…snipped…]
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x0000152bcf505000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x0000152bcf2ef000)
libva.so.2 => not found
libva.so.2 => not found
libva-drm.so.2 => not found
libva.so.2 => not found
Thanks for the response! I should’ve figured this out on my own. I guess I got confused why it could load the .so’s from the same directory but not the libva.
I’m using the official docker image. pms-docker. I usually do a restart when I see an upgrade is available, which is what I did this time. And experience an issue.
I did not skip an update. I update religiously.
I also did a docker pull pms-docker – but no difference.
go into container: docker exec -it plex bash
go to folder: cd /etc/services.d/plex
run this: cp run run.backup (just to be safe )
echo #!/usr/bin/with-contenv bash > run
echo >> run
echo echo “Starting Plex Media Server.” >> run
echo home="$(echo ~plex)" >> run
echo export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR:-${home}/Library/Application Support}" >> run
echo export PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver >> run
echo export PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 >> run
echo export PLEX_MEDIA_SERVER_INFO_DEVICE=docker >> run
echo >> run
echo if [ ! -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” ]; then >> run
echo " /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}”" >> run
echo " chown plex:plex “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}”" >> run
echo fi >> run
echo >> run
echo exec s6-setuidgid plex /bin/sh -c ‘LD_LIBRARY_PATH=/usr/lib/plexmediaserver/lib /usr/lib/plexmediaserver/Plex\ Media\ Server’ >> run