# Debian 10 Config location?

**URL:** <https://forums.plex.tv/t/debian-10-config-location/766320>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [December 25, 2021, 9:28am UTC](https://forums.plex.tv/t/debian-10-config-location/766320 "2021-12-25T09:28:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmnchild](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@Dmnchild](https://forums.plex.tv/u/Dmnchild)\
**Post date:** [December 25, 2021, 9:28am UTC](https://forums.plex.tv/t/debian-10-config-location/766320/1 "2021-12-25T09:28:01Z")

</div>

For changing user that plex runs as, everything points to “nano /etc/default/plexmediaserver” but this isnt on my debian 10 install. Seems I cant edit the sysctl config alone, as it wont start. Any intel on location would be great!

---

<div class="post-metadata">

**Author:** ![pshanew](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pshanew/32/160555_2.png) [@pshanew](https://forums.plex.tv/u/pshanew)\
**Post date:** [December 25, 2021, 4:05pm UTC](https://forums.plex.tv/t/debian-10-config-location/766320/2 "2021-12-25T16:05:42Z")

</div>

The service override file should be created in:  
`/etc/systemd/system/plexmediaserver.server.d/`  
And it should be named `override.conf`. There’s more information (and a specific example for changing users) in this post:

> [@Linux Tips](https://forums.plex.tv/t/linux-tips/276247/3):
>
> Customizing your Plex configuration on systemd based systems This information is intended for those systems where cat /proc/1/comm returns systemd. On systems which use Systemd (Ubuntu 16+, Fedora, Centos 7, Debian 8,) you create this customization file which SystemD reads prior to launching PMS. This file is independent of the default configuration and service control mechanisms in /lib/systemd/system/plexmediaserver.service. Your customization override is preserved across updates, uninstal…

I’d recommend reading through the other steps, but using step E as the means for creating and editing the override.conf file:  
`sudo systemctl edit plexmediaserver` (make sure to stop the service first).

---

<div class="post-metadata">

**Author:** ![Dmnchild](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@Dmnchild](https://forums.plex.tv/u/Dmnchild)\
**Post date:** [December 25, 2021, 6:22pm UTC](https://forums.plex.tv/t/debian-10-config-location/766320/3 "2021-12-25T18:22:39Z")

</div>

I did that but then plex doesn’t launch at all, I thought I would have to alter the other file but guess something else is going on then. Nothing gets logged when I tried so I’ll dig around.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [December 25, 2021, 8:45pm UTC](https://forums.plex.tv/t/debian-10-config-location/766320/4 "2021-12-25T20:45:52Z")

</div>

If you’re changing the UID/GID which Plex runs as, don’t forget to change the ownership of all the files and directories to that new UID/GID to match BEFORE launching.

---

<div class="post-metadata">

**Author:** ![Dmnchild](https://avatars.discourse-cdn.com/v4/letter/d/bbce88/32.png) [@Dmnchild](https://forums.plex.tv/u/Dmnchild)\
**Post date:** [December 26, 2021, 4:17am UTC](https://forums.plex.tv/t/debian-10-config-location/766320/5 "2021-12-26T04:17:05Z")

</div>

This was it, i totally forgot the /var/lib… man, n00bsauce moves. ;p

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [December 26, 2021, 5:44am UTC](https://forums.plex.tv/t/debian-10-config-location/766320/6 "2021-12-26T05:44:38Z")

</div>

Is this where I 🙄 or 🤣

LOL

🙂

Glad you got it 👍

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [March 26, 2022, 5:45am UTC](https://forums.plex.tv/t/debian-10-config-location/766320/7 "2022-03-26T05:45:07Z")

</div>

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