Closed Sarahsolus closed 4 years ago
@zonky2 Can you reproduce this?
@Sarahsolus Is there any chance you can provide us with a stack trace?
@discordier getestet - kann ich nicht nachvollziehen... weitere Diskussion hier https://community.contao.org/de/showthread.php?77369-SQLSTATE-3D000-Fehler-bei-Installation-MM-2-1-8-und-C4-4-47
@baumannsven hat sich angeboten, dass mal anzusehen - Kontakt per PM
Das Problem liegt wahrscheinlich am Warmup vom Cache. Wenn keine Datenbank konfiguriert ist. Werde mir später das mal anschauen
Erst einmal Danke nochmal an den netten Hilfesteller am Telefon. @baumannsven
Der Grund für den Fehler scheint tatsächlich zu sein, dass neuerdings eine parameters.yml samt schon vorhandener Datenbank von Metamodels erwartet wird. Bei unserem git repo, das ich zur Contao Installation auf den Server klone, ist keine parameters.yml enthalten. (die wurde dann am Schluss erst mit contao/install erzeugt) Das war bisher kein Problem, und ist es auch weiterhin nicht, wenn ich kein Metamodels mitinstalliere.
Das macht den Deployment-Vorgang natürlich in Zukunft etwas zäher, wenn ich auf dem Server erst die parameters.yml umschreiben muss, aber grundsätzlich weiß ich jetzt erstmal, wie ich das Problem umgehen kann. Vielen Dank für's Mitüberlegen.
Did we introduce this with the migrations? 🤔 IMO this is the only part that might interface with the database during boot time, however this should be limited to the install tool.
Excellent analysis by webstar in this posting.
Excellent analysis by webstar in this posting.
Great you found it, just wanted to repeat the information here. :-)
Working on the fix atm. :smile_cat:
I just tested this and it works as expected!
MM: v2.1.8 (but also earlier versions, that were working 2 weeks ago) Contao: 4.4.47 Php: 7.2
During installation of current MM v2.1.8 and Contao v4.4.47 via composer, near the end the installation breaks with these errors:
"metamodels/bundle_all": "< 2.1.7", "metamodels/core": "< 2.1.7",
doesn't help.
removing those entries fixes the error (but also removes MM)...
error happens on the server and also on local system. (both PHP7.2, MySQL5.7)
installation broke when trying to add metamodels to an existing and working Contao
installation also broke during installation of an new project