PMS version installed: 1.24.4.5081
OS: Ubuntu 20.04
I ran into an issue with the server the required a fresh install of the OS, after it was up, I installed plex and disabled UFW until I could confirm all was working. I’m able to hit the page and login, but it wont allow me to claim it and before removing the device from my server list, it said it couldn’t connect. I’m at a serious loss here and I’m fairly new to linux, but I got this working before and yet this time I just can’t seem to figure out whats wrong. So far, the local I’m not seeing anything obvious in the Logs under /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs. Any suggestions here would be great as to next steps.
The server is at a data center hosted by a friend. It was running fine before, but unfortunately somehow the server was exploited by a miner bot, and since it had root access, I opted to just re-install the OS. I went through some guides, hardened security (mainly locking down ssh, install UFW, which I disabled here) and fail2ban. I did not change the default user for plex, so its still using that. I also noticed sudo netstat -tupn doesn’t show anything with plex regarding 32400, that a problem?
Running telnet locally against port 32400 works perfectly fine. Hitting the server remotely, I’m able to login, but not claim it and before I removed my server from my list, it was complaining it couldn’t communicate with it. This seems odd since I’m able to auth and hit the server. I’m really at a loss here. Another java web application I use is working perfectly fine, so I’m really not sure what could be wrong and logs are not telling me anything.
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs$ tail -f Plex\ Tuner\ Service.log
Oct 11, 2021 05:41:48.679 [0x7f36112c8848] INFO - [I] dvb_device_factory_t::get_aux_list
Oct 11, 2021 05:41:48.679 [0x7f36112c8848] INFO - [I] tvbutler_aux_t::init
Oct 11, 2021 05:41:48.680 [0x7f36112c8848] INFO - [I] web_server_t::start. Starting web server on port 32600
Oct 11, 2021 05:41:57.255 [0x7f360f0aab38] INFO - [I] web_service_t::process_device_discovery
Oct 11, 2021 05:41:57.255 [0x7f360f0aab38] INFO - [I] device_reactor_t::get_device_list ()
Oct 11, 2021 05:41:59.259 [0x7f360f0aab38] INFO - [I] SAT2IP - discover_satip_servers(): no servers found
Oct 11, 2021 05:41:59.679 [0x7f360f0aab38] INFO - [I] v4l::DeviceGetList_impl. getting v4l device list
Oct 11, 2021 05:41:59.681 [0x7f360f0aab38] INFO - [I] onetv_factory::DeviceGetListEx >>
Oct 11, 2021 05:41:59.681 [0x7f360f0aab38] INFO - [I] onetv_factory::DeviceGetListEx. Found device 1575:1
Oct 11, 2021 05:41:59.681 [0x7f360f0aab38] INFO - [I] onetv_factory::DeviceGetListEx. Found device 7531:1
Plex Media Server.log
> /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs$ tail -f Plex\ Media\ Server.log
> Oct 11, 2021 05:43:48.644 [0x7fa5a310db38] DEBUG - Request: [127.0.0.1:35658 (Loopback)] GET /servers (2 live) GZIP Token ()
> Oct 11, 2021 05:43:48.645 [0x7fa5a3888b38] DEBUG - Completed: [127.0.0.1:35658] 200 GET /servers (2 live) GZIP 0ms 487 bytes
> Oct 11, 2021 05:43:48.647 [0x7fa5a310db38] DEBUG - Request: [127.0.0.1:35660 (Loopback)] GET /library/sections (2 live) GZIP Token ()
> Oct 11, 2021 05:43:48.647 [0x7fa5a38abb38] DEBUG - Completed: [127.0.0.1:35660] 200 GET /library/sections (2 live) GZIP 0ms 475 bytes
> Oct 11, 2021 05:43:48.648 [0x7fa5a310db38] DEBUG - Request: [127.0.0.1:35662 (Loopback)] GET /channels/all (2 live) GZIP Token ()
> Oct 11, 2021 05:43:48.649 [0x7fa5a3888b38] DEBUG - Completed: [127.0.0.1:35662] 200 GET /channels/all (2 live) GZIP 0ms 387 bytes
> Oct 11, 2021 05:43:48.651 [0x7fa5a310db38] DEBUG - Request: [127.0.0.1:35664 (Loopback)] GET /library/sections (2 live) GZIP Token ()
> Oct 11, 2021 05:43:48.651 [0x7fa5a3888b38] DEBUG - Completed: [127.0.0.1:35664] 200 GET /library/sections (2 live) GZIP 0ms 475 bytes
> Oct 11, 2021 05:43:48.653 [0x7fa5a310db38] DEBUG - Request: [127.0.0.1:35666 (Loopback)] GET /channels/all (2 live) GZIP Token ()
> Oct 11, 2021 05:43:48.653 [0x7fa5a3888b38] DEBUG - Completed: [127.0.0.1:35666] 200 GET /channels/all (2 live) GZIP 0ms 387 bytes
Any suggestions or feedback on next steps would be appreciated. I’m basically just winging it at this point.
No luck, and I’m not sure where else to look at this point. Another web application functions completely fine, issue is specific to Plex. No errors in any logs I’m seeing except the plex debug log through client side browser suggesting issues with loopback. But telnet ran locally as mentioned earlier, showed no issues connecting. I’ve received assistance from the datacenter as well, but they’re not familiar with Plex. I’ve heard that perhaps configuration could have somehow be retained, maybe from the cloud? Out of ideas here.
I’ve not tried doing a completely fresh installation of Ubuntu 20 on the server, after installing the OS, I immediately installed plex without any other changes. Same issue, I can hit the server login page, it auths, but doesn’t allow me to claim. Keep in mind this was working originally before having to re-install Ubuntu, so I know it worked.
Tried using the claim server script I found in another post. It seemed to successfully claim, but issue persists, no access to server logs through plex UI or anything.
I’m able to download the deb locally using wget, without issue. I’m able to obviously auth locally against plex given the script works. Completely lost here, thus far all I can think of is an issue exists with plex.
I just changed the IP of my server, and suddenly its working with no other changes. How would I go about making it work with the old IP as I had a previous install on there? I’ve previously tried wiping the preferences.xml and doing a fresh install including OS re-install.
I just stopped the plex service; please remove the older instances.
ipv4 and ipv6 have been setup on the server, though I’m not sure how it has ipv6 only, is it a configurable option on the plex ui? This is a fresh install os and plex so I’ve not made any changes yet.
I left the new public IP in place and disabled IPv6 in PMS. Everything appears to be working.
I could not access any of the old servers tied to my account. Even before today’s latest attempts, I’ve gone into “Authorized devices” and wiped it clean, didn’t resolve the issue. The only thing that helped was changing the public IP of the server. Which is not typically feasible, we just happened to have an extra available still. If this was to happen again, would I just need to rename the server differently or contact the forums to get someone to remove it for me?