One-Klick-Installer bricht ab in Step 1/2

Servus aus München in die Runde,

Environment:

Synology NAS, MariaDB 10, php 5.6, Apache 2.2.

Hätte gern php7 und Apache 2.4, aber das war nicht ans Laufen zu bringen. Es kostet einige graue Haare bis man überhaupt mal vorwärts kommt. Alle Verzeichnisrechte zu 777, Nicht localhost verwenden, sondern IP, Port 3307 und nicht 3306, http-User der NAS ein Systemuser braucht Schreibrechte, root-user auf externen Zugriff stellen. Plug-and-Pray…

Nun komme ich aber nicht mehr so recht weiter … Ideen Eurerseits wären exterminatorisch.

 

Liebe Grüße

Peter

Fehler:

Error

**Received an error message.
URL: importDatabase?offset=1700&totalCount=2297
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: RuntimeException

Message: Identifier DB not initialized yet

File: /volume1/web/shopware/recovery/install/src/ContainerProvider.php

Line: 162

Trace

  

#0 /volume1/web/shopware/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(113): Shopware\Recovery\Install\ContainerProvider->Shopware\Recovery\Install{closure}(Object(Pimple\Container))#1 /volume1/web/shopware/recovery/install/src/app.php(540): Pimple\Container->offsetGet(‚db‘)#2 [internal function]: {closure}()#3 /volume1/web/shopware/recovery/common/vendor/slim/slim/Slim/Route.php(462): call_user_func_array(Object(Closure), Array)#4 /volume1/web/shopware/recovery/common/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route->dispatch()#5 /volume1/web/shopware/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call()#6 /volume1/web/shopware/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call()#7 /volume1/web/shopware/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call()#8 /volume1/web/shopware/recovery/common/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions->call()#9 /volume1/web/shopware/recovery/install/index.php(75): Slim\Slim->run()

#10 {main}

Edit:

Die Datenbanken wurde aber angelegt. Den Installer nochmal gestartet und er lief durch. 

Im Backend nach Sprachenauswahl:

Ups! Ein Fehler ist aufgetreten! Die nachfolgenden Hinweise sollten Ihnen weiterhelfen. An exception occurred while executing ‘INSERT INTO s_core_config_values (element_id, shop_id, value) VALUES ( (SELECT id FROM s_core_config_elements WHERE name LIKE ‘trackingUniqueId’ LIMIT 1), 1, ? )’ with params [“s:32:“5uzvOhhTqxqozBigq7NNNdfQLizuv9lr”;”]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘966-1’ for key ‘element_id_shop_id’ in vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php on line 119 Stack trace: #0 vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(996): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(PDOException), ‘INSERT INTO s_c…’, Array) #1 engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(103): Doctrine\DBAL\Connection->executeUpdate(‘INSERT INTO s_c…’, Array) #2 engine/Shopware/Bundle/PluginInstallerBundle/Service/UniqueIdGenerator/UniqueIdGenerator.php(62): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator->storeUniqueIdInDb(‘5uzvOhhTqxqozBi…’) #3 engine/Shopware/Bundle/PluginInstallerBundle/StoreClient.php(293): Shopware\Bundle\PluginInstallerBundle\Service\UniqueIdGenerator\UniqueIdGenerator->getUniqueId() #4 engine/Shopware/Controllers/Backend/FirstRunWizardPluginManager.php(236): Shopware\Bundle\PluginInstallerBundle\StoreClient->doTrackEvent(‘First Run Wizar…’) #5 engine/Library/Enlight/Controller/Action.php(159): Shopware_Controllers_Backend_FirstRunWizardPluginManager->getAvailableLocalizationsAction() #6 engine/Library/Enlight/Controller/Dispatcher/Default.php(530): Enlight_Controller_Action->dispatch(‘getAvailableLoc…’) #7 engine/Library/Enlight/Controller/Front.php(223): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp)) #8 engine/Shopware/Kernel.php(189): Enlight_Controller_Front->dispatch() #9 vendor/symfony/http-kernel/HttpCache/HttpCache.php(491): Shopware\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #10 engine/Shopware/Components/HttpCache/AppCache.php(268): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(Object(Symfony\Component\HttpFoundation\Request), true, NULL) #11 vendor/symfony/http-kernel/HttpCache/HttpCache.php(258): Shopware\Components\HttpCache\AppCache->forward(Object(Symfony\Component\HttpFoundation\Request), true) #12 engine/Shopware/Components/HttpCache/AppCache.php(105): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass(Object(Symfony\Component\HttpFoundation\Request), true) #13 shopware.php(118): Shopware\Components\HttpCache\AppCache->handle(Object(Symfony\Component\HttpFoundation\Request)) #14 {main}  

OK

Erspare Dir den Krampf und sorge erstmal für: http://community.shopware.com/Systemanforderungen_detail_1840.html

Die Systemanforderungen sind gegeben. Nun gehts beim Speichern der Shop-Grundeinstellungen plötzlich zurück zum Schritt der Datenbankeingabe.

Jugend forscht :slight_smile:

Mittlerweile läufts. Danke an meinen Hoster / Provider.