ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

This topic contains 5 replies, has 4 voices, and was last updated by  Sergey 1 year, 8 months ago.

  • Creator
    Topic
  • #12861

    manhapt
    Participant

    Hi guys,

    I’m upgrading my OroCRM from v1.5 to 1.8 but couldn’t pass this error. Please give me some instruction:
    ………………………
    > loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\LoadNewsletterSubscriberStatusData

    [Doctrine\Common\Persistence\Mapping\MappingException]
    Class ‘Extend\Entity\EV_Mage_Subscr_Status’ does not exist

    oro:migration:data:load [–fixtures-type [FIXTURES-TYPE]] [–dry-run] [–bundles [BUNDLES]] [–exclude [EXCLUDE]] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–jms-job-id JMS-JOB-ID] [–current-user CURRENT-USER] [–current-organization CURRENT-ORGANIZATION] [–disabled-listeners DISABLED-LISTENERS] [–] <command>

    [RuntimeException]
    The command terminated with an exit code: 1.

    Exception trace:
    () at /home/dev/www/crmapp/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:200
    Oro\Bundle\InstallerBundle\CommandExecutor->processResult() at /home/dev/www/crmapp/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:143
    Oro\Bundle\InstallerBundle\CommandExecutor->runCommand() at /home/dev/www/crmapp/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/Command/PlatformUpdateCommand.php:57
    Oro\Bundle\InstallerBundle\Command\PlatformUpdateCommand->execute() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:259
    Symfony\Component\Console\Command\Command->run() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:886
    Symfony\Component\Console\Application->doRunCommand() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:195
    Symfony\Component\Console\Application->doRun() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:96
    Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /home/dev/www/crmapp/vendor/jms/job-queue-bundle/JMS/JobQueueBundle/Console/Application.php:45
    JMS\JobQueueBundle\Console\Application->doRun() at /home/dev/www/crmapp/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:126
    Symfony\Component\Console\Application->run() at /home/dev/www/crmapp/app/console:23

    Regards,
    Manh – Balance Internet

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #12862

    manhapt
    Participant

    Sorry the command was:
    app/console oro:platform:update –force –env=prod –timeout=0 –verbose

    More info:
    Using the existing DB of OroCRM 1.5.
    PHP 5.6.12 (cli) (built: Aug 6 2015 17:14:56)
    Server version: 5.6.26 MySQL Community Server (GPL)
    OS: CentOS 7

    #12863

    mccar
    Oro Core

    Hi.

    Check all steps are correct:
    1. Restore from backup your DB to v 1.5 and update sources to 1.8
    2. Run: composer update
    3. Run:
    app/console cache:clear –env=prod
    or
    rm -Rf app/cache/prod
    4. Run:
    app/console oro:platform:update –force –env=prod –timeout=0

    #12865

    manhapt
    Participant

    Hey mccar,
    I did it but no luck. Any other suggestion guys?

    Step 1:
    $ php -d memory_limit=-1 ../composer.phar update
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    – Updating oro/platform dev-master (9e804ba => ec63483)
    Checking out ec634839c52cb45bc291f667b0e088234c70b864

    Writing lock file
    Generating autoload files
    > ComponentInstaller\Installer::postAutoloadDump
    Compiling component files
    > Incenteev\ParameterHandler\ScriptHandler::buildParameters
    Updating the “app/config/parameters.yml” file
    > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
    > Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
    > Oro\Bundle\InstallerBundle\Composer\ScriptHandler::setPermissions
    > Oro\Bundle\InstallerBundle\Composer\ScriptHandler::installAssets

    Step 2:
    $ mysql -uroot -p111111 crmapp_15 < ../crmapp_fixed_1.5.sql
    Warning: Using a password on the command line interface can be insecure.

    Step 3:
    $ rm -rf app/cache/*
    $ app/console cache:clear–env=prod

    > loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\LoadNewsletterSubscriberStatusData

    Step 4:
    $ php app/console oro:platform:update –force –env=prod –timeout=0 –verbose
    Process migrations…
    …………………………
    > loading OroCRM\Bundle\MagentoBundle\Migrations\Data\ORM\LoadNewsletterSubscriberStatusData

    [Doctrine\Common\Persistence\Mapping\MappingException]
    Class ‘Extend\Entity\EV_Mage_Subscr_Status’ does not exist

    #14033

    Patrick Steadman
    Participant

    Hello, I am having the same issue. Were you ever able to resolve this?
    Thanks.

    #15309

    Sergey
    Oro Core

    Hi @patrick_steadman @manhapt!

    Hi, @ptsteadman!

    Please remove caches rm -rf app/cache/* before update and make sure MagentoBundle migrations executed

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.