Giter Club home page Giter Club logo

arch-plexpass's Introduction

Application

Plex Pass

Description

The Plex Media Server enriches your life by organizing all your personal media, presenting it beautifully and streaming it to all of your devices. It's easy to use, it's awesome, and it's free!

Build notes

Latest stable Plex Media Server (Plex Pass) release from Arch Linux AUR.

Usage

docker run -d \
    --net="host" \
    --name=<container name> \
    -v <path for media files>:/media \
    -v <path for config files>:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e UMASK=<umask for created files> \
    -e PUID=<uid for user> \
    -e PGID=<gid for user> \
    binhex/arch-plexpass

Please replace all user variables in the above command defined by <> with the correct values.

Access application

http://<host ip>:32400/web

Example

docker run -d \
    --net="host" \
    --name=plex \
    -v /media/movies:/media \
    -v /apps/docker/plex:/config \
    -v /etc/localtime:/etc/localtime:ro \
    -e UMASK=000 \
    -e PUID=0 \
    -e PGID=0 \
    binhex/arch-plexpass

Notes

User ID (PUID) and Group ID (PGID) can be found by issuing the following command for the user you want to run the container as:-

id <username>

You cannot specify the port the docker container uses, it requires full access to the hosts nic and thus the -p flag is not used.


If you appreciate my work, then please consider buying me a beer :D

PayPal donation

Documentation | Support forum

arch-plexpass's People

Contributors

amerzel avatar binhex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

arch-plexpass's Issues

ffmpeg version error?

In 1.25.0.5246 ad 1.25.0.5220 when I try to transcode some content I see the following in the logs, and the transcoding fails.

I've fallen back to 1.24.5.5173 and it seems to work fine.

Is there an issue with the ffmpeg version included in the last 2 images?

Nov 21, 2021 14:26:03.673 [0x1503cc564b38] WARN - [Transcode] [FFMPEG] - Huge resolution
Nov 21, 2021 14:26:03.673 [0x1503cc564b38] WARN - [Transcode] [FFMPEG] - is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
Nov 21, 2021 14:26:03.673 [0x1503cc564b38] WARN - [Transcode] [FFMPEG] - If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. ([email protected])

Error while opening: libpython2.7.so.1.0

Not sure if this is the docker container or the PMS update. But i cannot get into my server settings after the update last night and the log is filled with this info complaining about a missing "libpython2.7.so.1.0"



Created by...
___. .__ .__
\_ |__ |__| ____ | |__ ____ ___ ___
| __ \| |/ \| | \_/ __ \\ \/ /
| \_\ \ | | \ Y \ ___/ > <
|___ /__|___| /___| /\___ >__/\_ \
\/ \/ \/ \/ \/
https://hub.docker.com/u/binhex/

2019-08-27 17:49:47.307420 [info] System information Linux Tower 4.19.56-Unraid #1 SMP Tue Jun 25 10:19:34 PDT 2019 x86_64 GNU/Linux
2019-08-27 17:49:47.343786 [info] PUID defined as '99'
2019-08-27 17:49:47.579502 [info] PGID defined as '100'
2019-08-27 17:49:47.926420 [info] UMASK defined as '000'
2019-08-27 17:49:47.990746 [info] Permissions already set for volume mappings
2019-08-27 17:49:48.056003 [info] TRANS_DIR defined as '/config/transcode'
2019-08-27 17:49:48.263410 [info] Starting Supervisor...
2019-08-27 17:49:48,758 INFO Included extra file "/etc/supervisor/conf.d/plexmediaserver.conf" during parsing
2019-08-27 17:49:48,759 INFO Set uid to user 0 succeeded
2019-08-27 17:49:48,765 INFO supervisord started with pid 6
2019-08-27 17:49:49,768 INFO spawned: 'plexmediaserver' with pid 53
2019-08-27 17:49:49,769 INFO reaped unknown pid 7
2019-08-27 17:49:50,233 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,241 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,247 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.fanarttv]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,251 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.htbackdrops]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,254 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.lastfm]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,257 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,261 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.localmedia]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,264 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.lyricfind]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,267 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.movieposterdb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,271 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,274 DEBG 'plexmediaserver' stderr output:
/usr/lib/plexmediaserver/Plex Tuner Service: error while loading shared libraries: libhdhomerun.so: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,274 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.opensubtitles]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,278 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.none]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,282 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.imdb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,285 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,288 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.plexmusic]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,292 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.plexthememusic]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,295 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.themoviedb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,298 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,302 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.thetvdb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,306 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,312 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,318 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,324 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,329 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,334 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,340 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,346 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,352 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,376 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.agents.imdb]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,380 DEBG 'plexmediaserver' stderr output:
/usr/lib/plexmediaserver/Plex Tuner Service: error while loading shared libraries: libhdhomerun.so: cannot open shared object file: No such file or directory


