Bug #95478
closedI can't install TYPO3 11.5 via Composer on DDEV 1.18.0
100%
Description
Hello Core-Team,
thank you for releasing the new TYPO3 11.5 version today.
I have installed TYPO3 that way:
ddev config --composer-version 2 --create-docroot --docroot public --mutagen-enabled --php-version 7.4 --project-name typo3115 --project-type typo3 --timezone Europe/Berlin
Install base-distribution like explained here:
https://docs.typo3.org/m/typo3/guide-installation/10.4/en-us/QuickInstall/Composer/Index.html
ddev composer create "typo3/cms-base-distribution:^11" --prefer-dist
Activate Setup Wizard
touch public/FIRST_INSTALL
At the last step of the Wizard (username, email, sitename) the button to create the DB tables returns an error 500 in Dev-Console of the Browser:
Tue, 05 Oct 2021 15:41:35 +0200 [CRITICAL] request="3070caef61d80" component="TYPO3.CMS.Core.Error.DebugExceptionHandler": Core: Exception handler (WEB: BE): Symfony\Component\DependencyInjection\Exception\RuntimeException, code #0, file /var/www/html/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php, line 54: Cannot autowire service "TYPO3\CMS\Core\DataHandling\SoftReference\SoftReferenceParserFactory": argument "$runtimeCache" of method "__construct()" references interface "TYPO3\CMS\Core\Cache\Frontend\FrontendInterface" but no such service exists. You should maybe alias this interface to one of these existing services: ...
It seems that EXT:frontend was not loaded at that point. After
ddev composer dumpautoload
the DB tables are created successfully.
Nice greetings
Stefan
Updated by Stefan Froemken about 3 years ago
Wolfgang Wagner just told me that he has the same problem. He has solved it with:
vendor/bin/typo3cms install:setup
Updated by Gerrit Code Review about 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71443
Updated by Nikita Hovratov about 3 years ago
- Related to Bug #95477: Package sorting wrong on first composer install added
Updated by Nikita Hovratov about 3 years ago
It's fixed on the surface with #95477, but should be further addressed.
Updated by Gerrit Code Review about 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/71443
Updated by Nikita Hovratov about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d0c9d757391d941fb1bc96b514d67dc10185a288.
Updated by Simon Schaufelberger about 3 years ago
I had this issue as well, even without ddev. Just a simple upgrade from 11.4 to 11.5 and then run the new clear cache command and then it crashed.
Updated by Lina Wolf about 3 years ago
I also have this issue on the test server but not on ddev. Still using ddev 1.17
Updated by Daniel Haupt about 3 years ago
Lina Wolf wrote in #note-9:
I also have this issue on the test server but not on ddev. Still using ddev 1.17
Try running composer install
again. The issue is already resolved on master.
We experience this issue as part of our CI pipeline (while running our acceptance tests). For the moment, we fixed it by running composer install
twice.