OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce Errors While Downloading and Trying install

This topic contains 4 replies, has 3 voices, and was last updated by  Adria Navarro 8 years, 8 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
  • #30996

    Adria Navarro
    Participant

    I get the first error while executing:
    -git submodule update –init

    I’m working on Ubuntu, and the error was:
    Submodule ‘src/OroPackages/src/Oro/Bundle/EntitySerializedFieldsBundle’ (git@github.com:orocrm/OroEntitySerializedFieldsBundle.git) registered for path ‘src/OroPackages/src/Oro/Bundle/EntitySerializedFieldsBundle’
    Cloning into ‘src/Oro’…
    Permission denied (publickey).
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.
    Clone of ‘git@github.com:orocrm/platform.git’ into submodule path ‘src/Oro’ failed

    Then i cloned the submodules manually one by one:
    -git clone https://github.com/orocrm/platform.git Oro
    -git clone https://github.com/orocrm/orocommerce.git OroB2B
    -git clone https://github.com/orocrm/OroEntitySerializedFieldsBundle.git EntitySerializedFieldsBundle

    Installed dependencies with composer:
    -php composer.phar install –prefer-source

    And finally executed:
    -php app/console oro:install –env prod

    The final error is about dependencies i think:
    PHP Fatal error: Uncaught exception ‘Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException’ with message ‘The service “oro_integration.form.type.oro_integration_type_select” has a dependency on a non-existent service “assets.packages”.’ in /var/www/html/oro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php:58
    Stack trace:
    #0 /var/www/html/oro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php(42): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processReferences(Array)
    #1 /var/www/html/oro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php(36): Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processDefinition(Object(Symfony\Component\DependencyInjection\Definition))
    #2 /var/www/html/oro/vendor/symfony/symf in /var/www/html/oro/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php on line 58

    Hope u know what is happening.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Author
    Replies
  • #30997

    Michael
    Keymaster

    OroPlatform master contains the dependency on Symfony 2.7, which is not yet supported in other applications. To get rid of the Fatal Error please checkout revision 9d842242c32b7c0f402f5670cdd80cd2cc8d8b72 of OroPlatform:


    cd src/Oro
    git checkout 9d842242c32b7c0f402f5670cdd80cd2cc8d8b72

    #30998

    Ibnab
    Participant

    forget manually system just create valid public key for github
    and all will be cool
    https://help.github.com/articles/generating-ssh-keys/


    CEO Of Ibnab

    #30999

    Michael
    Keymaster

    or, if you do not want to deal with ssh keys at all, you can tell Git to always use https protocol instead of ssh:

    git config --global url."https://github.com/".insteadOf git@github.com:

    #31000

    Adria Navarro
    Participant

    Thanks Michael!
    Changing the config to https it worked for me!
    I had to insall everything again, but it’s ok!

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

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

Back to top