2019-08-27 17:49:50,485 DEBG 'plexmediaserver' stderr output:
/usr/lib/plexmediaserver/Plex Tuner Service: error while loading shared libraries: libhdhomerun.so: cannot open shared object file: No such file or directory


2019-08-27 17:49:51,487 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-08-27 17:49:55,253 DEBG 'plexmediaserver' stderr output:
Plex Plug-in [com.plexapp.system]: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory


2019-08-27 17:52:11,120 DEBG 'plexmediaserver' stderr output:
connect: Connection timed out

Scanner is broken with Latest Plex pass updates

After updating to Plexpass versions 15.x the scanner would not function giving errors:

Feb 10, 2019 02:36:25.584 [0x14e598e7c740] DEBUG - Directory had 13 files, database had 0 files, can't skip.
Feb 10, 2019 02:36:25.597 [0x14e598e7c740] ERROR - No module in Absolute Series Scanner
Feb 10, 2019 02:36:25.597 [0x14e598e7c740] ERROR - Error in Python: Looking up module: Traceback (most recent call last): File "/config/Plex Media Server/Scanners/Series/Absolute Series Scanner.py", line 20, in from lxml import etree # fromstring ImportError: libexslt.so.0: cannot open shared object file: No such file or directory

I am running in the binhex/plexpass docker (https://hub.docker.com/r/binhex/arch-plexpass)

Last tested broken build is plex1.15.1.707-1-01. Reverting to 1.14.1.5488-1-01 fixes the scanner issue.
ZeroQI/Absolute-Series-Scanner#204

File permissions issue with EasyAudioEncoder missing execute

I recently had a user report being unable to play media and found that any media encoded with the EAC3 codec could not be played.

After investigating the logs from the plex media server, I found it was doing exactly what this user reported here: https://forums.plex.tv/t/error-transcoder-ac3_eae-0x2fd4f40-eae-timeout-eae-not-running-or-wrong-folder/189917/68

The fix for me was to do a chmod 775 /config/Plex Media Server/Codecs/EasyAudioEncoder-1978-linux-x86_64/EasyAudioEncoder and playback worked again after doing that.

I'm wondering if we might be able to have the file permissions set in the dockerfile used here?

permissions issues unraid

Just started using this, I am noticing issues around make changes in the plex interface for example when adding a music directory, it keeps saying changes couldn't be saved but the plex is creating multiple music libraries.

like so:

then i cant delete the extras ones that have been created either.

I have left everything default for /config setting and added my own media directories in unraid.

i am hoping to move my setup there and this is the last hold up, I know you said deleting perms.txt does help fix this but I can't help but feel like there is a perms issue still here is how perms look on that directory now.

I looked through forums and saw your 2016 post about deleting perms.txt which i did but didn't help issue.

Which results in all kinds of issue when saving settings, it doesn't work the first time but does the second, creating of multiple directories ( I am only able to cause it with music).

i would appreciate the help! If I can get this sorted, would totally love to donate if you have pateron or something.

Premium Music not functioning

I have setup a premium music library (yes, plexpass) in latest version however agent does not link up and return any artist/album info. Album covers and Artist photos come through ok.

latest build crashing

2019-02-11 19:04:26,180 DEBG 'plexmediaserver' stderr output:
Plex Media Server is already running. Will not start...

2019-02-11 19:04:26,180 DEBG fd 8 closed, stopped monitoring <POutputDispatcher at 23017919160120 for <Subprocess at 23017919555056 with name plexmediaserver in state RUNNING> (stdout)>
2019-02-11 19:04:26,181 DEBG fd 10 closed, stopped monitoring <POutputDispatcher at 23017919158320 for <Subprocess at 23017919555056 with name plexmediaserver in state RUNNING> (stderr)>
2019-02-11 19:04:26,181 INFO exited: plexmediaserver (exit status 1; not expected)
2019-02-11 19:04:26,181 DEBG received SIGCLD indicating a child quit
2019-02-11 19:04:27,182 INFO spawned: 'plexmediaserver' with pid 53
2019-02-11 19:04:28,182 INFO success: plexmediaserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2019-02-11 19:05:08,870 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:05:08,897 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:05:08,914 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:05:11,930 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:05:12,747 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:06:27,588 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:06:27,589 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:06:27,591 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:06:27,592 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:06:27,593 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so
getting this within minutes of starting the docker on unraid 6.6.6
Failed to wrapper hybrid_drv_video.so

2019-02-11 19:06:27,594 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

2019-02-11 19:06:28,996 DEBG 'plexmediaserver' stderr output:
failed to open /data/jenkins/conan_build/290789224/conan/.conan/data/libva/2.1.0-33/plex/stable/package/81a2df5e16044d97d1b088b0e6c9598b5b17f233/lib/dri/hybrid_drv_video.so

Failed to wrapper hybrid_drv_video.so

Can't get Hardware Transcoding or Metadata to work

On a Synology 718+ DSM7. Having trouble getting Hardware transcoding to work with --device=/dev/dri:/dev/dri as a run command. I know this works in linuxserver and official containers, but no matter what I do, it never shows up as HW when transcoding in binhex

My other issue is that I can't get metadata to display in any docker plex images available. They all download it, I can see the metadata files on the drive, and as they're coming down in plex, but plex never actually uses it, everything is just blank. It's worth noting this works perfectly in the bare metal version with all the same Filenames, DNS, IPv6 settings etc etc settings. It looks more like a permission thing like it will write but not read it. Seriously strange

Here's my setup:

docker run -d \
--net=host \
--name=plex \
-v /volume1/video:/media \
-v /volume1/docker/plex:/config \
-v /etc/localtime:/etc/localtime:ro \
-e UMASK=022 \
-e PUID=1026 \
-e PGID=100 \
--device=/dev/dri:/dev/dri \
--restart always \
    binhex/arch-plexpass
Any ideas?

DVR preview release

Not really an issue, more of a request. This pulls the PMS from the AUR repo which doesn't have the preview release of Plex that includes DVR functionality. I use your docker container in unraid. Is there a not so difficult way for a user to clone your container and modify it to use the preview release version? Any help you might be able to provide is GREATLY appreciated.

I have an HDHomerun and would love to put it use :)

