[Gelöst] Update von 4.4.57 auf 4.13.12 - Installtool / DB Fehler
Hi,
ich habe jetzt mehrere Versuche hinter mir eine bestehende Installtion von Version 4.4.57 auf die aktuelle 4.13er LTS Version zu aktualisieren, aber ich komme nicht weiter und hoffe ihr könnt mir ein paar Tipps geben wo es hängt.
Was habe ich gemacht:
- Neue Datenbank angelegt und die Daten der alten importiert
- 4.13.12 in der "Core"-Variante installiert
- 2 Erweiterungen (Notification Center und Leads) installiert
- Installtool gestartet um Datenbank zu aktualisieren, aber das klappt dann nicht mehr
Folgende Fehler bekomme ich im Debugmodus angezeigt:
Code:
Doctrine\DBAL\Exception:
Unknown database type bit requested, Doctrine\DBAL\Platforms\MySQL57Platform may not support it.
at vendor/doctrine/dbal/src/Platforms/AbstractPlatform.php:441
at Doctrine\DBAL\Platforms\AbstractPlatform->getDoctrineTypeMapping()
(vendor/doctrine/dbal/src/Schema/MySQLSchemaManager.php:186)
at Doctrine\DBAL\Schema\MySQLSchemaManager->_getPortableTableColumnDefinition()
(vendor/doctrine/dbal/src/Schema/AbstractSchemaManager.php:1408)
at Doctrine\DBAL\Schema\AbstractSchemaManager->_getPortableTableColumnList()
(vendor/doctrine/dbal/src/Schema/AbstractSchemaManager.php:423)
at Doctrine\DBAL\Schema\AbstractSchemaManager->doListTables()
(vendor/doctrine/dbal/src/Schema/MySQLSchemaManager.php:66)
at Doctrine\DBAL\Schema\MySQLSchemaManager->listTables()
(vendor/doctrine/dbal/src/Schema/AbstractSchemaManager.php:1651)
at Doctrine\DBAL\Schema\AbstractSchemaManager->createSchema()
(vendor/contao/installation-bundle/src/Database/Installer.php:111)
at Contao\InstallationBundle\Database\Installer->compileCommands()
(vendor/contao/installation-bundle/src/Database/Installer.php:43)
at Contao\InstallationBundle\Database\Installer->getCommands()
(vendor/contao/installation-bundle/src/Controller/InstallationController.php:374)
at Contao\InstallationBundle\Controller\InstallationController->adjustDatabaseTables()
(vendor/contao/installation-bundle/src/Controller/InstallationController.php:100)
at Contao\InstallationBundle\Controller\InstallationController->installAction()
(vendor/symfony/http-kernel/HttpKernel.php:153)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:202)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:44)
Code:
ErrorException:
Warning: Cannot modify header information - headers already sent by (output started at /mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-foundation/Response.php:381)
at /mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/HttpKernel/Header/NativeHeaderStorage.php:27
at Contao\CoreBundle\HttpKernel\Header\NativeHeaderStorage->add()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/EventListener/MergeHttpHeadersListener.php:126)
at Contao\CoreBundle\EventListener\MergeHttpHeadersListener->setResponseHeaders()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/EventListener/MergeHttpHeadersListener.php:57)
at Contao\CoreBundle\EventListener\MergeHttpHeadersListener->__invoke()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-kernel/HttpKernel.php:186)
at Symfony\Component\HttpKernel\HttpKernel->filterResponse()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-kernel/HttpKernel.php:174)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-kernel/HttpKernel.php:75)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-kernel/EventListener/ErrorListener.php:91)
at Symfony\Component\HttpKernel\EventListener\ErrorListener->onKernelException()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-kernel/HttpKernel.php:213)
at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-kernel/HttpKernel.php:109)
at Symfony\Component\HttpKernel\HttpKernel->terminateWithException()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:131)
at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/error-handler/ErrorHandler.php:607)
at Symfony\Component\ErrorHandler\ErrorHandler->handleException() )
Die hier gibt es dann gleich 3x
Code:
Doctrine\DBAL\Exception\TableNotFoundException:
An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbs8950729.tl_search' doesn't exist
at /mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:49
at Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/doctrine/dbal/src/Connection.php:1908)
at Doctrine\DBAL\Connection->handleDriverException()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/doctrine/dbal/src/Connection.php:1851)
at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/doctrine/dbal/src/Connection.php:1070)
at Doctrine\DBAL\Connection->executeQuery()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:284)
at Contao\Database\Statement->query()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database/Statement.php:240)
at Contao\Database\Statement->execute()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Search.php:790)
at Contao\Search::removeEntry()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/Framework/Adapter.php:46)
at Contao\CoreBundle\Framework\Adapter->__call()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/Search/Indexer/DefaultIndexer.php:115)
at Contao\CoreBundle\Search\Indexer\DefaultIndexer->delete()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/Search/Indexer/DelegatingIndexer.php:41)
at Contao\CoreBundle\Search\Indexer\DelegatingIndexer->delete()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/contao/core-bundle/src/EventListener/SearchIndexListener.php:65)
at Contao\CoreBundle\EventListener\SearchIndexListener->__invoke()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-kernel/HttpKernel.php:97)
at Symfony\Component\HttpKernel\HttpKernel->terminate()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/vendor/symfony/http-kernel/Kernel.php:159)
at Symfony\Component\HttpKernel\Kernel->terminate()
(/mnt/web007/b2/43/52544943/htdocs/contao4.13.12/public/index.php:48)
Ich habe ein wenig hier quergelesen und habe probiert ob Änderungen in der config.yml den ersten Fehler beheben können, aber ich habe es leider nicht hinbekommen. Ich bin für alle Hinweise dankbar!