I copied-pasted the command as above and it says “sudo: la: command not found”
ugh. i am tired.
sudo ls -la "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server"
copy & paste that please
don’t worry chuck. after this godforsaken year, we all are.
here’s what I got from the above command!
total 72
drwxrwxrwx. 1 kidk kidk 4096 Dec 12 11:08 .
drwxrwxrwx. 1 kidk kidk 0 Nov 15 2019 …
drwxrwxrwx. 1 kidk kidk 4096 Dec 12 11:07 Cache
drwxrwxrwx. 1 kidk kidk 4096 Feb 11 2020 Codecs
drwxrwxrwx. 1 kidk kidk 0 Nov 15 2019 Crash Reports
drwxrwxrwx. 1 kidk kidk 0 Nov 21 2019 Diagnostics
drwxrwxrwx. 1 kidk kidk 49152 Dec 12 11:07 Logs
drwxrwxrwx. 1 kidk kidk 0 Nov 15 2019 Media
drwxrwxrwx. 1 kidk kidk 4096 Jan 4 2020 Metadata
drwxrwxrwx. 1 kidk kidk 0 Jan 15 2020 Plug-ins
drwxrwxrwx. 1 kidk kidk 4096 Nov 15 2019 Plug-in Support
-rwxrwxrwx. 1 kidk kidk 749 Dec 12 11:07 Preferences.xml
do you see the problem?
The directory is owned by kidk and not plex .
Is there any customization file in
ls -la /etc/systemd/system/plexmediaserver.service.d
If so, may I see it?
cat /etc/systemd/system/plexmediaserver.service.d/*.conf
as for “tired”… I’ve been putting in 80+ hour weeks for the Synology DSM 7 (OS upgrade) packaging work. It bring “tired” to a whole new level.
in that case sir your work is more than appreciated. 
I ran those commands above and it says that “No file or directory” exists (/etc/systemd/system/ exists, not plexmediaserver.service.d)
one final check please.
Is there ls -la /etc/systemd/system/plexmediaserver.service ?
That file should only exist on old ubuntu systems.
It says “no such file or directory” after running that
It’s been run on CentOS 7 the entire time
cool. i know what to do.
- At some point, the system ran under username
kidk:kidk - The customization was lost. (possibly because of the wrong file in the OS being modified)
- We have two choices:
Choice A: Run as user plex
Choice B: Run as user kidk
Which would you like?
definitely user plex
sudo chown -R plex:plex /var/lib/plexmediaserver
Let it run … It may take a bit
systemctl reset-failed
systemctl restart plexmediaserver
now I’m wondering if it should be set to user kidk. because of the following:
I ran the “sudo chown -R…” command above and it completed it almost instantly.
I ran the bottom 2 systemctl commands and it responded with the usual error message.
When i tried to go back to doing the
sudo ls -la “var/lib/plexmediaserver/Library/Application Support/ Plex Media Server”, it said that no such file or directory existed, although I was able to access that file extension just fine in my File Explorer program
check your PM (upper right)
all full path names begin with / … e.g. /var/lib/plexmediaserver
hey so to those who read this forum post, Chuck and I did eventually get into a solution last night. TL;DR: This case was one of “it depends”.
The basic gist is that I am running my CentOS on a refurbished Windows 7 box with a Third-Party NTFS-formatted hard drive on it. What happened was that months ago a friend of mine noted that a lot of my metadata space was going to the internal C:// of my space, so we make a link for the metadata to point towards the 400 or so GB Hard Drive. Problem is that the drive was formatted for Windows and I was running a Linux system.
What Chuck did for me was (if I am reading this correctly) write a custom “override.conf” file for me so that I could hop around my metadata from one environment to another with no hiccups. He told that, in essence, I did not have a “system.d” file on hand, so he created one for me.
Thanks for your help Chuck! Keep rocking in the free world, and doot doodle loot do-- doot do!
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.