ssossossosso

Forums

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

This topic contains 4 replies, has 3 voices, and was last updated by  Adria Navarro 2 years, 3 months ago.

  • Creator
    Topic
  • #221

    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
  • #222
    Michael
    Michael
    Oro Core

    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

    #223
    Ibnab
    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

    #224
    Michael
    Michael
    Oro Core

    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:

    #225

    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)

You must be logged in to reply to this topic.