HI All,
I promise I have done some research on this. Every time my Plex server running on Raspberry PI restarts I have to Claim it again.
I have manually set DNS servers to 8.8.8.8, 8.8.4.4
I have signed completely out and reset the password and signed back in.
I have reset folder ownership to plex:plex as advised
Checked DNS resolution on the Pi, the DNS for plex.tv comes back as : ping plex.tv PING plex.tv (108.128.10.254) 56(84) bytes of data.
Any other ideas? my Linux skills are I guess a little above nil but not by much lol.
The Pi also hosts a couple of websites, Runs a minecraft server though turned off while I get this going, Handles my Torrenting.
Any help apprciated.
Sample of the error, there are more of very similar ones in the logs.
Feb 01, 2021 21:46:50.973 [0xb0afd430] ERROR - Error issuing curl_easy_perform(handle): 6
Feb 01, 2021 21:46:50.973 [0xb0afd430] WARN - HTTP error requesting GET https://plex.tv/media/providers?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx (6, Couldn’t resolve host name) (Could not resolve host: plex.tv)
Feb 01, 2021 21:46:50.973 [0xb0afd430] ERROR - Error parsing content.
Server Version#: Version 1.21.2.3943
Player Version#: N/a
Not a Raspi dude, so not much help here, except that the reason it fails seems to be due to the fact, that the PMS is active before the wireless is ready, and have received an IP address
From your log:
Feb 01, 2021 21:46:57.133 [0xb6f809f0] DEBUG - Detected primary interface: 0.0.0.0
Feb 01, 2021 21:46:57.133 [0xb6f809f0] DEBUG - Network interfaces:
Feb 01, 2021 21:46:57.133 [0xb6f809f0] DEBUG - * 1 lo (127.0.0.1) (loopback: 1)
Feb 01, 2021 21:46:57.133 [0xb6f809f0] DEBUG - * 1 lo (::1) (loopback: 1)
Feb 01, 2021 21:46:57.133 [0xb6f809f0] DEBUG - * 3 wlan0 (fe80::ec3a:8eec:10a9:bc95%wlan0) (loopback: 0)
Later on, when wireless is up running, I see Curl error 6, meaning it can’t resolve, so either no DNS/Default Gateway is picked up.
Try and restart the PMS on the Raspi and see if it then resolves after the wireless is up running.
And nope, if above works, no idea as to make it a sticky one
Restarted the PMS and it worked perfectly. I will work out a way to delay the PMS on start up or just use crontab to restart it a few minutes after the Nightly reboots.