OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Installation/Technical Issues or Problems Install fails on Centos 7.2.1511

This topic contains 24 replies, has 4 voices, and was last updated by  Michael 8 years, 1 month ago.

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

  • Creator
    Topic
  • #26990

    vfbsilva
    Participant

    Folks my installation fails with the following error:

    I have doubled checked my repositories and downloads, they should be oki.

    Composer is installed as you can see:

    I got it from https://getcomposer.org/download/ and I’m using version:
    1.0.0-alpha11 (2015-11-14)

    My machine has 2 GB RAM, is it enough? I’ve noticed that the machine almost runs into swap before failing at the installation. Ive read here https://github.com/composer/composer/issues/2704 and tried to install gaving the ram limit as a command line argument.

    Any pointers?

    Regards,
    vfbsilva

Viewing 9 replies - 16 through 24 (of 24 total)
  • Author
    Replies
  • #27006

    vfbsilva
    Participant

    So I manually added the file copying it from the stable branch but then again a file is missing:

    #27007

    Rodolfo
    Participant

    Hi @vfbsilva

    I feel that you’re trying to install using development brunch (master) instead of checking out from the latest release version. If you try to install following the instructions on readme, the composer takes a huge time to complete and of course eats lots of memory. Can you please confirm if you did those commands?

    git clone https://github.com/orocrm/crm-application.git
    cd crm-application
    git fetch –tags origin
    git checkout 1.9.0
    curl -s https://getcomposer.org/installer | php
    php -d memory_limit=2G composer.phar install –prefer-dist –no-dev
    php app/console oro:install –env prod

    After installing it, you have to set permissions on your symfony application. I’m not sure if CentOS have “chmod +a” or “setfacl”, but all descriptions can be found here: http://symfony.com/doc/2.7/book/installation.html#checking-symfony-application-configuration-and-setup

    If your server doesn’t have enough memory, you can create a swapfile and bust it a bit.

    #27008

    vfbsilva
    Participant

    @Rodolfo thanks for the reply. This install instructions differ a bit from the ones I’ve followed.
    I have composer installed. I’ve followed the installation instructions from here:
    http://oroinc.com/orocrm/doc/current/book/installation

    Those instructions do no encompass the procedures you have listed on the symphony docs. Also I do not have a symphony service running on port 8000 after following the instructions from the current install manual.

    #27009

    Rodolfo
    Participant

    The error is saying that you don’t have:

    /var/www/html/crm-application/vendor/autoload.php

    This file is automatically generated when you install it using composer. Can you confirm if that file exist?

    #27010

    vfbsilva
    Participant

    In many places:

    All owned by the apache user.

    #27011

    Rodolfo
    Participant

    Why do you have orocrm and crm-application? You only need crm-application .

    Indeed you don’t have ./html/crm-application/vendor/autoload.php

    #27012

    vfbsilva
    Participant

    Because I’ve renamed the folder, is it such a problem are the paths hardcoded on install?

    #27013

    Michael
    Keymaster

    The paths are not hardcoded.
    The problem is that you do not have a file vendor/autoload.php

    This file is created by composer when you run composer install
    If you copied this file from another installation – it may not work

    If you already downloaded all the required dependencies you can just run composer dump-autoload
    It will update (or create if it is missing) the file vendor/autoload.php

    It may be a solution, but I recommend you complete the normal process of installing the application with composer install
    As I’ve said above copying dependencies from another installation may not work – because you may have copied outdated or incompatible versions.

    #27014

    Michael
    Keymaster

    Here is the bare bones version of the installation instructions from http://oroinc.com/orocrm/doc/current/book/installation

Viewing 9 replies - 16 through 24 (of 24 total)

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

Back to top