When I try to claim the pi pms , I get allways the start page (Download pms, etc). I tried claim it via ssh tunel, in the same subnet, with the same result.
Please help.
Snapshot: https://ibb.co/nLOye9
Server Version#: 1.13.8.5388-509720743 on raspbian 9 stretch
Player Version#: Firefox
Logs:
root@raspberrypi:/home/pi # service plexmediaserver status
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-09-22 09:55:47 CEST; 11min ago
Process: 18849 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” (code=exited, status=0/SUCCESS)
Main PID: 18853 (sh)
CGroup: /system.slice/plexmediaserver.service
├─18853 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver “/usr/lib/plexmediaserver/Plex Media Server”
├─18854 /usr/lib/plexmediaserver/Plex Media Server
├─18866 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-509720743/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.13.8.5388-509720743 /usr/lib/plexmediaserver
├─18915 /usr/lib/plexmediaserver/Plex DLNA Server
├─18918 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.13.8.5388-509720743 32600 /waitmutex
├─19342 Plex Plug-in [com.plexapp.agents.localmedia] /usr/lib/plexmediaserver/Resources/Plug-ins-509720743/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.13.8.5388-509720743 /usr/lib/plex
├─19347 Plex Plug-in [com.plexapp.agents.lastfm] /usr/lib/plexmediaserver/Resources/Plug-ins-509720743/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.13.8.5388-509720743 /usr/lib/plexmedi
└─19349 Plex Plug-in [com.plexapp.agents.plexmusic] /usr/lib/plexmediaserver/Resources/Plug-ins-509720743/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py --server-version 1.13.8.5388-509720743 /usr/lib/plexm
The package was not correctly installed. Please reinstall with sudo apt-get install --reinstall plexmediaserver-installer and do not interrupt the installation. It takes time.
And please use systemctlto manage the services. service is not correct anymore. e.g. systemctl status plexmediaserver.
I reinstalled, purged, hand purged… from the https://dev2day.de/pms/ repository and doing a dpkg -i from download repository.
Really I formated and installed to another sd card.
Nothing of this didn’t the trick.
systemctl status plexmediaserver Output:
pi@raspberrypi:~ $ systemctl status plexmediaserver
● plexmediaserver.service - Plex Media Server for Linux
Loaded: loaded (/lib/systemd/system/plexmediaserver.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2018-09-22 09:55:47 CEST; 9h ago
Process: 18849 ExecStartPre=/bin/sh -c /usr/bin/test -d “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” || /bin/mkdir -p “${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}” (code
Main PID: 18853 (sh)
CGroup: /system.slice/plexmediaserver.service
├─18853 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver “/usr/lib/plexmediaserver/Plex Media Server”
├─18854 /usr/lib/plexmediaserver/Plex Media Server
├─18866 Plex Plug-in [com.plexapp.system] /usr/lib/plexmediaserver/Resources/Plug-ins-509720743/Framework.bundle/Contents/Resources/Versions/2/Python/bootstrap.py
├─18915 /usr/lib/plexmediaserver/Plex DLNA Server
└─18918 /usr/lib/plexmediaserver/Plex Tuner Service /usr/lib/plexmediaserver/Resources/Tuner/Private /usr/lib/plexmediaserver/Resources/Tuner/Shared 1.13.8.5388-50
Did you first install a very old version of the plexmediaserver-installer package? All the database migrations are a little strange. Please do the following:
(1) stop pms sudo systemctl stop plexmediaserver
(2) clear PMS data (I assume that is OK, right? sudo rm -r /var/lib/plexmediaserver/Library
(3) sudo systemctl start plexmediaserver
Also please check your IP configuration. Please post sudo ip addr.
Edit: A little bit more context. Every OpenVPN tutorial tells you to setup some iptables rules or edit the ufw configuraiton. I’m 99% sure that something you did during OpenVPN setup causes your current problems. So, please, besides checking ufw, also review any iptables rules you might have added, disable them and reboot your RPi afterwards.
Nope. It’s the local network. For whatever reason, the main PMS service is unable to talk to the plugins via tcp.
Please show me ip route.
Edit: Can you temporarily switch to the 192.168.1.x subnet for your ethernet interface? Sometimes, PMS does not like 10.x.x.x. PMS also considers requests on this IP as WAN connections according to your logs.
ip route
default via 10.123.123.1 dev eth0 src 10.123.123.250 metric 202
10.123.123.0/24 dev eth0 proto kernel scope link src 10.123.123.250 metric 202
Now I’m changing th dhcp options give me a minute.
I just saw that you use fail2ban. Can you please review the fail2ban logs and check for bans for 127.0.0.1 or something like that?
Please temporarily disable all those services that write iptables rules, e.g. sudo systemctl disable fail2ban, restart your RPi and try again.
Other than that, I am out of ideas right now All threads I have found with the same issue were caused by wrong iptables rules. I suppose some software on your system adds iptables rules essentially blocking PMS access to its plugins on 127.0.0.1.