# Deleted plugins directory

**URL:** <https://forums.plex.tv/t/deleted-plugins-directory/186524>\
**Category:** General Discussions\
**Created:** [March 28, 2017, 8:01pm UTC](https://forums.plex.tv/t/deleted-plugins-directory/186524 "2017-03-28T20:01:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![icusu](https://avatars.discourse-cdn.com/v4/letter/i/ee7513/32.png) [@icusu](https://forums.plex.tv/u/icusu)\
**Post date:** [March 28, 2017, 8:01pm UTC](https://forums.plex.tv/t/deleted-plugins-directory/186524/1 "2017-03-28T20:01:42Z")

</div>

Welp, I’m a big dummy. I accidentally deleted my /var/lib/plexmediaserver/…/plugin-support/plugins/  
directory

I attempted to uninstall and reinstall, but no luck repopulating. Will I need to do a purge of the plex packages on ubuntu to get this back?

---

<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:** [March 28, 2017, 8:27pm UTC](https://forums.plex.tv/t/deleted-plugins-directory/186524/2 "2017-03-28T20:27:07Z")

</div>

Please do provide more of a path.

`/var/lib/plexmediaserver` holds your media Library . This is what Plex knows of your media  
`/usr/lib/plexmediaserver` holds the software.

There is no `Plug-in Support/plugins` as you’ve named it.

There is a `Plex Media Server/Plug-ins` directory. This is rebuildable easily. Anything else means we’ll have to rebuild your Library from scratch.

If you remember seeing any files around the directory you accidentally deleted, this will be of great help.

No panic… yet 🙂

---

<div class="post-metadata">

**Author:** ![icusu](https://avatars.discourse-cdn.com/v4/letter/i/ee7513/32.png) [@icusu](https://forums.plex.tv/u/icusu)\
**Post date:** [March 28, 2017, 8:41pm UTC](https://forums.plex.tv/t/deleted-plugins-directory/186524/3 "2017-03-28T20:41:17Z")

</div>

The full path to what I deleted is this:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Plug-ins

My bad.

I know that Services.bundle was in there as well as SouthPark.bundle as I had installed the southpark channel. But I believe that was all that was in it.

A further note, I noticed that deleting this removed all of my agents (tvdb, etc…) as I assume they are located within that services.bundle folder. I suck.

---

<div class="post-metadata">

**Author:** ![icusu](https://avatars.discourse-cdn.com/v4/letter/i/ee7513/32.png) [@icusu](https://forums.plex.tv/u/icusu)\
**Post date:** [March 29, 2017, 2:08pm UTC](https://forums.plex.tv/t/deleted-plugins-directory/186524/4 "2017-03-29T14:08:45Z")

</div>

Just bumping this. I am probably going to just purge plex from my system and rebuild my library from scratch if I can’t figure this out.

---

<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:** [March 29, 2017, 2:24pm UTC](https://forums.plex.tv/t/deleted-plugins-directory/186524/5 "2017-03-29T14:24:01Z")

</div>

No need to bump. It was that annoyance called ‘sleep’ that delayed my reply. I know… SUCH a PITA!!

Under `Plug-in Support` you will find

```auto
[chuck@lizum Plug-in Support.121]$ ll
total 28
drwxr-xr-x 7 plex plex 4096 Mar 18 10:51 ./
drwxr-xr-x 10 plex plex 4096 Mar 29 10:05 ../
drwxr-xr-x 16 plex plex 4096 Mar 18 10:51 Caches/
drwxr-xr-x 16 plex plex 4096 Mar 18 10:51 Data/
drwxr-xr-x 2 plex plex 4096 Mar 29 10:05 Databases/
drwxr-xr-x 9 plex plex 4096 Mar 18 10:50 Metadata Combination/
drwxr-xr-x 2 plex plex 4096 Mar 23 18:49 Preferences/
[chuck@lizum Plug-in Support.122]$

```

If you had a `Plug-ins` directory there, it was not my Plex’s doing.

The proper place for Plug-ins is here:

```auto
[chuck@lizum Plug-ins.127]$ pwd
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins
[chuck@lizum Plug-ins.128]$ ll
total 16
drwxr-xr-x 4 plex plex 4096 Mar 29 10:23 ./
drwxr-xr-x 10 plex plex 4096 Mar 29 10:05 ../
drwxr-xr-x 3 plex plex 4096 Mar 29 10:23 PBS.bundle/
drwxr-xr-x 3 plex plex 4096 Mar 21 21:14 Services.bundle/
[chuck@lizum Plug-ins.129]$

```

---

<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:** [January 7, 2020, 11:01pm UTC](https://forums.plex.tv/t/deleted-plugins-directory/186524/6 "2020-01-07T23:01:54Z")

</div>


