OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Issue on installing

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

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #31286

    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
  • #31287

    Michael
    Keymaster

    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;).

    #31288

    @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)

The forum ‘OroCommerce’ is closed to new topics and replies.

Back to top