Discourse layouts plugin is broken

thanks to everyone who helped.
Since we had layouts-categories anyway no longer in use (was used for a test in the past) we did just remove it and were then able to sucessfully upgrade.
Thread can be closed now.