#404 Message each time I run seasonal pmm only
1 messages · Page 1 of 1 (latest)
I see you attached a file 📁meta.log📁. Would you like Luma to parse that for you and make some recommendations? Default value of No/Red X will be selected after 180 seconds.
Welcome @sonic gate!
It looks like you have not yet completed #938455615741775902, this will allow us to help you quicker.
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.
🔒 BLANK API KEY ERROR:
An API key is required for certain services, and it appears to be blank in your configuration.
Make sure to provide the required API key to enable proper functionality.
For more information on configuring API keys, [https://metamanager.wiki/en/latest/search.html?q=api&check_keywords=yes&area=default]
In the PMM discord thread, type !wiki for more information and search for the service with the missing apikey
6 line(s) with BLANK API KEY errors. Line number(s): 188, 195, 199, 1626-1628
Several connection error missing in your config
Potential scheduling conflict between PMM and Plex
Can you elaborate on a Scheduling conflict? These are manual runs
I don't have/need anything to connect except for plex - I can remove the other connection entries, though.
There's a logic error somewhere.
The URL causing the error:
| Unknown Error: (404) not_found; (redacted)/library/sections/1/allNone <html><head><title>Not Found</title></head><body><h1>404 Not Found</h1></body></html> |
Contains None, which should be something meaningful, an ID or something. Plex is correctly reporting that it can't load a url containing "/library/sections/1/allNone".
It's trying to update the "Latinx Heritage Month Movies Collection" separator at that point, so if you have that in your library currently, perhaps try removing it to force PMM to create it anew.
Not in my library. It fails to create anything
I could removed those sections from the defaults yml for Seasonal and try again?
This template variable setup is not valid; perhaps that's what's tripping it up. What's your goal here?
- pmm: seasonal
template_variables:
data:
halloween
I ONLY want the halloween one, but, even just running with no template variables results in the same 404, and no collections created.
as a test, I removed all but 3 collections from seasonal and got the following.....
| Title | + | = | - | Run Time | Status |
|======================|=======|=======|=======|==========|==========================================|
| Seasonal Collections | 0 | 0 | 0 | 0:00:00 | Skipped Run Definition |
| Halloween Movies | 0 | 0 | 0 | 0:00:06 | Unknown Error |
| (404) not_found; (redacted)/library/sections/1/allNone <html><head><title>Not Found</title></head><body><h1>404 Not Found</h1></body></html> |
| |
| Thanksgiving Movies | 0 | 0 | 0 | 0:00:03 | Unknown Error |
| (404) not_found; (redacted)/library/sections/1/allNone <html><head><title>Not Found</title></head><body><h1>404 Not Found</h1></body></html> |
| |
| Christmas Movies | 0 | 0 | 0 | 0:00:04 | Unknown Error |
| (404) not_found; (redacted)/library/sections/1/allNone <html><head><title>Not Found</title></head><body><h1>404 Not Found</h1></body></html> |
What is it unable to find? Why just seasonal?? So weird
That's not how you disable all but halloween.
libraries:
Movies:
metadata_path:
- pmm: seasonal
template_variables:
use_all: false
use_halloween: true
data is used if you wanted to modify an existing holiday's collection name.
ibraries:
Movies:
metadata_path:
- pmm: seasonal
template_variables:
data:
halloween: Spooky Oooky Day
Then there's some logic error in there. Can you provide another log?
I see you attached a file 📁meta.log📁. Would you like Luma to parse that for you and make some recommendations? Default value of No/Red X will be selected after 180 seconds.
there's the new meta
Author of Linked Message: yungsnuzzy
Person who Invoked the Command: yungsnuzzy
File Name: meta.log
Page 01: User Info
Page 02: PMM Info
Page 03: PMM Config.yml YAML Validation
Page 04: People Poster Scan Results
Page 05: Plex Configuration - Section 1
Page 06: PMM Recommendation 1
halloween doesnt start getting created until october 1st
Maybe this default doesn't support use_all: false
seasonal runs on a schedule
I tried schedule daily, and that failed too
you need to change the date if you want it to work
I deleted latinx and others earlier, but that did not stop the errors
halloween is being skipped as expected.
OK, well let's try turning tham all off individually.
How so
Collection Warning: No Poster Found at https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/seasonal/latinx.jpg |
The 404 is right below that; unrelated.
jpg seems to be named https://github.com/meisnate12/Plex-Meta-Manager-Images/blob/master/seasonal/latinX.jpg
i see it. just going through the log...
When you say you only want halloween, does that mean you want only halloween to show up today, or only halloween ever, no other holidays?
I'm a very simple guy... just want halloween collection to be built right now
I would also like thanksgiving and christmas, but at this point, I just want one thing to work
So what do you want this config to do?
turn all all holdiays but halloween, change halloween date to today?
Turn off all holidays but halloween, thanksgiving christmas, change dates somehow?
Do something else?
I don't understand.... I just want to create a collection of halloween films based on the list it supposedly pulls from
it runs on a schedule so these collections only show up and are built between 2 dates
halloween is oct. 1st to oct 31st
It's not built on a collection list from TMDB or similar?
it is
but only between 2 dates
you can override those dates though
thats what hes asking you
I haven't changed any dates
do you want all collections built now, only halloween built now, etc etc
Halloween built today, ahora, presto pronto
I don't know what "ahora presto presto" means.
Just joking. I just mean today, now
sorry to keep you waiting
libraries:
Movies:
metadata_path:
- pmm: seasonal
template_variables:
use_all: false
use_halloween: true
schedule_halloween: range(09/24-10/31)
If I can build a collection of movies about spiderman, any time of the day or night, on the fly, why not a halloween collection?
that should build it from today to 10/31
because its seasonal
you have to use the schedule variable to change the date
omg then why even do it?? Plex does that for you
and why would that result in a 404 and not a "date" error of some kind
this code feels super convoluted
the defaults are predefined. you dont want that your free to build your own ymls
Obviosly it's not suppsoed to, hence my remark about this being a logic error.
this ^
OK, try this:
libraries:
Movies:
metadata_path:
- pmm: seasonal
template_variables:
use_years: false
use_valentine: false
use_patrick: false
use_easter: false
use_mother: false
use_memorial: false
use_father: false
use_independence: false
use_labor: false
use_halloween: true
use_veteran: false
use_thanksgiving: false
use_christmas: false
use_aapi: false
use_disabilities: false
use_black_history: false
use_lgbtq: false
use_latinx: false
use_women: false
schedule_halloween: range(09/24-10/31)
OK, so there's some logic error in the code, or problem in your plex database.
Let me try to reproduce this error.
im gunna try it in a test library also
can't reproduce it on either master or nightly.
same worked here just fine on master
1.19.1 is master, which works for me.
1.19.1-nightly1 is nightly. which also works fine for me.
firewall? something deeper?
I can wireshark
I already tried procmon and didn't get anything useful
did you edit the yml in the defaults folder at all?
yes, but I reset it back to default
it has never worked since I installed fresh yesterday
No previous installs
Here's my log from the area where you see the error:
| Validating Method: url_poster |
| Value: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/seasonal/latinx.jpg |
| Collection Warning: No Poster Found at https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/seasonal/latinx.jpg |
| |
| Validating Method: append_label |
| Value: Seasonal |
| |
| Validation Successful |
| |
|======================== Running 🪅 Latinx Heritage Month Movies Collection =========================|
Yours:
| Validating Method: url_poster |
| Value: https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/seasonal/latinx.jpg |
| Collection Warning: No Poster Found at https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/seasonal/latinx.jpg |
| |
| Validating Method: append_label |
| Value: Seasonal |
| Traceback (most recent call last): |
| File "C:\Users\admin\Plex-Meta-Manager\plex_meta_manager.py", line 677, in run_collection |
... error
So, apparently, when attempting to validate the label, something goes wrong when PMM runs against your Plex, but not ours.
You're using:
| Connected to server JOSHPLEXSERVER version 1.32.7.7484-337c79318 |
where mine is a little behind that:
| Connected to server Test-Plex version 1.32.5.7516-8f4248874
Perhaps it's a plex server version thing.
| Version: 1.19.1 (Python 3.10.12) (Git: master) |
| PlexAPI library version: 4.13.4 |
| Platform: Linux-5.15.81-xanmod1-x86_64-with-glibc2.35 |
| Memory: 31 GB |
vs
| Version: 1.19.1 (Python 3.11.5) (Git: master) |
| PlexAPI library version: 4.15.2 |
| Platform: Windows-10-10.0.22621-SP0 |
| Memory: 32 GB |
Perhaps a plexapi library issue? Yours is newer.
i do too
maybe windows versioning is different than linux?
never paid attention tbh
Any other thoughts?
Have you done the basics in Plex like delete bundles, empty trash, and optimize db?
Yes. Tried that multiple times
Ok. And refresh metadata?
Have not done that
I mean it’s a stretch…
It appears to be specific to the seasonal pmm runs only
I've had great success with all other runs
if pmm is using GET requests
seems to be tied to windows as well edit: at least one windows user there
So sounds like rolling back Plex Server would resolve this
yes
same issue autoscan had that they had to fix
just changing the PUT requests to GET instead
soh is aware of this but in the meantime I would just rollback from that plex version
why it only affects seasonal, idk. you only have seasonal in that log so I have no idea
Currently 1.32.7.7484
As of yet I can't find a smooth way to downgrade
I'll report back if I can get it to 1.32.6, but I'd still like this entered as a bug, since I'm likely not the only one who will see it.
soh (the only dev) is aware of this issue
Thanks
Ready to close?
yes
Hello @sonic gate, a user has suggested that this thread has been resolved and can be closed.
Please confirm that you are happy to close this thread by typing /close or by pressing the Close Post button which is pinned to this thread.