Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaymoulin/docker-plex
Plex Media Server - Docker Image (Multiarch + Raspberry Pi) - 5M downloads
https://github.com/jaymoulin/docker-plex
arm armhf armv7 docker docker-image multiarch plex plex-media-server raspberry raspberry-pi raspberrypi video
Last synced: 10 days ago
JSON representation
Plex Media Server - Docker Image (Multiarch + Raspberry Pi) - 5M downloads
- Host: GitHub
- URL: https://github.com/jaymoulin/docker-plex
- Owner: jaymoulin
- License: mit
- Created: 2016-12-20T14:07:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T17:00:09.000Z (12 days ago)
- Last Synced: 2024-10-26T00:30:31.277Z (11 days ago)
- Topics: arm, armhf, armv7, docker, docker-image, multiarch, plex, plex-media-server, raspberry, raspberry-pi, raspberrypi, video
- Language: Dockerfile
- Homepage: https://brands.jaymoulin.me/me/docker-plex
- Size: 210 KB
- Stars: 96
- Watchers: 8
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
> [!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![logo](logo.png)
Plex Media Server - Docker Image (Multiarch + Raspberry Pi)
===[![latest release](https://img.shields.io/github/release/jaymoulin/docker-plex.svg "latest release")](http://github.com/jaymoulin/docker-plex/releases)
[![Docker Pulls](https://img.shields.io/docker/pulls/jaymoulin/plex.svg)](https://hub.docker.com/r/jaymoulin/plex/)
[![Docker stars](https://img.shields.io/docker/stars/jaymoulin/plex.svg)](https://hub.docker.com/r/jaymoulin/plex/)
[![Docker Pulls](https://img.shields.io/docker/pulls/jaymoulin/rpi-plex.svg)](https://hub.docker.com/r/jaymoulin/plex/)
[![Docker stars](https://img.shields.io/docker/stars/jaymoulin/rpi-plex.svg)](https://hub.docker.com/r/jaymoulin/plex/)
[![PayPal donation](https://github.com/jaymoulin/jaymoulin.github.io/raw/master/ppl.png "PayPal donation")](https://www.paypal.me/jaymoulin)
[![Buy me a coffee](https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png "Buy me a coffee")](https://www.buymeacoffee.com/jaymoulin)
[![Buy me a coffee](https://ko-fi.com/img/githubbutton_sm.svg "Buy me a coffee")](https://www.ko-fi.com/jaymoulin)This image allows you to configure a Plex Media Server easily thanks to Docker.
Installation
---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
```Configuration
---Go to http://__your_machine_ip__:32400/manage to configure it
Appendixes
---### Install Docker
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
```### Repairing Database
> [!TIP]
> As-of 1.1.0 (Plex 1.40.0) This image brings [ChuckPa/PlexDBRepair](https://github.com/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
```shell
docker run --rm -v /mnt/usbdrive:/media -v /mnt/usbdrive:/root/Library jaymoulin/plex DBRepair
```#### Docker Compose Example
```shell
docker compose stop plex
docker compose run plex DBRepair
```### Can't match correctly a movie
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.### Known issues
#### 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