How to add PMS back after reinstall

After running PMS 1.18.6.2368 for weeks on a Raspberry Pi (running Raspbian/buster) I ran out of space due to the metadata directory fulling up. I followed the instructions in the post Moving PMS ‘Library’(Moving PMS 'Library') after which I was not able to access my media anymore. So I uninstalled the plexmediaserver package cleaning up the metadata directory deciding to start over.

I re-installed the package successfully and was expecting to go to http://MY.LOCAL.IP:32400/web and run through the wizard again. After being prompted to enter my Plex credentials I am never prompted to add or configure the newly installed server. I tried to invoke the wizard manually by browsing to http://MY.LOCAL.IP:32400/manage/index.html#!/setup but I just get " You don’t have any media servers yet."

$ sudo systemctl status plexmediaserver
Warning: The unit file, source configuration file or drop-ins of plexmediaserver.service changed on disk. Run 'systemctl daemon-reload' to re
* plexmediaserver.service - Plex Media Server
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/plexmediaserver.service.d
           `-override.conf
   Active: active (running) since Wed 2020-02-12 13:47:11 MST; 23min ago
  Process: 539 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_
 Main PID: 607 (Plex Media Serv)
    Tasks: 60 (limit: 4915)
   Memory: 123.9M
   CGroup: /system.slice/plexmediaserver.service
           |- 607 /usr/lib/plexmediaserver/Plex Media Server
           |- 676 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-97add474d/Framework.bundle/Contents/Resources
           |- 994 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resou
           `-1023 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-ins-97add474d/Framework.bundle/Contents/Reso

Feb 12 13:47:10 msweb systemd[1]: Starting Plex Media Server...
Feb 12 13:47:11 msweb systemd[1]: Started Plex Media Server.

Thank you in advance for the assistance.

given this is a reload, have you reset the UID/GID of the APP_SUPPORT_DIR to match the owning UID/GID Plex runs as?

Can you confirm the log files are indeed updating? If so, can you make a ZIP of the Logs directory?

As secondary information, your override file name, although it can be anything, will be better if override.conf is used. The installation scripts are sensitive to that name.

Curious to know what you noticed in my post as the file name is override.conf

$ ls -l /etc/systemd/system/plexmediaserver.service.d/
total 4
-rw-r--r-- 1 root root 391 Feb 12 13:36 override.conf

There is the “Warning” about running systemctl daemon-reload I have run that several times but it always seems to be there. Any ideas on getting that to go away?

Thank you again for helping me out. I do believe I figured this out. My workstation (on subnet 192.168.1.0) that I was trying to connect to and configure the PMS is on a different subnet than the PMS (on 192.168.5.0) . The two subnets are on ports off the same router. Once I connected a laptop to the same subnet (192.168.5.0) I was able to claim the new server and configure it just by browsing to http://MY.LOCAL.IP:32400/web. I moved the laptop back to 192.168.1.0 subnet and am able to configure, add libraries, and watch my media now!

Do you know where I can find more information on what Plex is doing to discover the PMS? What protocol is being used to do the discovery from a web page? I’d love to read more about what is going on behind the scenes.

Thank you for your willingness to help me and the help you have provided the forum in general.

Maybe it’s a forum error and, if so, I apologize. Normally we see the perfect 90 degree angle character

I see it as this on Ubuntu & Redhat:

[chuck@lizum plexmediaserver.526]$ systemctl status plex
● plexmediaserver.service - Plex Media Server
   Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/plexmediaserver.service.d
           └─override.conf
   Active: active (running) since Thu 2020-02-13 00:35:13 EST; 4s ago
  Process: 19067 ExecStartPre=/bin/sh -c /usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT
 Main PID: 19069 (Plex Media Serv)
    Tasks: 61 (limit: 4915)
   CGroup: /system.slice/plexmediaserver.service
           ├─19069 /usr/lib/plexmediaserver/Plex Media Server
           ├─19090 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-9
           ├─19129 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/
           └─19161 Plex Plug-in [com.plexapp.agents.imdb] /usr/lib/plexmediaserver/Resources/Plug-

Feb 13 00:35:13 lizum systemd[1]: Starting Plex Media Server...
Feb 13 00:35:13 lizum systemd[1]: Started Plex Media Server.

Regarding resolving what’s happening and getting the server operational again.

  1. Sign into app.plex.tv/desktop - This is the Plex-hosted browser
  2. You can now go to "Settings - Authorized Devices - Servers (dropdown)
  3. Remove your server.
  4. Don’t worry. As soon as it registers in your account again, it will come back.
  5. Now we re-authenticate with the server itself.

I assume it’s running on your computer itself.

The easiest way to get back going again.

  1. Sign the browser back out of your account (upper right)
  2. Close the browser
  3. Re-open
  4. Open an incognito window
  5. In that incognito, open http://127.0.0.1/web
  6. It will most likely behave with a fresh reauthentication and setup wizard.
  7. If the setup wizard begins, Go through the steps again EXCEPT do not create library sections. Your existing libraries still exist.
  8. Continue through to the end and arrive at the dashboard.
  9. Survey the system and verify you got everything pulled back as you want it.

Edit: Ignore my last. I didn’t see your reply before I posted.

now that things are working, Please restate what you would like to know.

I’ll wait for your next post

I’m all good and happy again, with a better understanding of what has to happen. If you happen to have any information on how the setup wizard discovery process works I’d appreciate you forwarding it to me. Other than that I’m am good to go.

Thanks again for all your assistance.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.