DB Error bei Installation

Hallo,

nachdem ich, während der Installation, die Parameter für die Datenbank eingegeben habe, erhalte ist sofort den folgenden Fehler:

Error
Received an error message.
URL: importDatabase
Message: Internal Server Error

Please try to fix this error and restart the update.
Response
Slim Application Error
The application could not run because of the following error:

Details
Type: Doctrine\DBAL\DBALException
Message: An exception occurred while executing 'INSERT IGNORE INTO migration (`class`, `creation_timestamp`) VALUES ('Shopware\\Core\\Migration\\Migration1536232600Language','1536232600'), ('Shopware\\Core\\Migration\\Migration1536232610Locale','1536232610'), ('Shopware\\Core\\Migration\\Migration1536232620SalesChannelType','1536232620'), ('Shopware\\Core\\Migration\\Migration1536232630PropertyGroup','1536232630'), ('Shopware\\Core\\Migration\\Migration1536232640Currency','1536232640'), ('Shopware\\Core\\Migration\\Migration1536232650CustomerGroup','1536232650'), ('Shopware\\Core\\Migration\\Migration1536232660Tax','1536232660'), ('Shopware\\Core\\Migration\\Migration1536232670Unit','1536232670'), ('Shopware\\Core\\Migration\\Migration1536232680Rule','1536232680'), ('Shopware\\Core\\Migration\\Migration1536232690Version','1536232690'), ('Shopware\\Core\\Migration\\Migration1536232700VersionCommit','1536232700'), ('Shopware\\Core\\Migration\\Migration1536232710Integration','1536232710'), ('Shopware\\Core\\Migration\\Migration1536232720Country','1536232720'), ('Shopware\\Core\\Migration\\Migration1536232730CountryState','1536232730'), ('Shopware\\Core\\Migration\\Migration1536232740SnippetSet','1536232740'), ('Shopware\\Core\\Migration\\Migration1536232750Snippet','1536232750'), ('Shopware\\Core\\Migration\\Migration1536232760StateMachine','1536232760'), ('Shopware\\Core\\Migration\\Migration1536232770VersionCommitData','1536232770'), ('Shopware\\Core\\Migration\\Migration1536232790MailHeaderFooter','1536232790'), ('Shopware\\Core\\Migration\\Migration1536232800DeliveryTime','1536232800'), ('Shopware\\Core\\Migration\\Migration1536232810User','1536232810'), ('Shopware\\Core\\Migration\\Migration1536232820UserAccessKey','1536232820'), ('Shopware\\Core\\Migration\\Migration1536232830MediaDefaultFolder','1536232830'), ('Shopware\\Core\\Migration\\Migration1536232840MediaFolder','1536232840'), ('Shopware\\Core\\Migration\\Migration1536232850Media','1536232850'), ('Shopware\\Core\\Migration\\Migration1536232860ShippingMethod','1536232860'), ('Shopware\\Core\\Migration\\Migration1536232870ShippingMethodPrice','1536232870'), ('Shopware\\Core\\Migration\\Migration1536232880Category','1536232880'), ('Shopware\\Core\\Migration\\Migration1536232890CmsPage','1536232890'), ('Shopware\\Core\\Migration\\Migration1536232900CmsBlock','1536232900'), ('Shopware\\Core\\Migration\\Migration1536232910CmsSlot','1536232910'), ('Shopware\\Core\\Migration\\Migration1536232920PaymentMethod','1536232920'), ('Shopware\\Core\\Migration\\Migration1536232930Navigation','1536232930'), ('Shopware\\Core\\Migration\\Migration1536232940SalesChannel','1536232940'), ('Shopware\\Core\\Migration\\Migration1536232950Salutation','1536232950'), ('Shopware\\Core\\Migration\\Migration1536232960Customer','1536232960'), ('Shopware\\Core\\Migration\\Migration1536232970CustomerAddress','1536232970'), ('Shopware\\Core\\Migration\\Migration1536232980Cart','1536232980'), ('Shopware\\Core\\Migration\\Migration1536232990Order','1536232990'), ('Shopware\\Core\\Migration\\Migration1536233000OrderCustomer','1536233000'), ('Shopware\\Core\\Migration\\Migration1536233010OrderAddress','1536233010'), ('Shopware\\Core\\Migration\\Migration1536233020OrderDelivery','1536233020'), ('Shopware\\Core\\Migration\\Migration1536233030OrderLineItem','1536233030'), ('Shopware\\Core\\Migration\\Migration1536233040OrderDeliveryPosition','1536233040'), ('Shopware\\Core\\Migration\\Migration1536233050OrderTransaction','1536233050'), ('Shopware\\Core\\Migration\\Migration1536233060MediaFolderConfiguration','1536233060'), ('Shopware\\Core\\Migration\\Migration1536233070MediaThumbnailSize','1536233070'), ('Shopware\\Core\\Migration\\Migration1536233080MediaFolderConfigurationMediaThumbnailSize','1536233080'), ('Shopware\\Core\\Migration\\Migration1536233090MediaThumbnail','1536233090'), ('Shopware\\Core\\Migration\\Migration1536233100PropertyGroupOption','1536233100'), ('Shopware\\Core\\Migration\\Migration1536233110ProductManufacturer','1536233110'), ('Shopware\\Core\\Migration\\Migration1536233120Product','1536233120'), ('Shopware\\Core\\Migration\\Migration1536233130ProductMedia','1536233130'), ('Shopware\\Core\\Migration\\Migration1536233140ProductProperty','1536233140'), ('Shopware\\Core\\Migration\\Migration1536233150ProductOption','1536233150'), ('Shopware\\Core\\Migration\\Migration1536233160ProductConfigurator','1536233160'), ('Shopware\\Core\\Migration\\Migration1536233170ProductCategoryTree','1536233170'), ('Shopware\\Core\\Migration\\Migration1536233180ProductCategory','1536233180'), ('Shopware\\Core\\Migration\\Migration1536233190ProductPriceRule','1536233190'), ('Shopware\\Core\\Migration\\Migration1536233200RuleCondition','1536233200'), ('Shopware\\Core\\Migration\\Migration1536233210SalesChannelDomain','1536233210'), ('Shopware\\Core\\Migration\\Migration1536233220PluginTranslation','1536233220'), ('Shopware\\Core\\Migration\\Migration1536233230ProductStream','1536233230'), ('Shopware\\Core\\Migration\\Migration1536233240ProductStreamFilter','1536233240'), ('Shopware\\Core\\Migration\\Migration1536233250MessageQueueStats','1536233250'), ('Shopware\\Core\\Migration\\Migration1536233260StateMachineHistory','1536233260'), ('Shopware\\Core\\Migration\\Migration1536233270SystemConfig','1536233270'), ('Shopware\\Core\\Migration\\Migration1536233280CustomFieldSet','1536233280'), ('Shopware\\Core\\Migration\\Migration1536233290CustomFieldSetRelation','1536233290'), ('Shopware\\Core\\Migration\\Migration1536233300CustomField','1536233300'), ('Shopware\\Core\\Migration\\Migration1536233310ScheduledTask','1536233310'), ('Shopware\\Core\\Migration\\Migration1536233320DeadMessage','1536233320'), ('Shopware\\Core\\Migration\\Migration1536233330MailTemplate','1536233330'), ('Shopware\\Core\\Migration\\Migration1536233340NumberRange','1536233340'), ('Shopware\\Core\\Migration\\Migration1536233350ProductVisibility','1536233350'), ('Shopware\\Core\\Migration\\Migration1536233360Document','1536233360'), ('Shopware\\Core\\Migration\\Migration1536233370EventAction','1536233370'), ('Shopware\\Core\\Migration\\Migration1536233380UserRecovery','1536233380'), ('Shopware\\Core\\Migration\\Migration1536233390Promotion','1536233390'), ('Shopware\\Core\\Migration\\Migration1536233400MailTemplateMedia','1536233400'), ('Shopware\\Core\\Migration\\Migration1536233410PromotionSalesChannel','1536233410'), ('Shopware\\Core\\Migration\\Migration1536233420PromotionDiscount','1536233420'), ('Shopware\\Core\\Migration\\Migration1536233430NewsletterRecipient','1536233430'), ('Shopware\\Core\\Migration\\Migration1536233440PromotionPersonaCustomer','1536233440'), ('Shopware\\Core\\Migration\\Migration1536233450PromotionPersonaRules','1536233450'), 
[...]

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'sw6.migration' doesn't exist
File: /var/www/sw6/public/recovery/common/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php
Line: 172

Es sieht für mich so aus, als würden die Tabellen, die hier bereits verwendet werden sollen, noch gar nicht existieren. Ein Blick in phpmyadmin bestätigt dies auch: Keine Tabelle vorhanden. Was kann man da tun?

Vielen Dank und viele Grüße :slight_smile:

Hast du MariaDB 10.3+ oder MySQL 5.7+ im Einsatz?
Das wäre ein typischer Fehler, wenn die DB-Version nicht passt.

Ich habe 10.1.26-MariaDB-0+deb9u1 - Debian 9.1

Und nun? Bedeutet das etwa, dass ich SW 6 nicht nutzen kann?

Auf dem Hosting kannst du Shopware 6 nicht nutzen, da du die Mindestanforderungen ans System nicht erfüllst. Hier solltest du mit deinem Hoster sprechen, ob ein entsprechenden Datenbankupdate vorgenommen werden kann.

achso, ich muss mindesten 10.3. haben…verstehe. Das habe ich zuerst übersehenn und dann gerade falsch verstannden. sorry. Vielen Dank für den Tipp