Recover playlists from linux install

Server Version#: ?
Player Version#: ?

my plex running on raspberry pi is borked and will not boot.
Instead of trying to fix it (mulitple failed attempts so far), I’m able to mount the SD card with the OS installation where plex is installed.

All I really need from it is all the playlists I’ve created, I don’t mind rebuilding the plex installations.

Any suggestions on how to get them out?
They apparently buried in the plex database file somewhere.

thanks for any tips!

Since you are able to read the data, you are likely better off moving the install to another system: https://support.plex.tv/articles/201370363-move-an-install-to-another-system/ The playlist data is spread across several tables in the database and is not trivial to read.

1 Like

thanks! I’ll give that a try.

One of the first steps there is:

“On your source Plex Media Server, you’ll want to disable the Empty trash automatically after every scan preference for the server.”

Since the source version can’t run (system doesn’t boot, but SD card is fine) and I only have the source files… think this is a big deal if I skip this step?

On the new system, edit preferences.xml and add autoEmptyTrash="0" (or change it from 1 to 0 if it already exists).

That keeps Plex from deleting media entries from the database, so you do not have to re-build your libraries.

The database has the file locations from the old server, which no longer exist. Plex scans the libraries when it starts. If set to auto-delete, it will delete the entries and you’ll have to re-build the libraries.

The steps in the support document have you enter the new library locations first. Plex thinks there are duplicate entries for your media files. You then remove the old library entries, scan, & empty trash.

It is the same process you would follow if moving media to a new location on the same server, but tweaked slightly since you’re moving things across servers.

I’m not sure what my autoEmptyTrash was set to… but the steps worked for me.
I did have to rescan the library, I didn’t have duplicates. all the playlists showed up as well.

new backup image created for my pi as well!

thanks for the help!

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