Server Version#:1.40.0.7998-c29d4c0c8, upgrade from 1.38
Hi,
I got Ubuntu server 22 LTS running PMS with ovverride config which moves Application Support folder to a SSD drive specifically dedicated for this purpose.
Yesterday i ran apt-get update and upgrade routine to update PMS to latest version and it finished successfully. But PMS failed to start - couldnt find library folder. I did restart and PMS started, but totally blank. I checked dedictaed SSD and it shows only newly installed PMS App support folder, however space occupied on disk missmatches with size of PMS folder: i see ~12 Gb used space as it usually were, but PMS folder is now around 0.2 Gb.
Got no clue what to do next, please advice.
Not sure what logs to provide as my installation is blank now.
/media/plex/ - mounted ssd for plex lib. nothing else is there
Override.conf
#
# Customize Plex's config
#
# Identify this as a service override
[Service]
#
# Move the data directory
Environment="PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/media/plex/Library/Application Support"
#
# These values are only needed if you wish to change user & group
User=htpc
Group=htpc
#
# This is needed to change the default umask
#UMask=0002 # this must be octal - See warning below
du -hs of the new location
htpc@zhtpc:/media/plex/Library/Application Support/Plex Media Server$ du -hs /media/plex/Library/Application\ Support/Plex\ Media\ Server/
5.8G /media/plex/Library/Application Support/Plex Media Server/
du -hs of /var/lib/plexmediaserver
htpc@zhtpc:~$ du -hs /var/lib/plexmediaserver/
16K /var/lib/plexmediaserver/
ls -la of the new location’s “Databases” directory
htpc@zhtpc:/media/plex/Library/Application Support/Plex Media Server$ ls -la
total 84
drwxrwxrwx 14 htpc htpc 4096 Feb 18 15:01 .
drwxrwxrwx 3 htpc htpc 4096 Sep 29 2021 ..
drwxrwxrwx 10 htpc htpc 4096 Feb 18 15:01 Cache
drwxrwxrwx 5 htpc htpc 4096 Feb 18 14:10 Codecs
drwxrwxrwx 23 htpc htpc 4096 Feb 18 14:59 'Crash Reports'
drwxr-xr-x 2 htpc htpc 4096 Oct 21 2021 Diagnostics
drwxr-xr-x 3 htpc htpc 4096 Oct 3 22:57 Drivers
-rw------- 1 htpc htpc 42 Feb 18 14:59 .LocalAdminToken
drwxrwxrwx 3 htpc htpc 4096 Feb 18 14:59 Logs
drwxr-xr-x 3 htpc htpc 4096 Sep 29 2021 Media
drwxr-xr-x 6 htpc htpc 4096 Jan 28 2022 Metadata
-rw-r--r-- 1 htpc htpc 3 Feb 18 14:59 plexmediaserver.pid
drwxrwxrwx 2 htpc htpc 4096 Sep 29 2021 Plug-ins
drwxrwxrwx 7 htpc htpc 4096 Sep 29 2021 'Plug-in Support'
-rw------- 1 htpc htpc 1591 Feb 18 15:01 Preferences.xml
drwxr-xr-x 3 htpc htpc 4096 Mar 19 2023 Scanners
-rw------- 1 htpc htpc 12330 Feb 18 14:59 'Setup Plex.html'
drwxr-xr-x 2 htpc htpc 4096 Dec 26 2022 Updates
ls -la of the /var/lib/plexmediaserver’s Databases directory
htpc@zhtpc:/media/plex/Library/Application Support/Plex Media Server$ ls -la /var/lib/plexmediaserver/
total 12
drwxr-xr-x 3 plex plex 4096 Sep 29 2021 .
drwxr-xr-x 45 root root 4096 Feb 18 10:20 ..
drwxr-xr-x 3 plex plex 4096 Sep 29 2021 Library
Im not sure what helped, cause i updated ubuntu version, rechecked all drives and rights, did lots of restarts, and somehow my DB reappered. It may be the case ChuckPa mentioned…
I had the same problem (see previous post).
I restarted the server (the whole box - “reboot now”), and now everything is back to normal.
Not the most elegant (or logical/safe) fix, but it’s worked for me.
I’m happy to share diagnostics / logs if you think that will help - but now that it’s working not sure how much that be of use? Just ask