OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Installation/Technical Issues or Problems OroPlatform update, schema:update fails

This topic contains 3 replies, has 2 voices, and was last updated by  Ximousse 6 years ago.

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

  • Creator
    Topic
  • #35004

    Ximousse
    Participant

    Hi,

    I’ve recently updated an OroPlatform project to 1.3.1 everything went fine except I can not run this anymore:

    because of the following:

    failing with:

    I did it manually but the same problem appears with other queries. I know it comes from foreign keys constraint but that’s all.
    Any hint on how to solve this ? or did I miss something during the update ?

    Cheers,

    Maxime

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #35005
    Dima Soroka
    Dima Soroka
    Keymaster

    Did you upgrade your instance as described in UPGRADE.md file?

    #35006

    Ximousse
    Participant

    The only difference is that I use composer and not git to update OroPlatform.

    #35007

    Ximousse
    Participant

    I tried again, here’s what I did:

    I then had to manually add this line to my parameters.yml :

    then :

    which gave me the following error:

    so I deleted manually (starting by the foreign key constraint) the column ‘user_owner_id’ on table ‘oro_email_template’ then only did the upgrade work fine.

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

The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.

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

Yes No