Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21483

[Wizard Setup] Install fails at the deploy with error on unserializeContentClassAttribute

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 5.2-alpha1
    • 5.2-dev
    • Install

    Description

      The install (with wizard setup) fails at the deploy (latest) page.

      Build: #812 ttl

      Inicial error:

      PHP Fatal error:  Call to a member function unserializeContentClassAttribute() on a non-object in /var/www/html/ezpublish52/ezpublish_legacy/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 387, referer: http://52.cen.mcl/ezsetup
      

      After refresh error:

      PHP Fatal error:  mysqli_query(): Query error (1050): Table 'ezapprove_items' already exists. Query: CREATE TABLE ezapprove_items (\n  collaboration_id int(11) NOT NULL DEFAULT '0',\n  id int(11) NOT NULL AUTO_INCREMENT,\n  workflow_process_id int(11) NOT NULL DEFAULT '0',\n  PRIMARY KEY ( id )\n) ENGINE=InnoDB in /var/www/html/ezpublish52/ezpublish_legacy/lib/ezdb/classes/ezmysqlidb.php on line 419, referer: http://52.cen.mcl/ezsetup
      

      STACK TRACE - Inicial error:

      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP Fatal error:  Call to a member function unserializeContentClassAttribute() on a non-object in /var/www/html/ezpublish52/ezpublish_legacy/kernel/classes/packagehandlers/ezcontentclass/ezcontentclasspackagehandler.php on line 387, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP Stack trace:, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP   1. {main}() /var/www/html/ezpublish52/web/index.php:0, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP   2. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->handle() /var/www/html/ezpublish52/web/index.php:64, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP   3. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:36, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP   4. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->invalidate() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:190, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP   5. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->invalidate() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:57, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP   6. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->pass() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:261, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP   7. Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:244, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP   8. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP   9. eZ\\Bundle\\EzPublishCoreBundle\\Kernel->handle() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:473, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  10. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php:62, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  11. Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2220, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  12. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2918, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  13. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2789, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  14. call_user_func_array() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2815, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  15. eZ\\Bundle\\EzPublishLegacyBundle\\Controller\\LegacySetupController->init() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2815, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  16. eZ\\Publish\\Core\\MVC\\Legacy\\Kernel->run() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacySetupController.php:119, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  17. ezpKernel->run() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:78, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  18. ezpKernelWeb->run() /var/www/html/ezpublish52/ezpublish_legacy/kernel/private/classes/ezpkernel.php:53, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  19. ezpKernelWeb->dispatchLoop() /var/www/html/ezpublish52/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:318, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  20. eZModule->run() /var/www/html/ezpublish52/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:788, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  21. eZProcess::run() /var/www/html/ezpublish52/ezpublish_legacy/lib/ezutils/classes/ezmodule.php:1789, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  22. eZProcess->runFile() /var/www/html/ezpublish52/ezpublish_legacy/lib/ezutils/classes/ezprocess.php:21, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  23. include() /var/www/html/ezpublish52/ezpublish_legacy/lib/ezutils/classes/ezprocess.php:46, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  24. eZStepCreateSites->init() /var/www/html/ezpublish52/ezpublish_legacy/kernel/setup/ezsetup.php:182, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  25. eZStepCreateSites->initializePackage() /var/www/html/ezpublish52/ezpublish_legacy/kernel/setup/steps/ezstep_create_sites.php:164, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  26. eZPackage->install() /var/www/html/ezpublish52/ezpublish_legacy/kernel/setup/steps/ezstep_create_sites.php:894, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  27. eZPackage->installItem() /var/www/html/ezpublish52/ezpublish_legacy/kernel/classes/ezpackage.php:1871, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] PHP  28. eZContentClassPackageHandler->install() /var/www/html/ezpublish52/ezpublish_legacy/kernel/classes/ezpackage.php:1849, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] File does not exist: /var/www/html/ezpublish52/web/favicon.ico
      [Mon Sep 02 07:58:31 2013] [error] [client 10.0.1.1] File does not exist: /var/www/html/ezpublish52/web/favicon.ico
      

      STACK TRACE - After refresh error:

      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP Fatal error:  mysqli_query(): Query error (1050): Table 'ezapprove_items' already exists. Query: CREATE TABLE ezapprove_items (\n  collaboration_id int(11) NOT NULL DEFAULT '0',\n  id int(11) NOT NULL AUTO_INCREMENT,\n  workflow_process_id int(11) NOT NULL DEFAULT '0',\n  PRIMARY KEY ( id )\n) ENGINE=InnoDB in /var/www/html/ezpublish52/ezpublish_legacy/lib/ezdb/classes/ezmysqlidb.php on line 419, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP Stack trace:, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP   1. {main}() /var/www/html/ezpublish52/web/index.php:0, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP   2. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->handle() /var/www/html/ezpublish52/web/index.php:64, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP   3. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->handle() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:36, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP   4. eZ\\Bundle\\EzPublishCoreBundle\\HttpCache->invalidate() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:190, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP   5. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->invalidate() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/HttpCache.php:57, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP   6. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->pass() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:261, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP   7. Symfony\\Bundle\\FrameworkBundle\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:244, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP   8. Symfony\\Component\\HttpKernel\\HttpCache\\HttpCache->forward() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php:60, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP   9. eZ\\Bundle\\EzPublishCoreBundle\\Kernel->handle() /var/www/html/ezpublish52/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php:473, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  10. Symfony\\Component\\HttpKernel\\Kernel->handle() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishCoreBundle/Kernel.php:62, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  11. Symfony\\Component\\HttpKernel\\DependencyInjection\\ContainerAwareHttpKernel->handle() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2220, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  12. Symfony\\Component\\HttpKernel\\HttpKernel->handle() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2918, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  13. Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2789, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  14. call_user_func_array() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2815, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  15. eZ\\Bundle\\EzPublishLegacyBundle\\Controller\\LegacySetupController->init() /var/www/html/ezpublish52/ezpublish/bootstrap.php.cache:2815, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  16. eZ\\Publish\\Core\\MVC\\Legacy\\Kernel->run() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Bundle/EzPublishLegacyBundle/Controller/LegacySetupController.php:119, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  17. ezpKernel->run() /var/www/html/ezpublish52/vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Legacy/Kernel.php:78, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  18. ezpKernelWeb->run() /var/www/html/ezpublish52/ezpublish_legacy/kernel/private/classes/ezpkernel.php:53, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  19. ezpKernelWeb->dispatchLoop() /var/www/html/ezpublish52/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:318, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  20. eZModule->run() /var/www/html/ezpublish52/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php:788, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  21. eZProcess::run() /var/www/html/ezpublish52/ezpublish_legacy/lib/ezutils/classes/ezmodule.php:1789, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  22. eZProcess->runFile() /var/www/html/ezpublish52/ezpublish_legacy/lib/ezutils/classes/ezprocess.php:21, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  23. include() /var/www/html/ezpublish52/ezpublish_legacy/lib/ezutils/classes/ezprocess.php:46, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  24. eZStepCreateSites->init() /var/www/html/ezpublish52/ezpublish_legacy/kernel/setup/ezsetup.php:182, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  25. eZStepCreateSites->initializePackage() /var/www/html/ezpublish52/ezpublish_legacy/kernel/setup/steps/ezstep_create_sites.php:164, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  26. eZDBSchemaInterface->insertSchema() /var/www/html/ezpublish52/ezpublish_legacy/kernel/setup/steps/ezstep_create_sites.php:506, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  27. eZMySQLiDB->query() /var/www/html/ezpublish52/ezpublish_legacy/lib/ezdbschema/classes/ezdbschemainterface.php:410, referer: http://52.cen.mcl/ezsetup
      [Mon Sep 02 08:04:08 2013] [error] [client 10.0.1.1] PHP  28. trigger_error() /var/www/html/ezpublish52/ezpublish_legacy/lib/ezdb/classes/ezmysqlidb.php:419, referer: http://52.cen.mcl/ezsetup
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcos.loureiro-obsolete@ez.no Marcos Loureiro (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 45 minutes
                1h 45m