[!CAUTION] As-of 2021, this product does not have a free support team anymore. If you want this product to be maintained, please support my work.
[!NOTE] (This product is available under a free and permissive license, but needs financial support to sustain its continued improvements. In addition to maintenance and stability there are many desirable features yet to be added.)
[!TIP] THIS REPOSITORY IS AUTO-UPDATED BY A BOT EACH TIME A NEW PLEX SERVER VERSION IS RELEASED
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
[!TIP] Important Note
Don't forget to mount the Plex Library directory 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
This will start Plex using your mounted drive in /media path in Plex (library volume not mounted will result in a container only library - this will be harder to fix).
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
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
[!TIP] 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 run --rm -v /mnt/usbdrive:/media -v /mnt/usbdrive:/root/Library jaymoulin/plex DBRepair
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.
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.
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