Server Version#: 1.41.3.9314
Player Version#:
Every time I reboot, the server becomes unclaimed and I need to claim it
I’ve tried uninstalling and reinstalling but it makes no difference.
Server Version#: 1.41.3.9314
Player Version#:
Every time I reboot, the server becomes unclaimed and I need to claim it
I’ve tried uninstalling and reinstalling but it makes no difference.
Usually caused by something breaking ownership/permissions of /var/lib/plexmediaserver.
sudo chown -R plex:plex /var/lib/plexmediaserver
sudo find /var/lib/plexmediaserver -type d -exec chmod 755 {} \;
sudo find /var/lib/plexmediaserver -type f -exec chmod 644 {} \;
Now restart and reclaim
I don’t have a var/lib/plexmediaserver folder or a plex user or group. The closest I could find is /var/snap/plexmediaserver which is owned by root. I tried the chmod commands on that but it didn’t make any difference.
I didn’t know you were using snap.
The base path for PMS with snap is:
/var/snap/plexmediaserver/common/Library/Application Support/Plex Media Server
Go into Cache.
Delete ‘cert-v2.dat’
If you don’t have one then I will need to see your logs because there is a different problem at play here
Many thanks. I found a cert-v2.p12 which I deleted. It recreated it when I claimed the server but I had to do it again when I restarted. I’ve attached the logs.
I found it.
Jan 02, 2025 08:20:28.993 [129178613590840] DEBUG - [JobRunner] Jobs: Starting child process with pid 1756
Jan 02, 2025 08:20:29.020 [129178743614264] DEBUG - Jobs: '/snap/plexmediaserver/464/CrashUploader' exit code for process 1756 is 0 (success)
Jan 02, 2025 08:20:29.842 [129178663922488] DEBUG - NetworkInterface: received Netlink message len=64, type=RTM_NEWLINK, flags=0x0
Jan 02, 2025 08:20:29.842 [129178663922488] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x1003, change=0x0
Jan 02, 2025 08:20:29.842 [129178663922488] DEBUG - Network change.
Jan 02, 2025 08:20:29.842 [129178663922488] DEBUG - NetworkInterface: Notified of network changed (force=0)
Jan 02, 2025 08:20:29.842 [129178663922488] DEBUG - Network change notification but nothing changed.
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - NetworkInterface: received Netlink message len=1476, type=RTM_NEWLINK, flags=0x0
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x11003, change=0x0
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - Network change.
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - NetworkInterface: Notified of network changed (force=0)
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - Network change notification but nothing changed.
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - NetworkInterface: received Netlink message len=200, type=RTM_NEWLINK, flags=0x0
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x11003, change=0x0
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - Network change.
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - NetworkInterface: Notified of network changed (force=0)
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - Network change notification but nothing changed.
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - NetworkInterface: received Netlink message len=184, type=RTM_NEWLINK, flags=0x0
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x11003, change=0x0
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - Network change.
Jan 02, 2025 08:20:30.212 [129178663922488] DEBUG - NetworkInterface: Notified of network changed (force=0)
Jan 02, 2025 08:20:30.213 [129178663922488] DEBUG - Network change notification but nothing changed.
Jan 02, 2025 08:20:30.213 [129178663922488] DEBUG - NetworkInterface: received Netlink message len=72, type=RTM_NEWLINK, flags=0x0
Jan 02, 2025 08:20:30.213 [129178663922488] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x11003, change=0x0
Jan 02, 2025 08:20:30.213 [129178663922488] DEBUG - Network change.
Jan 02, 2025 08:20:30.213 [129178663922488] DEBUG - NetworkInterface: Notified of network changed (force=0)
Jan 02, 2025 08:20:30.213 [129178663922488] DEBUG - Network change notification but nothing changed.
Jan 02, 2025 08:20:30.246 [129178663922488] DEBUG - NetworkInterface: received Netlink message len=1476, type=RTM_NEWLINK, flags=0x0
Jan 02, 2025 08:20:30.246 [129178663922488] DEBUG - NetworkInterface: Netlink information message family=0, type=1, index=3, flags=0x11043, change=0x0
Jan 02, 2025 08:20:30.246 [129178663922488] DEBUG - Network change.
Jan 02, 2025 08:20:30.246 [129178663922488] DEBUG - NetworkInterface: Notified of network changed (force=0)
Jan 02, 2025 08:20:30.246 [129178663922488] DEBUG - Network change notification but nothing changed.
Jan 02, 2025 08:20:31.214 [129178739419960] DEBUG - NAT: UPnP, didn't find usable IGD.
Jan 02, 2025 08:20:31.214 [129178739419960] DEBUG - NAT: PMP, attempting mapping.
Jan 02, 2025 08:20:31.214 [129178739419960] ERROR - NAT: PMP, map, couldn't initialize: -3:Unable to get Gateway
Jan 02, 2025 08:20:31.214 [129178739419960] DEBUG - NAT: UPnP, attempting port mapping.
Jan 02, 2025 08:20:32.267 [129178718448440] WARN - [HttpClient/HCl#1] 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)
Jan 02, 2025 08:20:32.267 [129178722642744] ERROR - [MediaProviderManager] Error parsing content.
Jan 02, 2025 08:20:32.273 [129178722642744] ERROR - [MediaProviderManager] Error parsing XML: Error parsing file.
Jan 02, 2025 08:20:32.273 [129178722642744] DEBUG - [MediaProviderManager/HCl#a] HTTP requesting GET https://plex.tv/media/providers?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Jan 02, 2025 08:20:32.279 [129178718448440] WARN - [HttpClient/HCl#2] HTTP error requesting GET https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx (6, Couldn't resolve host name) (Could not resolve host: plex.tv)
Jan 02, 2025 08:20:32.279 [129178630368056] DEBUG - MyPlex: using cached data for request for https://plex.tv/api/v2/server/access_tokens?auth_token=xxxxxxxxxxxxxxxxxxxx
Jan 02, 2025 08:20:32.279 [129178710059832] DEBUG - MyPlex: updating with 8 access tokens
Jan 02, 2025 08:20:32.279 [129178710059832] DEBUG - [HCl#b] HTTP requesting GET https://plex.tv/api/v2/server/users?auth_token=xxxxxxxxxxxxxxxxxxxx
Jan 02, 2025 08:20:33.212 [129178659728184] DEBUG - [NSB] NetworkServiceBrowser: SERVER arrived: 127.0.0.1 (BerwynPlex)
Jan 02, 2025 08:20:33.212 [129178659728184] DEBUG - [NSB] Notifying the system bundle an update to server /system/notify/serverUpdated?host=127.0.0.1
.
.
.
Jan 02, 2025 08:20:34.569 [129178731031352] DEBUG - Completed: [127.0.0.1:51548] 200 PUT /myplex/refreshReachability (7 live) #4d GZIP 0ms 323 bytes (pipelined: 7)
Jan 02, 2025 08:20:34.791 [129178663922488] DEBUG - NetworkInterface: received Netlink message len=88, type=RTM_DELADDR, flags=0x0
Jan 02, 2025 08:20:34.791 [129178663922488] DEBUG - NetworkInterface: Netlink address message family=2, index=3, flags=0x0
Jan 02, 2025 08:20:34.791 [129178663922488] DEBUG - Network change.
Jan 02, 2025 08:20:34.791 [129178663922488] DEBUG - NetworkInterface: Notified of network changed (force=0)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - Detected primary interface: 192.168.1.95
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - Network interfaces:
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - * 1 lo (127.0.0.1) (00-00-00-00-00-00) (loopback: 1)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - * 3 wlp6s0 (192.168.1.95) (BC-C7-46-A3-46-DA) (loopback: 0)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - * 1 lo (::1) (00-00-00-00-00-00) (loopback: 1)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Got notification of changed network (first change: 0)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Dispatch network change after two second delay.
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Got notification of changed network (first change: 0)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Dispatch network change after two second delay.
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Got notification of changed network (first change: 0)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Dispatch network change after two second delay.
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Got notification of changed network (first change: 0)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Dispatch network change after two second delay.
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Got notification of changed network (first change: 0)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Dispatch network change after two second delay.
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Got notification of changed network (first change: 0)
Jan 02, 2025 08:20:34.793 [129178663922488] DEBUG - NetworkService: Dispatch network change after two second delay.
Jan 02, 2025 08:20:35.372 [129178663922488] DEBUG - Network: 192-168-1-95.abcdefghijklmnopqrstuvwxyz012345.plex.direct failed to resolve to 192.168.1.95 but instead yielded (null)
Your best choice here is to completely remove the SNAP package (–purge) and install the native package (dpkg -i packagename.deb)
By doing this, PMS will start as the system starts
You should really consider a wired connection. WiFi is not conducive to running a server. At best, you will get 1/2 the bandwidth due to how WiFi works.
Many thanks for tracking that down, it now works with the native package. I wouldn’t expect that difference between snap and a native package. I’ll see if I can make a wired connection.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.