If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Emergency Patch for: 'This Server is Unclaimed' (networking race condition)

ChuckPAChuckPA Posts: 22,245Members, Plex Pass, Plex Ninja, Plex Team Member Plex Team Member
edited May 1 in Linux

systemd based systems, Centos 7, Redhat 22+ and Ubuntu 16+ , which boot very quickly (usually SSD-based) and where PMS is set to automatically start can experience a race condition which makes PMS report itself as Unclaimed. This occurs because the system has started PMS before all network components (the network stack and all adapters) are fully initialized and ready.

Below shows how to patch this issue until the permanent change can make its way through QA and into distribution

Edit: /lib/systemd/system/plexmediaserver.service

Change: Line 3.

From:

After=network.target

To be:

After=network.target network-online.target

To make immediately effective

sudo systemctl daemon-reload
sudo systemctl restart plexmediaserver

Alternatively, the computer can be restarted.

Please DISABLE Verbose logging until requested

Please search before posting

Primary support: Linux, Synology, and QNAP

Please remember to report back. This benefits others.

Useful links

 Installation and Basic Setup |  Media Preparation (How to name your media files)  |  Linux Permissions 

 Handling TV Specials | Handling Movie extras  |  Nas Compatibility

 Reporting Plex Server issues | Plex Media Server FAQ | Linux Tips

 

Other useful guides: Local Subtitles | The Plex "dance" | Synology FAQ | PMS Release Announcements

Hosts: Fedora, QNAP, Synology, most Linux distros in VM

No technical support via PM unless offered

Please remember to mark the appropriate answer(s) which solved your issue.

 

Comments

This discussion has been closed.