ssossossosso

Forums

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

This topic contains 1 reply, has 2 voices, and was last updated by zebimax zebimax 3 weeks, 6 days ago.

  • Creator
    Topic
  • #37726

    enrique
    Participant

    Hi,

    I´m trying to upgrade OroCrm from 1.10 to the latest version 2.3.1.

    All went fine but when I ran the command:
    php app/console oro:platform:upgrade20 –env=prod –force

    This is the error I got when is loading “main” data fixtures:

    [info] >> process trigger: schedule_mailchimp_segment_synchronization [create] –
    updated
    [info] >> process trigger: schedule_mailchimp_segment_synchronization [update] –
    updated
    [info] >> process trigger: sync_email_flag_after_changed [update] – updated
    [info] >> process trigger: synchronize_marketing_list_item_for_mailchimp_member_
    activity [create] – updated
    [info] >> process triggers modifications stored in DB
    Loading “main” data fixtures …
    > loading Oro\Bundle\ScopeBundle\Migrations\Data\ORM\LoadDefaultScope
    > loading Oro\Bundle\MarketingActivityBundle\Migrations\Data\ORM\LoadDataField
    EnumValues

    [Doctrine\Common\Persistence\Mapping\MappingException]
    Class ‘Extend\Entity\EV_Ma_Type’ 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] [–proce
    ss-isolation] [-e|–env ENV] [–no-debug] [–current-user CURRENT-USER] [–curre
    nt-organization CURRENT-ORGANIZATION] [–disabled-listeners DISABLED-LISTENERS]
    [–] <command>

    [RuntimeException]
    The command “F:\Bitnami\orocrm-2.3.0-0\php\php.exe” “app/console” “oro:migr
    ation:data:load” “–env=prod” terminated with an exit code: 1.

    oro:platform:update [–force] [–skip-assets] [–symlink] [–skip-translations]
    [–skip-download-translations] [–force-debug] [–timeout [TIMEOUT]] [-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] [–
    current-user CURRENT-USER] [–current-organization CURRENT-ORGANIZATION] [–disa
    bled-listeners DISABLED-LISTENERS] [–] <command>

    [RuntimeException]
    The command “F:\Bitnami\orocrm-2.3.0-0\php\php.exe” “app/console” “oro:plat
    form:update” “–force” “–timeout=300” “–env=prod” terminated with an exit
    code: 1.

    Any idea why says doesn´t exist that class??

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #37745
    zebimax
    zebimax
    Participant

    Hi, Enrique. I have tested your use case but I found no issues with it on Linux OS. I guess your issue is connected with file permissions in cache folder, but as far as we do not support Windows OS for production(please check OroCRM OS requirements), I would recomend you to use one of the offically supported OS.
    Thank you.

    #39060

    michael.wylde
    Participant

    Hi,

    I am also trying to upgrade from 1.10 to 2.1.* and have run into this issue. I am using CentOS7 PHP7 and all other requirements have been met.

    php app/console oro:platform:update --env=prod --force;

    I have checked and the Bundle is included in: app/cache/prod/bundles.php
    I have checked app/cache/oro_entities/Extend/Entity/ and the EV_Ma_Type is not present.
    I have rm -rf app/cache. Disabled opcache. Restarted phpfpm and apache.

    • This reply was modified 2 weeks, 2 days ago by  mmiasnikov.
    • This reply was modified 2 weeks, 2 days ago by  mmiasnikov. Reason: Formatted command output
Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.