# Problem with moving the Plex Database directoy

**URL:** <https://forums.plex.tv/t/problem-with-moving-the-plex-database-directoy/749630>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [October 9, 2021, 11:53pm UTC](https://forums.plex.tv/t/problem-with-moving-the-plex-database-directoy/749630 "2021-10-09T23:53:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vcdwelt](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/vcdwelt/32/109392_2.png) [@vcdwelt](https://forums.plex.tv/u/vcdwelt)\
**Post date:** [October 9, 2021, 11:53pm UTC](https://forums.plex.tv/t/problem-with-moving-the-plex-database-directoy/749630/1 "2021-10-09T23:53:59Z")

</div>

Server Version#: 1.24.4.5081  
Player Version#:  
Linux Server is running Openmediavault (Debian 10 Buster).

Since today my Plex Server was not starting anymore. Can’t remember i changed anything on my Server config or anything else. My PMS directory was moved to another location (was running fine since over a year or longer).

```auto
ln -s '/srv/dev-disk-by-label-SSD/plexmediaserver/Library/Application Support' '/var/lib/plexmediaserver/Library/Application Support'

```

For now my solution was to reinstall the Plex-Server after i deleted the old PMS Directory (including symlink). So now i have a fresh and clean installation of plex. So far anything runs fine.

Now i need to move the Plex directory from /var/lib/plexmediaserver to antoher location, because of less storage available.  
Target should be (as before): /srv/dev-by-label-SSD/plexmediaserver/…

As soon i move the PMS Directory Plex is not starting anymore ☹ Now already trying to solve it since a few hours, tried a lot of tutorials (from here an other sources) but without success.

Maybe someone is able to help me troubelshooting this issue.

Error i see:

```auto
root@openmediavault:/var/lib/plexmediaserver/Library# sudo service plexmediaserver start
Failed to get properties: Unit name cockpit-wsinstance-https@.socket is neither a valid invocation ID nor unit name.
Job for plexmediaserver.service failed because the control process exited with error code.
See "systemctl status plexmediaserver.service" and "journalctl -xe" for details.

```

Output of journalctl:

```auto
root@openmediavault:~# journalctl -xe
-- Support: https://www.debian.org/support
--
-- An ExecStartPre= process belonging to unit plexmediaserver.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Okt 09 20:29:34 openmediavault systemd[1]: plexmediaserver.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--

```

* * *

## Other Idea

Instead of moving the PMS Directory, it would also be fine to move some space from sdf3 to sdf1, if this is not to hard to do for an Linux Noob 🙂 Would also be a nice solution to me.

```auto

Device Boot Start End Sectors Size Id Type
/dev/sdf1 * 2048 30763007 30760960 14,7G 83 Linux
/dev/sdf2 100528126 117229567 16701442 8G 5 Extended
/dev/sdf3 30763008 100526079 69763072 33,3G 83 Linux
/dev/sdf5 100528128 117229567 16701440 8G 82 Linux swap / Solaris

```

---

<div class="post-metadata">

**Author:** ![vcdwelt](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/vcdwelt/32/109392_2.png) [@vcdwelt](https://forums.plex.tv/u/vcdwelt)\
**Post date:** [October 13, 2021, 10:22am UTC](https://forums.plex.tv/t/problem-with-moving-the-plex-database-directoy/749630/2 "2021-10-13T10:22:45Z")

</div>

Any Ideas where to start with problem analyse?

---

<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 11, 2022, 10:23am UTC](https://forums.plex.tv/t/problem-with-moving-the-plex-database-directoy/749630/3 "2022-01-11T10:23:45Z")

</div>

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