#database disk image is malformed

1 messages · Page 1 of 1 (latest)

mental igloo
#

I am getting this error at the end of my PMM run report... I have a bunch of collections that are just fine, but there seems to be an issue with adding some. This seems like a Plex problem, I'm wondering if anyone here has any suggestions

marble bay
#

doing a quick search, you are the only person to have posted a message with "database disk image is malformed"

#

@rare mica pining you as the bot didn't auto-respond and this is a new one

#

Can you provide the full log file @mental igloo

devout coralBOT
#
Providing Log Files

You have been asked to provide your log file, which will allow us to support you further.

You can find your meta.log file within the logs folder of your Plex Meta Manager config folder [right next to config.yml].

You can drag-and-drop your meta.log file directly into Discord, you do not need to upload it to a third-party site unless it exceeds the 50mb size limit.

Please DO NOT manually extract, copy and paste text from your log files directly into Discord as the formatting can be difficult to read and can often redact parts of the log file that are important for full context.

mental igloo
marble bay
#

Thanks

#

I'll wait for Sohjiro's input

#

FWIW Sohjiro, this is what I get running - git: PMM/show/franchise on the latest nightly, not sure if it's related to the fix you put in for the <<order_>> thing:

[2022-08-23 16:46:57,830] [meta.py:128]               [DEBUG]    | Template tmdbshow                                                                                  |
[2022-08-23 16:46:57,830] [meta.py:129]               [DEBUG]    | Call: {'value': ['1412', '60735', '62688', '62643', '71663', '89247'], 'custom': ['1412', '60735', '62688', '62643', '71663', '89247'], 'key_name': 'Arrowverse', 'key': '1412', 'name': 'tmdbshow'} |
[2022-08-23 16:46:57,831] [plex_meta_manager.py:702]  [DEBUG]    | Traceback (most recent call last):                                                                 |
                                                                 |   File "//plex_meta_manager.py", line 559, in run_collection
                                                                 |     builder = CollectionBuilder(config, metadata, mapping_name, collection_attrs, library=library, extra=output_str)
                                                                 |   File "/modules/builder.py", line 213, in __init__
                                                                 |     new_attributes = self.metadata.apply_template(name, self.mapping_name, self.data, self.data[methods["template"]])
                                                                 |   File "/modules/meta.py", line 183, in apply_template
                                                                 |     ini_default[replace_var(dv, variables)] = replace_var(template["default"][dv], variables)
                                                                 |   File "/modules/meta.py", line 171, in replace_var
                                                                 |     if f"<<{rk}>>" in return_item:
                                                                 | TypeError: argument of type 'int' is not iterable
                                                                 | 
[2022-08-23 16:46:57,832] [plex_meta_manager.py:703]  [ERROR]    | Unknown Error: argument of type 'int' is not iterable
rare mica
#

It’s related to that change I’ll look once I’m back from Starbucks

mental igloo
#

As for my original problem, I restored a Plex backup from a few days ago and ran again without issue...

rare mica
#

looks like the original issue was related to pmms cache