Docker to docker migration: messed up config file structure

Server Version#: Version 1.41.3.9232 (?!?! - see below)
Player Version#: N/A
Host: UnRAID 7.0.0 beta

I think I’m going a bit mad; at the very least, I’m confused. I have a pretty good understanding of Docker, but not so much of the Plex file and folder structure.

Two questions:

1)

TL:DR: valid files and folders are in /config but new official container is looking in config/Library/Application Support/Plex Media Server, other than Preferences.xml, what other files and folders do I need to more to the Plex Media Server folder??

I’m trying to migrate from an old hotio container to the official Plex container, but it failed. The new container would create a new server instance in PMS and not rejoin to the old server. After some head scratching, I realised that even though the binds are the same on both containers, the hotio container is looking at the root of the bind point ‘mnt/user/appdata/plex/’ for preferences.xml etc, whereas the container using the official Plex image is looking in /mnt/user/appdata/plex/Library/Application Support/Plex Media Server - I’ve concluded this, by seeing the modified date of the preferences.xml being updated based on which container is started.

So which files and folders at the root do I move into Library/Application Support/Plex Media Server, and which do I delete?

This is my folder structure on config:

root@Hub:/mnt/user/appdata/plex# ls -1
Cache/
Codecs/
Codecs\ old/
Crash\ Reports/
Diagnostics/
Drivers/
Library/
Logs/
Media/
Metadata/
OldCodecs/
Plug-in\ Support/
Plug-ins/
Preferences-backup-19-09-24.xml
Preferences.xml
Scanners/
Setup\ Plex.html
Updates/
plexmediaserver.pid

and of config/Library/Application Support/Plex Media Server

root@Hub:/mnt/user/appdata/plex/Library/Application Support/Plex Media Server# ls -1
Cache/
Codecs/
Crash\ Reports/
Diagnostics/
Drivers/
Logs/
Plug-in\ Support/
Plug-ins/
Preferences.xml
Setup\ Plex.html
Updates/

And to double check I’m not mad, here’s the docker config:
Old

"Name": "/plex",
...
"HostConfig": {
    "Binds": [
        "/mnt/user/data/media/:/data/media:rw",
        "/mnt/user/appdata/plex/:/config:rw",
        "/tmp:/transcode:rw"
...
    "Image": "cr.hotio.dev/hotio/plex",
...
    "Labels": {
...
        "org.opencontainers.image.vendor": "hotio",
        "org.opencontainers.image.version": "1.32.8.7639-fb6452ebf"

New

"Name": "/Plex-Media-Server",
...
"HostConfig": {
    "Binds": [
        "/mnt/user/data/media/:/data/media:rw",
        "/mnt/user/appdata/plex/:/config:rw",
        "/tmp:/transcode:rw"
    ],
...
    "Image": "plexinc/pms-docker",
...
    "Labels": {
...
        "org.opencontainers.image.vendor": "Plex, GmbH",
        "org.opencontainers.image.version": "1.41.2.9200-c6bbc1b53"

2)
This one’s more straightforward. Even though I’m using the old, not updated anymore, hotio image, the Web GUI says I’m running cersion 1.41.3.9232. Is this a concern? I’m thinking of database schema mismatch or similar issues.

Ok if I bump this?

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