Newer PMS versions not adding content

So in the course of following up on your points I did find a likely root cause, though not yet a full fix. Just to confirm, I did run a database check and repair, to no obvious effect - I didn’t see any SQLITE errors in the logs either (though a lot of XML errors…).

However looking at the logs in more details, I did see some permission related errors.

Looking at the files, I’m seeing some discrepencies in file ownership and permissions - never noticed before and its not been an issue up to now, but presumably its related to that somehow. The slight complexity is that the Plex server is running as a container on Unraid, whereas the media is on a separate Synology NAS, being shared as an NFS share. I went in and used the “squash” option to map all client connections to admin, which I felt sure would resolve this, but it didn’t.

I then went into the Synology console and chown / chmod’d the specific show to 666 just to be sure. However when I did that a whole season disappeared, and no reference to it in the logs. I tried the Plex dance, as well as adding the TVDB ID to the show name, but no luck. Interestingly I saw a couple of movies with the same permission errors, and manually setting their permissions did cause them to show up.

So I’m confident its permission related, but I don’t yet have it fully nailed.

I see the docker container has a “first run” variable to set media permissions. Is there a way to run this after first run? Failing that I can script it easily enough, but a supported method is always preferable.

If you think there’a anything else I can try let me know, though in the meantime I’ll keep experimenting…