Switching from Plex to Plexpass

Binhex, I loaded your Plex version a while ago but I have had a Plex Pass of years. I wanted to cut over to Plexpass version. Is there an easy way to go about doing this without having to rebuild the Plex server database?

No Webgui option with unraid 6.7.0-rc1 or rc2

Hey Binhex using unRaid 6.7.0 both rc1 and now rc2 i no longer see a webgui option for plexpass version of your docker...manually entering the url works though so the docker itself is loading up

thought i'd give you a heads up

plexpass and unraid 6.6.0

the latest plexpass docker is pinning CPU's and locking up on unraid 6.6.0 released today wondering if you can take a look

Create arch-ombi?

Hey @binhex, I don't know a better way to make a suggestion... but I noticed you don't have an ombi docker image. It looks like ombi v3 is a re-write and just had a pre-release, might be a good time to create one.

I've got an updated PKGBUILD for the AUR package of it, if that helps. I don't actually know if you use aur packages inside your dockers. :)

Is there a better way to make little suggestions? Do you hang out on any irc or discord?

Could you please give me a detailed spoonfeeding steps?

Sir I am really excited to get this run on my pc. But I am not a developer so could you tell me all the detail steps from zero.
As I know I could do it very quickly and learn a lot from it too!
If you would help me it would be very well appreciated.
Please give me all steps as I am running Windows 10 Plex media server.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.