Skip to content

Deploy to plex #6395

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: dev
Choose a base branch
from
Open

Conversation

fergbrain
Copy link

Deploy script for use with a local Plex Media Server. Could help resolve Issue #3474.

Note: Originally submitted under #3909, but I think I accidentally closed that one and didn't realize it.

@fergbrain fergbrain mentioned this pull request Jun 10, 2025
@fergbrain
Copy link
Author

#3909 (comment)

it would be good if you could customize the restart command using a variable, e.g. to “docker restart ”.

I updated the patch. I host Plex through Synology now, so I can't test it myself. @strausmann you able to confirm it work as expected?

@strausmann
Copy link

@fergbrain looks good for me.

 export PLEX_RELOAD="docker restart seedbox-plexserver"
 export PLEX_PKCS12_file=/docker/plexserver/ssl/plex.domain.de.pfx
 export PLEX_PKCS12_password=Plex#Passw0rd

image

#_DEPLOY_PLEX_WIKI="https://github.com/acmesh-official/acme.sh/wiki/deploy-to-plex"

_plex_to_pkcs() {
# The existing _toPkcs command doesn't have an option to specify cipher, so copied here
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't copy.
modify the _toPkcs function to use a cipher

@@ -0,0 +1,108 @@
#!/usr/bin/bash
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shebang


# Settings for Plex Media Server:
#
# PLEX_PKCS12_password -- Password for the PKCS file. Required by plex
Copy link

@paulschreiber paulschreiber Jul 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plex 1.41.5 (on Synology DSM 7.2.2) accepts empty/blank passwords.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants