OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums OroCRM OroCRM – Installation/Technical Issues or Problems Install Issue Failed migrations: OroEmailBundleInstall

This topic contains 1 reply, has 2 voices, and was last updated by Andrey Yatsenko Andrey Yatsenko 1 week, 5 days ago.

  • Creator
    Topic
  • #39914

    Andrew
    Participant

    Hi, I’m trying to install OROCrm first time and have an issue with this.

    OS – Linux
    OROCrm 3.1
    PHP 7.2.5 (cli + web) ( NTS ) on php-fpm using socket
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.2.5, Copyright (c) 1999-2018, by Zend Technologies
    with Xdebug v2.7.0, Copyright (c) 2002-2019, by Derick Rethans
    nginx version: nginx/1.14.0
    DB – 10.2.22-MariaDB

    I’m stopped in installation step


    ...
    > Oro\Bundle\ActivityListBundle\Migration\ActivityListMigration - skipped
    > Oro\Bundle\EntityExtendBundle\Migration\UpdateExtendIndicesMigration - skipped
    > Oro\Bundle\EntityConfigBundle\Migration\WarmUpEntityConfigCacheMigration - skipped
    In MigrationExecutor.php line 116:
    Failed migrations: Oro\Bundle\EmailBundle\Migrations\Schema\OroEmailBundleI
    nstaller.
    oro:migration:load [--force] [--dry-run] [--show-queries] [--bundles [BUNDLES]] [--exclude [EXCLUDE]] [--timeout [TIMEOUT]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--disabled-listeners DISABLED-LISTENERS] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--] <command>
    The command '/usr/bin/php' './bin/console' 'oro:migration:load' '--force' '--timeout=300' '--no-debug' terminated with an exit code: 1.
    --force: command not found

    And at this step I get the error described above.

    Installation:

    php -dxcache.cacher=0 ./bin/console oro:install \
    --application-url=http://orocrm.local/ \
    --env=dev \
    --user-name=admin \
    --user-email=admin@example.com \
    --user-firstname=John \
    --user-lastname=Doe \
    --user-password=admin123 \
    --sample-data=y
    --current-organization=AcmeInc \
    --force \
    --timeout=10000

    I tried to do this several times from the beginning, but the error was repeated.

    Please tell me what am I doing wrong?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #39925
    Andrey Yatsenko
    Andrey Yatsenko
    Moderator

    There is no “–force” flag for the installation command at 3.1.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No