For some reason lately PMM has been taking a long time to run., Running on docker, so it starts at 3am. Looking at plex, it appears to be refreshing all metadata for all media involved, which it shouldn't be happening I think? It used to be much faster, ending in around 2 hours. It's 9am now and it's still running.
Will upload a recent log in a second, just waiting for this run to finish.
#PMM taking a long time to run
1 messages · Page 1 of 1 (latest)
Welcome!
Someone from <@&938443185347244033> will assist when they're available.
Including the meta.log from the beginning is a huge help, type !logs for more information.
You can press the "Close Post" button above or type !close at any time to close this post.
Without logs though we can't say why it's still running. Could be api limiting, could be you've added more overlays, could be anything
Yeah I'll upload them in a sec 🙂
Logs from yesterday 🙂
Any help appreciated, could just be missing something very fundamental here
Plex is just doing this:
It's almost like PMM is waiting for the metadata refresh in order to do its thing.
Jun 17, 2023 09:47:28.088 [140525041281848] DEBUG - Completed: [172.19.0.4:55146] 200 GET /library/metadata/379436?includePreferences=1 (36 live) #386f35 GZIP 4545ms 6110 bytes (pipelined: 12733)
Jun 17, 2023 09:47:28.094 [140524727810872] DEBUG - Request: [172.19.0.4:55146 (Subnet)] GET /library/metadata/378817?includePreferences=1 (36 live) #386fd4 GZIP Signed-in Token (M3th0s) (plex-meta-manager)
Jun 17, 2023 09:47:28.102 [140524727810872] DEBUG - [Req#386fd4] Last refresh (2023-06-12 03:37:18) appears to be older than directory change time (2023-06-16 07:24:24), need to refresh local media agent.
From plex logs
Logs so far from today
Any help much appreciated 🙂
You said 3am is your PMM run time? Between 2am-5am is Plex application maintenance period, we recommend a PMM start time of 5am to avoid running PMM at the same time as Plex maintenance. I would start with that.
Sorry, its the default docker behaviour and I was under the impression it was 3am
How would I check that?
Not sure if your setup so hard to answer this question. How did you set things up?
Your meta.log would show the “time” it starts at
I'll check. for some reason, latest nightly has a start time of 3am
Just checked portainer and the env variable is set at that
Will change
There ya go… this will at least prevent both contending to perform updates during the same timeframe
With that eliminated, one less thing to worry about and we can continue to see if this problem arises at the next scheduled run.
I’ll let you know thanks.
My suspicion is that a move of media is also impacting this. I’m using rclone but used the —no-modtime flag so hopefully that wouldn’t cause an issue