jaymoulin/plex
Plex Media Server Docker container (Multiarch/RaspberryPi)
5M+
This image allows you to configure a Plex Media Server easily thanks to Docker.
First, you have to mount your USB drive.
sudo mount /dev/sda1 /mnt/usbdrive
This will start Plex using your mounted drive
docker run -d --restart=always --name plex -v /mnt/usbdrive:/media --net=host jaymoulin/plex
Go to http://your_machine_ip:32400/manage to configure it
You can change the Plex Library directory by plugin your local folder to /root/Library
folder
Example :
docker run -d --restart=always --name plex -v /mnt/usbdrive:/media --net=host -v /mnt/usbdrive:/root/Library jaymoulin/plex
If you don't have Docker installed yet, you can do it easily in one line using this command
curl -sSL "https://gist.githubusercontent.com/jaymoulin/e749a189511cd965f45919f2f99e45f3/raw/0e650b38fde684c4ac534b254099d6d5543375f1/ARM%2520(Raspberry%2520PI)%2520Docker%2520Install" | sudo sh && sudo usermod -aG docker $USER
As-of 1.1.0 (Plex 1.40.0) This image brings ChuckPa/PlexDBRepair tool to help fixing errors on Plex databases. If some error occurs and database is corrupted, you would be able to check/repair using this tool.
To use it, the plex service should be STOPPED. Then you can use the command DBRepair
in the docker container with your Library volume mounted.
Docker CLI example
docker run --rm -v /mnt/usbdrive:/media -v /mnt/usbdrive:/root/Library jaymoulin/plex DBRepair
Docker Compose Example
docker compose stop plex
docker compose run plex DBRepair
After trying "Fix association", if you still can't find the correct movie, you can seek for the correct movie on tmdb.org and enter its ID preceded by tmdb-
in the title field.
For example, my movie Selfie
was not correctly associated. Found it on https://www.themoviedb.org/movie/613319-selfie
so I seeked for tmdb-613319
to fix it.
libstdc++.so.6: cannot open shared object file
You will probably notice that kind of error log:
/usr/lib/plexmediaserver/Plex Tuner Service: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/lib/plexmediaserver/Plex Tuner Service: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
/usr/lib/plexmediaserver/Plex Tuner Service: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
This is a known issue for Plex Tune Service ONLY. This service is not required by Plex Media Server to work properly. I have no intention to fix this log. If you REALLY NEED Plex Tuner Service to work, please open an issue, or (better desired option), make a Pull Request to implement this feature.
Unknown file formats / "This server is not powerful enough to convert video"
Plex for Raspberry PI cannot read some video file format like AVI, WMV or OGM, either due to codec or due to RPI lack of power. You can convert them to make them compatible by using my docker image jaymoulin/rpi-plex-video-converter
: https://github.com/jaymoulin/docker-rpi-plex-video-converter
docker pull jaymoulin/plex