Libraries missing

Server Version#: 1.21.2.3943
Player Version#:

I upgraded my Linux server, where plex has been running for several years, from Linux Mint Rosa to Linux Mint Sarah using the s.o. tool “mintupgrade”.

It apparently ran well, but after upgrading, I made a couple errors: first I opened the local interface (localhost:32400/web) and it asked for a user and I used the wrong one (I used my gmail user but I forgot that the server was configured when I still was using an outlook address). Also, the filesystem with all the data was not mounted. I corrected both things (mounted the filesystem and connected with the correct user an reclaimed the server) but now there are no libraries. Any idea on how I can get them back? to rebuild everything would be horrendous work. I have a backup of the /home/plexmediaserver data (it is around 700GB), but it is already there, only that the server says there are no libraries

EDIT

I have found a /etc/default/plexmediaserver file and it contains this:

[...]
# uncomment to set it to something else
 export PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/home/plexmediaserver"
[...]

It seems that after the upgrade, plex is NOT using that file, because my old library db appears to be
/home/plexmediaserver/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db

(there are several backups there)

but the server seem to be using
/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.blobs.db
(that file has been modified today and there are no backups in the same folder)

So apparently I just need to find how to point plex to use /home/plexmediaserver instead of /var/lib/plexmediaserver

I remember now that, a few years ago I has to put the plex database in a dedicated SSD because otherwise it was awfully slow, so I mounted it there and I suppose then I edited de /etc/default/plexmediaserver file that in the new version plex is not using.

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