I installed Tautulli on my Raspberry Pi3 alongside PMS. When I launched Tautulli and tried to verify the server as part of the setup, it came back with Cannot verify server even though the IP address of the Pi was pre-populated in the Tautulli web interface. I then notice that Plex itself had stopped accepting connections through apps on our tablets and through the web interface. I tried plex.tv as well, but it can no longer see my PMS. I read that to uninstall Tautulli I simply needed to remove the folder as I hadn’t set it up as a service to start automatically. I have done this and rebooted the Pi several times and run updates to try and repair the problem via ssh from another Linux PC. I can login as pi and navigate the folders of Raspian fine from ssh and restart the plexmediaserver service but still cannot connect to port 32400 on the server’s IP address anymore.
I have an older Pi spare so will try and install Tautulli on this instead but I suspect some permissions have been overwritten on Plex during Tautulli install. Can you please advise what the standard permissions should be and/or suggest what else you think may be wrong?
I don’t recall setting this up myself. I used the plexpi image from Category5 as it was based on Raspian Stretch and my previous Pi was based on Jessie. It has been running fine for many months. I haven’t done much to modify it other than running the Netflix2Plex comparison tool a few weeks ago and some modest overclocking settings more than 2 months ago.
Thanks for replying. I have been there but didn’t find anything relevant to resolve the ‘Unable to verify server’ error I got in Tautulli. Once I discovered Plex itself was not working I abandoned trying to get it to work and deleted the directory as this seems to be the way to uninstall. I am trying to get Plex connections working as the web interface on port 32400 and Android apps which all fail to connect. I suspect the install changed permissions which in hindsight was probably the problem with Tautulli as well when it was trying to verify.
How can I check? netstat -tapln doesn’t show 80 or 443 so I’m assuming it isn’t. Does it need to be? It was working fine until Tautulli was installed along with the pre-reqs.
When I reinstall I get the following:
Warning: plexmediaserver.service e changed on disk. Run ‘systemctl daemon-reload’ to reload units.
pi@plexpi:~ $ systemctl daemon-reload
==== AUTHENTICATING FOR org.freedesktop.systemd1.reload-daemon ===
Authentication is required to reload the systemd state.
Multiple identities can be used for authentication:
, (pi)
root
Choose identity to authenticate as (1-2): 1
Password:
==== AUTHENTICATION COMPLETE ===
pi@plexpi:~ $ sudo apt-get install --reinstall plexmediaserver-installer
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 5 not upgraded.
Need to get 0 B/7,658 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database … 119673 files and directories currently installed.)
Preparing to unpack …/plexmediaserver-installer_1.13.5.5291-6fa5e50a8-1_armhf.deb …
Synchronizing state of plexmediaserver.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable plexmediaserver
Plex Media Server is not running (no process found)…
Unpacking plexmediaserver-installer (1.13.5.5291-6fa5e50a8-1) over (1.13.5.5291-6fa5e50a8-1) …
Setting up plexmediaserver-installer (1.13.5.5291-6fa5e50a8-1) …
Adding user plex to group video
Downloading readynas package …
######################################################################## 100.0%
Passed checksum test.
Extracting readynas.deb …
Synchronizing state of plexmediaserver.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable plexmediaserver
Processing triggers for systemd (232-25+deb9u4) …
pi@plexpi:~ $
plexmediaserver.service - Plex Media Server for Linux
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 Sun 2018-08-19 06:48:40 NZST; 4min 27s ago
Main PID: 20656 (sh)
CGroup: /system.slice/plexmediaserver.service
├─20656 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver “/usr/lib/plexmediaserver/Plex Media Server”
└─20657 /usr/lib/plexmediaserver/Plex Media Server
Aug 19 06:48:40 plexpi systemd[1]: Starting Plex Media Server for Linux…
Aug 19 06:48:40 plexpi systemd[1]: Started Plex Media Server for Linux.
Aug 19 06:49:08 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000
– Logs begin at Fri 2016-11-04 06:16:43 NZDT, end at Sun 2018-08-19 06:49:27 NZST. –
Aug 18 12:25:26 plexpi systemd[1]: Starting Plex Media Server for Linux…
Aug 18 12:25:26 plexpi systemd[1]: Started Plex Media Server for Linux.
Aug 19 06:40:26 plexpi systemd[1]: Stopping Plex Media Server for Linux…
Aug 19 06:40:26 plexpi systemd[1]: Stopped Plex Media Server for Linux.
Aug 19 06:40:27 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:40:27 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:41:50 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:41:50 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:41:50 plexpi systemd[1]: Starting Plex Media Server for Linux…
Aug 19 06:41:51 plexpi systemd[1]: Started Plex Media Server for Linux.
Aug 19 06:42:25 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:46:35 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:47:18 plexpi systemd[1]: Stopping Plex Media Server for Linux…
Aug 19 06:47:18 plexpi systemd[1]: Stopped Plex Media Server for Linux.
Aug 19 06:47:18 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:47:18 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:48:39 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:48:39 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000 #
Aug 19 06:48:40 plexpi systemd[1]: Starting Plex Media Server for Linux…
Aug 19 06:48:40 plexpi systemd[1]: Started Plex Media Server for Linux.
Aug 19 06:49:08 plexpi systemd[1]: [/etc/systemd/system/plexmediaserver.service.d/override.conf:8] Failed to parse mode value, ignoring: 1000
No errors
pi@plexpi:/ $ sudo ufw status
sudo: ufw: command not found
None of the logs have been written to for 6 days despite troubleshooting
-rw-r–r-- 1 pi pi 1.3K Mar 28 16:11 Plex DLNA Server.2.log
-rw-r–r-- 1 pi pi 1.1K Mar 3 13:50 Plex DLNA Server.3.log
-rw-r–r-- 1 pi pi 1.1K Mar 3 13:49 Plex DLNA Server.4.log
-rw-r–r-- 1 pi pi 1.9K Mar 3 13:43 Plex DLNA Server.5.log
-rw-r–r-- 1 pi pi 2.2K Apr 30 13:31 Plex DLNA Server.log
-rw-r–r-- 1 pi pi 0 Apr 30 13:24 Plex DLNA Server Neptune.log
-rw-r–r-- 1 pi pi 0 Mar 28 16:14 Plex DLNA Server Neptune.old.log
-rw-r–r-- 1 pi pi 32K Aug 13 02:03 Plex Media Scanner.1.log
-rw-r–r-- 1 pi pi 32K Aug 13 01:58 Plex Media Scanner.2.log
-rw-r–r-- 1 pi pi 32K Aug 13 01:43 Plex Media Scanner.3.log
-rw-r–r-- 1 pi pi 32K Aug 13 01:03 Plex Media Scanner.4.log
-rw-r–r-- 1 pi pi 32K Aug 13 00:03 Plex Media Scanner.5.log
-rw-r–r-- 1 pi pi 43K Aug 12 02:19 Plex Media Scanner Analysis.1.log
-rw-r–r-- 1 pi pi 43K Aug 11 02:14 Plex Media Scanner Analysis.2.log
-rw-r–r-- 1 pi pi 43K Aug 10 02:21 Plex Media Scanner Analysis.3.log
-rw-r–r-- 1 pi pi 43K Aug 9 02:17 Plex Media Scanner Analysis.4.log
-rw-r–r-- 1 pi pi 96K Aug 8 21:05 Plex Media Scanner Analysis.5.log
-rw-r–r-- 1 pi pi 30K Aug 12 23:36 Plex Media Scanner Analysis.log
-rw-r–r-- 1 pi pi 296K Aug 12 02:19 Plex Media Scanner Chapter Thumbnails.1.log
-rw-r–r-- 1 pi pi 25K Aug 11 02:14 Plex Media Scanner Chapter Thumbnails.2.log
-rw-r–r-- 1 pi pi 296K Aug 11 02:10 Plex Media Scanner Chapter Thumbnails.3.log
-rw-r–r-- 1 pi pi 25K Aug 10 02:17 Plex Media Scanner Chapter Thumbnails.4.log
-rw-r–r-- 1 pi pi 296K Aug 10 02:17 Plex Media Scanner Chapter Thumbnails.5.log
-rw-r–r-- 1 pi pi 25K Aug 12 02:19 Plex Media Scanner Chapter Thumbnails.log
-rw-r–r-- 1 pi pi 2.0K Aug 11 02:09 Plex Media Scanner Deep Analysis.1.log
-rw-r–r-- 1 pi pi 2.0K Aug 10 02:17 Plex Media Scanner Deep Analysis.2.log
-rw-r–r-- 1 pi pi 2.0K Aug 9 02:19 Plex Media Scanner Deep Analysis.3.log
-rw-r–r-- 1 pi pi 3.4M Aug 9 02:19 Plex Media Scanner Deep Analysis.4.log
-rw-r–r-- 1 pi pi 5.1M Aug 9 02:18 Plex Media Scanner Deep Analysis.5.log
-rw-r–r-- 1 pi pi 2.0K Aug 12 02:19 Plex Media Scanner Deep Analysis.log
-rw-r–r-- 1 pi pi 32K Aug 13 02:08 Plex Media Scanner.log
-rw-r–r-- 1 pi pi 5.1M Aug 12 19:59 Plex Media Server.1.log
-rw-r–r-- 1 pi pi 5.1M Aug 11 02:34 Plex Media Server.2.log
-rw-r–r-- 1 pi pi 5.1M Aug 9 20:14 Plex Media Server.3.log
-rw-r–r-- 1 pi pi 5.1M Aug 8 21:45 Plex Media Server.4.log
-rw-r–r-- 1 pi pi 5.1M Aug 7 21:18 Plex Media Server.5.log
-rw-r–r-- 1 pi pi 4.2M Aug 13 05:51 Plex Media Server.log
-rwxr-xr-x 1 pi pi 2.4K Aug 12 21:24 Plex Transcoder Statistics.1.log
-rwxr-xr-x 1 pi pi 4.7K Aug 12 21:24 Plex Transcoder Statistics.2.log
-rwxr-xr-x 1 pi pi 3.3K Aug 12 21:24 Plex Transcoder Statistics.3.log
-rwxr-xr-x 1 pi pi 8.5K Aug 12 19:56 Plex Transcoder Statistics.4.log
-rwxr-xr-x 1 pi pi 7.3K Aug 12 19:55 Plex Transcoder Statistics.5.log
-rwxr-xr-x 1 pi pi 4.2K Aug 13 05:51 Plex Transcoder Statistics.log
-rw-r–r-- 1 pi pi 2.2K Aug 2 18:35 Plex Tuner Service.1.log
-rw-r–r-- 1 pi pi 273K Aug 2 18:34 Plex Tuner Service.2.log
-rw-r–r-- 1 pi pi 100K Jul 10 19:35 Plex Tuner Service.3.log
-rw-r–r-- 1 pi pi 273K Jul 2 21:04 Plex Tuner Service.4.log
-rw-r–r-- 1 pi pi 14K Jul 1 19:17 Plex Tuner Service.5.log
-rw-r–r-- 1 pi pi 27K Aug 13 05:51 Plex Tuner Service.log
drwxr-xr-x 2 pi pi 4.0K Aug 12 23:37 PMS Plugin Logs
pi@plexpi:~/Library/Application Support/Plex Media Server/Logs $
Sure. You have a faulty systemd drop-in manually configured for Plex. That’s where all your issues originate from. Please fix your drop-in, e.g. edit it with sudo systemctl edit plexmediaserver
I can only assume that the drop-in was added during the installation of Tautulli as I don’t even know what this does.
I edited the file you described and the only thing I found odd was that the last line with the rem “# this must be 4 digits” was on the same line as the UMask=1000 so I moved it to a new line. I no longer get the Failed to parse message when checking status but I still can’t connect after a reboot. I have to admit this is beyond my understanding of Plex.
Could I just remove this from the config altogether and if so how do I do that?
Phil
PlexPi Configuration Overrides
This file gets placed in /etc/systemd/system/plexmediaserver.service.d
pi@plexpi:~ $ systemctl status plexmediaserver.service
● plexmediaserver.service - Plex Media Server for Linux
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 Mon 2018-08-20 20:02:58 NZST; 2min 45s ago
Main PID: 437 (sh)
CGroup: /system.slice/plexmediaserver.service
├─437 /bin/sh -c LD_LIBRARY_PATH=/usr/lib/plexmediaserver "/usr/lib/plexmediaserver/Plex Media Server
└─440 /usr/lib/plexmediaserver/Plex Media Server
Aug 20 20:02:58 plexpi systemd[1]: Starting Plex Media Server for Linux…
Aug 20 20:02:58 plexpi systemd[1]: Started Plex Media Server for Linux.
This drop-in is not related to Tautulli. You must have set it up when you followed some tutorial. It’s only created manually. You can remove the UMask line completely. You do not need to override the default setting.
Essentially, you have told PMS to run as user and group pi and to store all meta data in /home/pi/Library/Application Support.
So please take a look at the logs in /home/pi/Library/Application Support/Plex Media Server/Logs/Plex Media Server.log.
I followed some pre-reqs for installing Tautiulli but I don’t recall this being part of it. I suspect it was part of the image from Category 5 I used to install Plex after my previous SD card died.Plex Media Server.log (4.2 MB)
I had a look in the log file which stopped being written to on 13th. To my untrained eye it looks like I rebooted the server during the optimisation of some movies, presumably as part of installing Tautulli and it hasn’t worked since. I hope you can make more sense of it than me.
Hi can you provide any further help? I progressively remmed out the lines in the drop-in file, rebooting each time. I can continue to ssh to the server but all attempts to connect via port 32400 are still refused. I think the drop-in was added as part of the image developed by Category 5 that I used, but that’s only a guess as I haven’t fiddled with it much.