Server Version#: 1.20.3.3483
Player Version#: 4.34.4
I restarted my linux mint computer and now i can not see any of the media files, movies and videos when i start plex and click the repo. It show none of the videos in my media folders. I can access the folders on my linux mint system but not plex
i unmounted and then remounted the drive my media is stored on. And it is still not showing up in plex. I used to be able to access the content just a couple of days ago. I dont see how permissions could have changed
Please read the How-To.
Pay particular attention to where they are mounted and how they are mounted.
Permissions mean nothing if other conditions are not satisfied
I’m willing to bet you have the media in your home directory or in /media ?
I tried to restart my server after i modified the permissions but that didn’t work. so i tried to reinstall plex server- following the Plex Uninstall using the linux/ubuntu/debian instructions. And then reinstalled it
That procedure only removes the software.
It won’t correct a problem in the Linux filesystem – which is what you appear to have.
please type ls -la /var/lib/plexmediaserver and show me the result.
please confirm whether or not you changed /lib/systemd/system/plexmediaserver.service
Linux doesn’t like directory permissions being changed arbitrarily. Plex is a non-privileged service on Linux and, as such, must have everything properly configured to work (which is what my installation scripts do)
below is screenshot of the result of the ls.
I did not modify the plexmediaserver.service other than reinstall the plex media server. Here is the plexmediaserver.service file in the lib/systemd/system
# DO NOT EDIT THIS FILE DIRECTLY!
#
# Plex Media Server's variables can be customized by creating an 'overide.conf'
# file using 'systemctl edit plexmediaserver' which will create the following;
# /etc/systemd/system/plexmediaserver.service.d/override.conf
#
# An example of the override.conf would be as follows if you wished to edit
# your user, group, temp directory, or app support directory (without the leading #)
#
# [Service]
# Environment="TMPDIR=/path/to/new/tmp"
# Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/myusername/Library/Application Support"
# User=myusername
# Group=mygroup
#
[Unit]
Description=Plex Media Server
After=network.target network-online.target
[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/var/lib/plexmediaserver/Library/Application Support"
Environment=PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver
Environment=PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6
ExecStartPre=/bin/sh -c '/usr/bin/test -d "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}" || /bin/mkdir -p "${PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR}"'
ExecStart=/bin/sh -c '\
export PLEX_MEDIA_SERVER_INFO_VENDOR="$(grep ^NAME= /etc/os-release | awk -F= "{print \\$2}" | tr -d \\" )"; \
export PLEX_MEDIA_SERVER_INFO_DEVICE="PC"; \
export PLEX_MEDIA_SERVER_INFO_MODEL="$(uname -m)"; \
export PLEX_MEDIA_SERVER_INFO_PLATFORM_VERSION="$(grep ^VERSION= /etc/os-release | awk -F= "{print \\$2}" | tr -d \\" )"; \
export LD_LIBRARY_PATH=/usr/lib/plexmediaserver/lib; \
exec "/usr/lib/plexmediaserver/Plex Media Server"'
Type=simple
User=plex
Group=plex
Restart=on-failure
RestartSec=5
StartLimitInterval=60s
StartLimitBurst=3
SyslogIdentifier=Plex Media Server
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
i was able to run the commands to change the ownership and permissions os the plexmediaserver. See screenshot.
I restarted the server but it threw some exception- see attached tar logs
What else is on that host running on / listening to the Plex ports?
Docker? Tautulli ?
Do you have a second instance of PMS ?
Oct 31, 2020 20:06:40.737 [0x7f1e73d01100] DEBUG - HttpServer: Listening on IPv6 as well as IPv4.
Oct 31, 2020 20:06:40.738 [0x7f1e73d01100] ERROR - HttpServer: Error binding acceptor: Address already in use
Oct 31, 2020 20:06:40.738 [0x7f1e73d01100] ERROR - HttpServer: Error opening acceptor on IPv6, falling back to IPv4: Address already in use
Oct 31, 2020 20:06:40.738 [0x7f1e73d01100] ERROR - HttpServer: Error binding acceptor: Address already in use
Oct 31, 2020 20:06:40.738 [0x7f1e73d01100] ERROR - Error: Unable to set up server: listen: Address already in use (N5boost10wrapexceptINS_6system12system_errorEEE)
Look to see if there is a stuck process – reboot if there is.