There is no "plexmediaserver" text file in /etc/default location after install? [RasPi 4]

I am following the script kitty instructions from electromaker for my Raspberry Pi 4.

It’s when I install the plexmediaserver and then proceed to edit the text via this path: /etc/default/plexmediaserver that I find there is no text document there, it’s literally blank.

Was there a new version that hid this file somewhere else, or is the installation corrupted, because I can’t find the text doc to edit the user from “Plex” to “Pi” as per the majority of online tutorials.

I even went as far as to search for the term “plexmediaserver” and get the following results:

sudo grep -r "plexmediaserver"
.cache/menus/3d5ec69d3d984f5df1f165835f6d03ea:-plexmediaserver.desktop
.cache/menus/3d5ec69d3d984f5df1f165835f6d03ea:plexmediaserver
.bash_history:echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
.bash_history:sudo apt-get install plexmediaserver

Any information on this is greatly appreciated.

That part of the instructions is describing how to change the user under which Plex Media Server runs to pi, and is not correct. To override defaults on a systemd-based system (which Raspbian is), you’ll need to follow the instructions in this how-to:

Create the plexmediaserver.service.d directory and override.conf file as described and then use the “User” and “Group” variables to change the user and group, respectively.

Note that it’s not entirely necessary to change the Plex user, but it may ease some permissions issues if your media directories are only readable/executable by pi and no others, and you don’t know how to fix permissions.

[Edited for clarity, “to change the Plex user” instead of “to do this.”]

If I may augment?

  1. On any systemd system, the override file is required
  2. Changing ownership of Plex’s metadata directories and files is required if the ownership changes.

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