this post was submitted on 22 Jun 2023
7 points (100.0% liked)

Selfhosted

39257 readers
220 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I have an Intel NUC running plex media server on ubuntu headless server. It's running beautifully, and barely uses the nuc's resources. The videos are stored on a synology ds923+ NAS.

I'm thinking of adding a couple of new services to the NUC and would like to move to a dockerised setup. This would involve moving the plexmediaserver into a docker.

Is there a good way to do this without having to recreate and rescan all the plex video libraries?

you are viewing a single comment's thread
view the rest of the comments
[–] sneakyninjapants@sh.itjust.works 1 points 1 year ago* (last edited 1 year ago)

If you're planning to mount the data directories on the host for your docker setup it should be relatively straight forward I think, docker volumes a little less so. Thinking through it, you'll need to run the container first time with the volumes mounted wherever you like so the container will populate the host mounted data directory with the folder structure, initial database, config file(s) logs, cache, etc. Then it should be as simple as backing up the initial data files just in case, swapping in a copy of the database you've got already got running, the config .xml? I believe, the cache directory, and the logs if you'd like. It's been a while since I've had Plex deployed so I could certainly be missing something though.

Edit: create -> run