Skip to content
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

[Defaults]: The Overlays doesnt load, and appear errors in plex, Meta Manager #1632

Closed
Crosus97 opened this issue Sep 30, 2023 · 4 comments
Closed
Assignees

Comments

@Crosus97
Copy link

Link to File

https://gist.github.com/Crosus97/56197db35ae7d1969ac41513f2bd9dda

Version Number

1.19.1

What branch are you on?

master

Describe the Bug

I just installed the Plex Meta Manager, y follow this guide

this create the 250 top imdb, but the overlays no one

Plex Errors:
image

image

image

Im doing anything wrong?

@oilervoss
Copy link

oilervoss commented Sep 30, 2023

It happened to me after I updated plex to beta (or private release, IDK) 1.32.7.7571-13cdc68dc
I reverted plex to 1.32.6.7557-1cf77d501 and I got all PMM overlays back.
I use the tomssl update_plex script

By the way, I run PMM on docker.

tomssl.com update plex script
#!/bin/bash
# tomssl.com/update-plex-server-on-ubuntu-automatically
plex_token=Abkdjf23948329434  #if you pay for plex-pass, you can download new releases some days before public ones
beta_channel=false
dry_run=true
overwrite_file=false
display_help=false
keep_download=false

while getopts 'bhnork-:' opt; do
    case "$opt" in
        b) beta_channel=true ;;
        h) display_help=true ;;
        n) dry_run=true ;;
        o) overwrite_file=true ;;
        r) dry_run=false ;;
        k) keep_download=true ;;
        -) case "${OPTARG}" in
             beta) beta_channel=true ;;
             dry-run) dry_run=true ;;
             help) display_help=true ;;
             overwrite) overwrite_file=true ;;
             run) dry_run=false ;;
             keep) keep_download=true ;;
             *) if [ "$OPTERR" = 1 ] && [ "${opt:0:1}" != ":" ]; then
                        echo "Unknown option --${OPTARG}" >&2
                        exit 1
                fi ;;
           esac ;;
        *) echo "Error: the only valid options are --beta, -b, --dry-run, -n, --run, -r, --help, -h, --overwrite, -o, --keep, -k" >&2
           exit 1
    esac
done

if [[ $display_help == true ]]; then
  echo "usage: $0 -h, --help, -b, --beta, -n, --dry-run, -r, --run, -o, --overwrite, -k, --keep"
  exit 2
fi

[[ $beta_channel == true ]] && echo "- Beta Channel" || echo "- Stable Channel"
[[ $dry_run == true ]] && echo "- Dry Run" || echo "- Run"
[[ $overwrite_file == true ]] && echo "- Overwrite file" || echo "- Do not overwrite file"
[[ $keep_download == true ]] && echo "- Keep downloaded file" || echo "- Remove downloaded file"
echo

detected_arch=`dpkg --print-architecture`
case $detected_arch in
    "arm64"|"amd64"|"i386"|"armhf") echo "Architecture = $detected_arch" ;; # Plex's download page has 4 architectures available
    *) echo -e "\e[31mYour architecture is not supported by Plex! \e[0m" && exit 1 ;; # need to stop the script early if the architecture detection line fails (i.e. a user running PowerPC or any OS other than Debian/Ubuntu)
esac

if [[ $EUID -ne 0 ]]; then
    echo "$0 is not running as root. Try using sudo."
    exit 2
fi

if [ "$beta_channel" == true ]; then
    rawjson=`curl -s "https://plex.tv/api/downloads/5.json?channel=plexpass" -H "X-Plex-Token: $plex_token"`
else
    rawjson=`curl -s "https://plex.tv/api/downloads/5.json"`
fi

url=`echo $rawjson | jq -r -c '.computer.Linux.releases | .[] | select(.url | contains("'$detected_arch'")) | select(.url | contains("debian")) | .url'`
latestversion=`echo $rawjson | jq -r -c '.computer.Linux.version'`
installedversion=`dpkg -s plexmediaserver | grep -i '^Version' | cut -d' ' -f2`
echo "------------------------------------------------------------"
echo "Latest version:    $latestversion"
echo "Installed version: $installedversion"
echo "------------------------------------------------------------"
if [ "$installedversion" == "$latestversion" ]; then
  echo "Already on latest version."
else
  echo "Need to upgrade..."
  echo "Found latest version at $url"
  filename=${url##*/}
  if [ -f "$filename" ] && [ "$overwrite_file" == false ]; then
    echo "File already exists, not going to download it again"
  else
    echo "Downloading $filename..."
    curl -sL -o $filename $url
  fi
  if [ "$dry_run" == false ]; then
    echo "Installing it now..."
    dpkg -i $filename
    echo "$filename installed"
  fi
  if [ "$keep_download" == false ]; then
    rm $filename
  fi
fi
echo "Done"
exit 0

@Crosus97
Copy link
Author

fuck, i have windows version, i will try to find it

@zhyph
Copy link

zhyph commented Dec 5, 2023

fuck, i have windows version, i will try to find it

If you still have the problem, this is how you roll back on Windows: https://forums.plex.tv/t/i-need-to-rollback-from-the-latest-plex-update/233585/2
And I'm not 100% sure, but I think PMM on develop or nightly build now works with LTS version of Plex, gotta test it to be sure.

@chazlarson
Copy link
Contributor

chazlarson commented Dec 5, 2023

I think PMM on develop or nightly build now works with LTS version of Plex

Depends entirely on what you're referring to as "now works", assuming this is in reference to one of the two known issues that showed up in 1.32.7.

image

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

No branches or pull requests

5 participants