Skip to content

Instantly share code, notes, and snippets.

@buzzkillb
Created December 23, 2024 03:10
Show Gist options
  • Save buzzkillb/d882fe090cfe9f7a45858f07a6bdd1e4 to your computer and use it in GitHub Desktop.
Save buzzkillb/d882fe090cfe9f7a45858f07a6bdd1e4 to your computer and use it in GitHub Desktop.

Reset plextraktsync token in UnRaid docker container

https://github.com/Taxel/PlexTraktSync#unraid-setup

I had my IP address of UnRaid server change as I setup a new router, and messed up the original token ip address of my plex server, breaking plextraktsync plex token. Probably an issue for those not using static IP on their UnRaid server. This may or may not work, worth a try if it stops working. =p

go to your plextraktsync container data path in Terminal, ssh, putty, etc.
cd /mnt/user/appdata/plextraktsync

move original token json file for backup, before starting the plextraktsync container
mv .pytrakt.json .pytrakt.JSON

Start docker container in UnRaid. docker tab PlexTraktSync -> Start -> click on icon and go to >_ Console, inside console run
plextraktsync plex-login

Enter username/email, password, MFA, select server and select user like initial setup

Run plextraktsync to setup trakt Client ID & Client Secret and follow directions to reconnecting trakt to plextraktsync
plextraktsync

Stop docker container and rerun your script under Plugins -> User Scripts -> plextraktsync -> RUN SCRIPT

This may or may not work, otherwise start over

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment