ssossossosso

Forums

Covering OroCommerce topics, B2B eCommerce trends, community updates and company announcements.

This topic contains 2 replies, has 2 voices, and was last updated by  Telmo “Trooper” 9 months ago.

  • Creator
    Topic
  • #2088

    Telmo “Trooper”
    Participant

    Hello guys, I’m not huge on PHP but I’m trying to mess with OroCommerce a bit and I’m having an annoying issue during installation. I’m pretty sure I’m already done with setting up the extensions and the MariaDB/MySQL server, but when I run php app/console oro:install --env prod, among all the messages I get the following error:

    ERROR: The target-entity OroEntityProxy\OroEmailBundle\EmailAddressProxy cannot be found in 'Oro\Bundle\EmailBundle\Entity\Email#fromEmailAddress'.

    Here’s the full output in case it’s required: http://pastebin.com/raw/aBAAQtxx

    Does anyone know how to fix this? Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #2090
    Michael
    Michael
    Oro Core

    Please make sure to clean the cache before restarting the installation:
    rm -rf app/cache/{prod,dev}

    Additionally, it might be necessary to re-create the database (drop database X; create database X;).

    #2096

    Telmo “Trooper”
    Participant

    @Michael Thank you for your answer, I ended up recreating the database, deleting my orocommerce-application folder and recloning it from git. Then I ended up with this timeout issue:
    Symfony\Component\Process\Exception\ProcessTimedOutException]<br />  The process "'/usr/bin/php' 'app/console' 'oro:migration:load' '--force' '--timeout=300' '--env=prod'" exceeded the timeout of 300 seconds.
    but adding –timeout=0 to the command fixed it for good.

    [Resolved]

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

You must be logged in to reply to this topic.