Tried to upgrade from 1.14 something to 1.15.2.793-782228f99 this morning, it broke.
Then uninstalled and tried to sudo dpkg -i and I get: /bin/mkdir: cannot create directory ‘/var/lib/plexmediaserver’: Permission denied
I’m running debian 9.8
Tried to upgrade from 1.14 something to 1.15.2.793-782228f99 this morning, it broke.
Then uninstalled and tried to sudo dpkg -i and I get: /bin/mkdir: cannot create directory ‘/var/lib/plexmediaserver’: Permission denied
I’m running debian 9.8
I’ll copy/paste when I get back to my system.
I don’t have a plexmediaserver folder to show in /var/lib. I wiped it when the upgrade failed.
Is it possible that somewhere in the install the action of creating the directory in /var/lib is trying to be done under the Plex user and not as root then chown to Plex?
In the installer (%postinst and *.postinstall), I create the user and directory as root (dpkg/rpm)
If this is going to be redone from scratch, get all of it
I’ll try this in 5 hours or so and report back
You might want to join the discussion here.
I got it to install after removing a lot of leftover files.
To get my libraries to scan I changed the permissions from 750 to 775 on all of my drives that hold media.
This isn’t my ideal solution, especially since I lost all of my library information: shows I’ve watched, playlists, etc…
The default permissions for media files I tell folks to use.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.