Upgrade from 2.x to latest 4.x : PlexDataBase

    • OMV 4.x
    • Resolved
    • Upgrade from 2.x to latest 4.x : PlexDataBase

      Hi,

      Don't quite understand what I have to do.

      I installed the plex plugin (like on 2.X, but is the docker plugin better now ?)

      I have omv installed on a usb flash key (previously on an old hdd)

      I see my old plexfolder in /srv/dev-disk-by-label-NAME/plexmediaserver/Library/Application Support/Plex Media Server

      when I install it new plex is building the database on var/lib/plexmediaserver, hwich is on the usb drive, right ? ;(

      should I add a user or is it done automatically ? Is that is why plex can't write on /srv/ ?

      thanks
      Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system
      Donator because OMV deserves it (20€)
    • AFAIK you can set the folder of the Plex library in the GUI of the Plex Plugin.

      For safety I would make a copy of the Library. Then turn of the Plex Plugin. Change the folder and turn on the Plugin again.

      You can also search the forum. There are some posts regarding that.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:
    • You can not select the folder that the Plex library resides in using the plugin. Only the drive the folder sits on can be selected; the folder name is hard coded by the plugin and sits in the root of the selected drive.

      Also, some things happen when changing the location if the library already exists. The first is that the original library is moved to the new location via a copy and delete operation. Next all the files and folders in the library are chowned, even if they already have the correct ownerships. Depending on the size of the library, this can take a lot of time, the plugin does not indicate progress, and Plex will not be started again until the operation is complete.

      I have not used the Plex plugin in quite some time having moved to the docker, but IIRC, you can not change the library location if the plugin is disabled.
      OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380
    • Is there a recomended way(or best practice) to move plex from the plugin to docker? I've moved all other media type applications to docker, but have been procastanating moving plex due to not wanting to lose my current server configuration. On another note, I've actually been thinking about starting fresh with a new install, and the only hang up is the same thing, not wanting to lose my current plex server config/settings and throwing a wrench into the people I share my library with. I suppose the same answer could apply to both scenarios.
    • I moved from the Plex plugin to running Plex in a docker.

      Stop Plex before setting up the docker. If you have the space it would be a good idea to make a backup copy of the metadata library.

      Make note of where you have located the metadata library and when you are setting up the docker, point the /config Container path to that location.

      Also, make note of the user:group that owns the metadata library, and specify these (numerically) in the container Environment variables PUID and PGID

      The rest of the docker setup can be done per the documentation for it.

      Once you have the docker up and running to your satisfaction you can uninstall the plugin.
      OMV 4.x - ASRock Rack C2550D4I - 16GB ECC - Silverstone DS380
    • Yep, thnaks !!!! :)

      Did what you said, used the docker plugin, point /config sot the old settings,

      BUT

      Stucked at the /media part, each time this line is deleted when retring the settings of the image
      Gigabyte GA-H87M-HD3, Pentium G3220, 4 GO DDR3, 6 x 2 To raid 6, 2.5' 100 Go for system
      Donator because OMV deserves it (20€)