#404 Message each time I run seasonal pmm only

1 messages · Page 1 of 1 (latest)

sonic gate
#

Each time I run a Seasonal pmm, no matter the options I input, I get a 404 error. See attached.

Many other collections have worked, but seasonal continues to fail.

frigid ospreyBOT
#
📁 Attachment Detected: meta.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.

#

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.

frigid ospreyBOT
#
**PMM Recommendation 1**

🔒 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

faint path
#

Several connection error missing in your config

#

Potential scheduling conflict between PMM and Plex

sonic gate
#

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.

zenith portal
#

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.

sonic gate
#

Not in my library. It fails to create anything

#

I could removed those sections from the defaults yml for Seasonal and try again?

zenith portal
#

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
sonic gate
#

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

zenith portal
#

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
sonic gate
#

Got it. Will try - please hold

#

404 still

zenith portal
#

Then there's some logic error in there. Can you provide another log?

sonic gate
#

You want the meta, or the one in the Halloween folder

#

or the library.log....

frigid ospreyBOT
#
📁 Attachment Detected: meta.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.

sonic gate
#

there's the new meta

frigid ospreyBOT
#
**User Info**

Author of Linked Message: yungsnuzzy
Person who Invoked the Command: yungsnuzzy
File Name: meta.log

Table of Contents

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

tidal zephyr
#

halloween doesnt start getting created until october 1st

zenith portal
#

Maybe this default doesn't support use_all: false

tidal zephyr
#

seasonal runs on a schedule

sonic gate
#

I tried schedule daily, and that failed too

tidal zephyr
#

you need to change the date if you want it to work

zenith portal
#

The error is happening when it's trying to process Latinx

#

not halloween

sonic gate
#

I deleted latinx and others earlier, but that did not stop the errors

zenith portal
#

halloween is being skipped as expected.

#

OK, well let's try turning tham all off individually.

sonic gate
#

How so

tidal zephyr
#

Collection Warning: No Poster Found at https://raw.githubusercontent.com/meisnate12/Plex-Meta-Manager-Images/master/seasonal/latinx.jpg |

zenith portal
tidal zephyr
tidal zephyr
zenith portal
#

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?

sonic gate
#

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

zenith portal
#

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?

sonic gate
#

I don't understand.... I just want to create a collection of halloween films based on the list it supposedly pulls from

tidal zephyr
#

it runs on a schedule so these collections only show up and are built between 2 dates

#

halloween is oct. 1st to oct 31st

sonic gate
#

It's not built on a collection list from TMDB or similar?

tidal zephyr
#

it is

#

but only between 2 dates

#

you can override those dates though

#

thats what hes asking you

sonic gate
#

I haven't changed any dates

tidal zephyr
#

do you want all collections built now, only halloween built now, etc etc

sonic gate
#

Halloween built today, ahora, presto pronto

zenith portal
#

I don't know what "ahora presto presto" means.

sonic gate
#

Just joking. I just mean today, now

zenith portal
#

sorry to keep you waiting

tidal zephyr
#
libraries:
  Movies:
    metadata_path:
      - pmm: seasonal
        template_variables:
          use_all: false
          use_halloween: true
          schedule_halloween: range(09/24-10/31)
sonic gate
#

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?

tidal zephyr
#

that should build it from today to 10/31

tidal zephyr
#

you have to use the schedule variable to change the date

sonic gate
#

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

tidal zephyr
#

the defaults are predefined. you dont want that your free to build your own ymls

zenith portal
tidal zephyr
#

this ^

zenith portal
#

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)
sonic gate
#

I can adjust the schedule and try again

#

I will try with your suggestions

#

404

zenith portal
#

OK, so there's some logic error in the code, or problem in your plex database.

#

Let me try to reproduce this error.

tidal zephyr
#

im gunna try it in a test library also

zenith portal
#

can't reproduce it on either master or nightly.

tidal zephyr
#

same worked here just fine on master

sonic gate
#

nifty, I broke it

#

I have version 1.19.1

zenith portal
#

1.19.1 is master, which works for me.
1.19.1-nightly1 is nightly. which also works fine for me.

sonic gate
#

firewall? something deeper?

#

I can wireshark

#

I already tried procmon and didn't get anything useful

tidal zephyr
#

did you edit the yml in the defaults folder at all?

sonic gate
#

yes, but I reset it back to default

#

it has never worked since I installed fresh yesterday

#

No previous installs

zenith portal
#

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.

tidal zephyr
#

im on 1.32.6.7521

#

let me see if i can update to a beta

zenith portal
#
|     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.

tidal zephyr
#

no updates for me

#

im on PlexAPI library version: 4.15.2

#

so not plexapi

sonic gate
#

I am running a beta of plex

#

I have my channel set to beta, that is

tidal zephyr
#

i do too

#

maybe windows versioning is different than linux?

#

never paid attention tbh

sonic gate
#

not sure...

#

also, I'm not on windows 10

#

but plex appears to report that I am

sonic gate
#

Any other thoughts?

faint path
#

Have you done the basics in Plex like delete bundles, empty trash, and optimize db?

sonic gate
#

Yes. Tried that multiple times

faint path
#

Ok. And refresh metadata?

sonic gate
#

Have not done that

faint path
#

I mean it’s a stretch…

sonic gate
#

It appears to be specific to the seasonal pmm runs only

#

I've had great success with all other runs

faint path
#

I have seasonals running all the time

#

Like all of them

tidal zephyr
#

seems pmm would need a code change for this

faint path
tidal zephyr
#

if pmm is using GET requests

#

seems to be tied to windows as well edit: at least one windows user there

faint path
#

So sounds like rolling back Plex Server would resolve this

tidal zephyr
#

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

sonic gate
#

Should I roll back to public channel?

#

Also GET is far more ubiquitous these days...

tidal zephyr
#

1.32.6 is fine in beta

#

thats what im on

sonic gate
#

Currently 1.32.7.7484

sonic gate
#

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.

tidal zephyr
#

soh (the only dev) is aware of this issue

sonic gate
#

Thanks

faint path
sonic gate
#

yes

frigid ospreyBOT
#

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.