skip to Main Content

I’m upgrading an OroCommerce installation from version 3.1.17 to 4.1.1.

I’ve upgraded php to 7.3.15 and I’m going through the upgrade instructions in a VM.

When I run the command sudo php bin/console oro:platform:update --env=prod --force I get this message:

In OroEntityExtendBundle.php line 121:

  In ContainerBuilder.php line 1032:                     

    You have requested a non-existent service "mail".

Any ideas? Thanks

2

Answers


  1. Chosen as BEST ANSWER

    I just found my answer at https://github.com/oroinc/platform/blob/master/CHANGELOG.md

    The problem was I copied the parameters from my previous installation and the mail transport is not up to date.


  2. Please follow the changelog.md to see all the changes that the customization can be affected with.

    Here is the related paragraph:

    Due to the updated version of symfony/swiftmailer-bundle parameter
    mailer_transport: mail is not supported anymore. Using old transport
    will cause such an exception

    Unable to replace alias
    “swiftmailer.mailer.default.transport.real” with actual definition
    “mail”. You have requested a non-existent service “mail”.

    Please use
    mailer_transport: sendmail instead or another available swiftmailer
    transport type.

    https://github.com/oroinc/platform/search?l=Markdown&q=mail%20sendmail

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search