Moving my metadata to a new server

Your docker config is really overdone and missed what’s important.
You didn’t specify the Environment variables which are documented by

Using your docker run as a baseline, may I suggest:

docker run \
-d \
--name plex
--network=host \
-h jumbo.stream \
-e PUID=<uid-for-plex-here> \
-e PLEX_UID=<uid-for-plex-here> \
-e PGID=<gid-for-plex-here> \
-e PLEX_GID=<gid-for-plex-here> \
-e TZ=“Europe/London” \
-e PLEX_CLAIM=“token” \
-v /home/plex/plexmediaserver:/config \
-v /home/plex/transcode/temp:/transcode \
-v /home/plex/mounts/secret:/var/lib/plexmediaserver/Library/secret \
-e CHANGE_CONFIG_DIR_OWNERSHIP=false \
-e ADVERTISE_IP=“http://myip:32400/” \
plexinc/pms-docker:plexpass
  1. get the UID/GID of the existing Plex user and use for both PUID/PLEX_UID as well as PGID/PLEX_GID
[chuck@lizum docker.2011]$ id plex
uid=996(plex) gid=996(plex) groups=996(plex),44(video),109(render)
[chuck@lizum docker.2012]$ 
  1. Using the host network saves you passing through all those ports and messing with trying to configure a TCP/IP stack which I’m not sure you’re all that comfortable with ??

To give you an example of how simple my docker run is:

sudo docker run \
-d \
--name plex \
--network=host \
-e PLEX_CLAIM="claim-2rZSB3JW2t56cJngN9kt" \
-e TZ="EST" \
-e LANG="en_US.UTF-8" \
-e PLEX_UID=1000 \
-e PLEX_GID=1000 \
-e PUID=1000 \
-e PGID=1000 \
-h dockerplex \
-v /sata/dockerplex:/config \
-v /sata/dockerplex/tmp:/tmp \
-v /sata/dockerplex/transcode:/transcode \
-v /vie:/data \
--device=/dev/dri:/dev/dri \
plexinc/pms-docker:plexpass

#docker start plex
#docker update --restart=unless-stopped plex
[chuck@lizum docker.2010]$

Point of order: If you’ve got a running installation you’re overlaying, you don’t need a claim token nor do you need to tell it not to change UID/GID.

Alright, I’ve made my docker less complex now, its running. I’m still getting the “Something went wrong. An unexpected error occurred.” when looking at the recommended tab of my TV show libraries.

Funnily enough, if I merge “recently added” it works fine, but if i separate them it does not show up, like wise if I untick “recently added” on the Manage > Libraries > TVShows then the recommended tab also shows up.

As I don’t want to merge my recently added TV, I’d like to get this issue solved the most.

I’ve also noticed that my “all” server statistics show a “Unable to load statistics” warning, but I can go through the last 7 days, or view user by user full history, that seems to be a new issue since the move, too.

“Something went wrong” will happen if Plex/web times out getting a reply from PMS.

The next step is to look at Logs. Make a tar.gz of the “Logs” directory and review them to find where the errors are

This is the main error when I try to view the said problem screen;

Got exception from request handler: sqlite3_statement_backend::loadRS: disk I/O error

Plex Media Logs .zip (1.6 MB)

Here’s the latest set.

that’s a physical disk i/o error from your computer.

If a HDD, check the health (sudo smartctl -a /devsdXX) – XX = the physical device…

Also check for fsck to make sure the filesystem is intact

The storage is a NVME, filesystem looks good.

How many TB written to the SSD compared to it’s max TBW ?

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