Yagami Posted July 7, 2022 Share Posted July 7, 2022 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. Quote Link to comment
Ashepp Posted September 1, 2022 Share Posted September 1, 2022 Did you ever figure this out? I have the same issue. Quote Link to comment
Yagami Posted September 2, 2022 Author Share Posted September 2, 2022 Unfortunately not, i never got help, nor found something online.... Quote Link to comment
steve1977 Posted November 27, 2022 Share Posted November 27, 2022 Any update whether this docker container is working again? Quote Link to comment
Yagami Posted November 28, 2022 Author Share Posted November 28, 2022 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. Quote Link to comment
steve1977 Posted November 29, 2022 Share Posted November 29, 2022 It seems to be working for others then? Let me file a bug report. Maybe you can add to it to get developer attention? Quote Link to comment
Yagami Posted January 22, 2023 Author Share Posted January 22, 2023 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. Quote Link to comment
steve1977 Posted January 24, 2023 Share Posted January 24, 2023 I filed a bug report on github: https://github.com/Taxel/PlexTraktSync/issues/1394 Quote Link to comment
Rex099 Posted January 24, 2023 Share Posted January 24, 2023 (edited) 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 January 24, 2023 by Rex099 Quote Link to comment
Poprin Posted January 31, 2023 Share Posted January 31, 2023 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! Quote Link to comment
rexkwondo Posted September 6, 2023 Share Posted September 6, 2023 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. Quote Link to comment
steve1977 Posted September 9, 2023 Share Posted September 9, 2023 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? Quote Link to comment
Poprin Posted October 20, 2023 Share Posted October 20, 2023 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. Quote Link to comment
Recommended Posts
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.