Plex Media Server (Latest) fails on Centos 7

if all you really did was move the metadata then you have a permissions problem from / down to where it now resides.

Show me your /etc/systemd/system/plexmediaserver.service.d/override.conf file.

It’s probably a syntax error in how you specified the new location

I guess, I will have to blow everytthing away and start over. That still doesn’t make sense. It has the same permissions it had when I first set it up over a year ago and had been functioning since then until 4 days ago.

Read my last reply please before blowing it away.

You made a change. Please show it to me. Sometimes we’re too close to something to see the obvious.

What’s the current contents of the service file you’re using (/etc) and what’s its path ?

/etc/systemd/system/multi-user.target.wants/plexmediaserver.service

and I do not have an /etc/systemd/system/plexmediaserver.d/ … let alone an override.conf

that’s the startup flag. Systemd uses that symlink to tell it to start Plex. it serves no other purpose.

Ok… here’s what we do:

  1. Create a real override file
  2. Tell Systemd to use it
  3. Start Plex.

What is the current real path to your metadata? (I don’t want to make any mistakes)

\home\plex\Library

Ok… New to Linux? (You use \ and not / :slight_smile: )

Here is the command and text sequence to create the overrride.

# Make sure PMS is stopped
sudo systemctl stop plexmediaserver

# now we will tell it the Library has been relocated.   Do extra work here if you need to
sudo systemctl edit plexmediaserver
sudo chown plex:plex /home/plex
sudo chmod 755 /home/plex

# With all work done, tell systemctl PMS has been moved.
sudo systemctl daemon-reload

Now, the important contents to enter when Editing the override

[Service]
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/home/plex/Library/Application Support"

With everything done, Start PMS
sudo systemctl start plexmediserver

It worked for a minute then in seemed to stop.

grab the full tarball of the logs please and post them .

I want to see what happened

plex-media-server-logs.tar.gz (902.7 KB)

I just looked myself, looks to be a corrupt dB … so I restored another one … checking status in a bit.

Looks to be working now after restoring the database.

1 Like

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