Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help me get PlexTraktSync working again

Featured Replies

Hi,

The container just stopped working, i did a re-install in both methods described in Github but nothing.

 

When i start the container and i click on console it gives me the following error : "Error response from daemon: Container 943cde93235b54242f7acccc4276d7dbba31b408da2bcc3439e36d28d9afc048 is not running"

 

These are the logs from the container itslef : nection error: (401) unauthorized; https://192-168-X-XXX.50da8a33f5144102804b184ce28118b2.plex.direct:32400/ <html><head><script>window.location = window.location.href.match(/(^.+\/)[^\/]*$/)[1] + 'web/index.html';</script><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>, local url http://172.18.X.X:32400 didn't respond either. Check PLEX_LOCALURL in .env file.

 

I have tried to put both Plex and this docker in the same customer network on docker, both of them as host, one host and one on the custom network, but in vain.

 

Any help would be appreciated.

  • 1 month later...

Did you ever figure this out? I have the same issue.

  • Author

Unfortunately not, i never got help, nor found something online....

  • 2 months later...

Any update whether this docker container is working again?

  • Author
10 hours ago, steve1977 said:

Any update whether this docker container is working again?

Hey Steve,

 

No one ever answered, i couldn't find info online neither...
The funny thing is : the container still gets updates, but it's not working.

It seems to be working for others then? ;-) Let me file a bug report. Maybe you can add to it to get developer attention?

  • 1 month later...
  • Author
On 9/2/2022 at 3:01 AM, Ashepp said:

Did you ever figure this out? I have the same issue.

 

On 11/29/2022 at 1:57 PM, steve1977 said:

It seems to be working for others then? ;-) Let me file a bug report. Maybe you can add to it to get developer attention?


I did get it to work again, by going to the file config and change the token after re-authenticating plex and linking it to Trakt.
It was pure intuition, but it's bad that the container never tells you what's wrong even in the logs.
One more thing, each time you update the container, you have to redo the login on console, so i would suggest to leave it as is if you manage to make it work.

Honestly I'm not sure but I think I recall having a similar problem when I fist setup my instance.  I never figured out what was causing the problem, but I just stopped the docker, removed my folder appdata/plextraktsync. Restarted the docker, went to the console, entered "python3 -m plextraktsync" and re-setup the credentials and it just worked. Just figure something in the original appdata folder got corrupted somehow but don't know what. 

 

To note, both my plex and plextraktsync are running on host

Edited by Rex099

Thanks @Rex099 your comment here is the only thing that got me on the right path to sorting this after some extensive googling! Essentially deleting the appdata folder got the docker working again. I then spent almost 2 hours getting it to work again because it's been ages since I did it the first time! With the new docker as of today the command to run when the docker is working again is "plextraktsync sync". This will trigger the setup process. Top tip... I was stuck on this for a solid half hour... use your email as the login username for plex. It gives you an undecipherable error if you use your username! Then follow the instructions on the plextraktsync githib page. You will need to setup again from scratch. But finally got this working again! 

  • 7 months later...

I'm getting exactly the "401 unauthorized" error with plextraktsync so I tried the solutions described above, but when I attempt to login it gives me an "API Rate Limit Exceeded" error upon password entry. I'll try again later but it's a shame it's such a frustration getting this to work. Thanks for the posts here, regardless, couldn't find any other useful info on this error.

Since the latest update, the docker is working for me. This is great!
 

I now would like to let it run automatically, but have not yet been successful. I created a userscript with the content below:

 

#!/bin/bash

docker start PlexTraktSync

 

This starts the docker, but it does not run the script (python3 -m plextraktsync). Any idea how to accomplish this?

  • 1 month later...
On 9/9/2023 at 7:43 AM, steve1977 said:

Since the latest update, the docker is working for me. This is great!
 

I now would like to let it run automatically, but have not yet been successful. I created a userscript with the content below:

 

#!/bin/bash

docker start PlexTraktSync

 

This starts the docker, but it does not run the script (python3 -m plextraktsync). Any idea how to accomplish this?

 

This should be correct, this is all my script does and it works. Once PlexTraktSync is configured correctly and has done it's first run every time the docker is triggered it will run a sync and then turn itself off.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.