Since a couple of days seems that the .metadata.yaml in the uploads folder are not being fully populated. When I upload a new g-code the entry with the checksum is added but no more information. Seems to be related with the Filament manager plugin (last version too).
I've tried different G-codes, renaming old gcodes, same gcode generated in Cura 3.3.1 and in Simplify 4.0.0
OctoPrint version : 1.3.8
OctoPi version : 0.14.0
Anycubic Kossel Linear Plus Running Klipper V0.60 (the issue is not firmware related)
Can't find anything in logs already checked them.
Bellow I paste the .metadata.yaml for 3 gcodes first and third worked fine. Second no.
Yaml files are intolerant of some things that they don't like. I seem to recall that they don't like Windows-like line termination like \r\n, if you get the indentation wrong they can just die a miserable death, they want a newline on the last line, things like that.
Here is mine. I'm using three backticks before/after the paste of the data so that you can see the indentations that are natively in a yaml file.
If you're saying that turning ON the plugin seems to interfere with the core OctoPrint's part analysis on the upload function and turning it OFF again returns that functionality, I'd say that this is a bug in the Filament Manager plugin. I would guess that it has to have a hook in the upload notification and that it's not properly returning control back to the core functionality so that it can do its work.
If it were me, I think I would save a copy of the current one, stop the OctoPrint service, remove the offending sections which don't include analysis (or make up fake analysis subsections) and reboot.
It's difficult to say if this is a fluke and you'll never revisit this problem or if it's something systemic to either the Filament Manager plugin or the core of OctoPrint.
Definitively it's a plugin issue, but still not sure what plugin. I have an old SD lying arroud, with fewer plugins installed. just loaded it into another raspberry pi. Updated the O.S (sudo apt-get update && apt-get upgrade) and updated octoprint and all the plugins. uploaded same gcodes and metadata.yaml it's being populated.
I will try to disable manually the different plugins between both SD cards and check what plugin it's causing the issue. But it's a bit obscure why booting in safe mode no data is populated.