OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Installation/Technical Issues or Problems Stuck in step 3 – Database initialization

This topic contains 14 replies, has 10 voices, and was last updated by msulima msulima 2 years, 10 months ago.

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

  • Creator
  • #26164
    Simon Janssen
    Simon Janssen

    I’m stuck in step 3 from the installation. De database initialization stops at step 3. The “schema update” fails. Does anyone know what the problem could be?

    Using PHP 5.5.10 and using APC cache. My localhost works under MAMP PRO.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Author
  • #26165

    Alexandr Smaga


    Could you please share app/logs/install.log with us? Also you can try to install from console using app/console oro:install it has more verbose error output.



    Hello. I`m try to install OroCrm and have the same problem as Simon.
    If i try install through cli by command:

    I get the error:


    Simon Janssen
    Simon Janssen

    Hello Alexandr,

    If i try to install trough commandline it gives a lot of errors saying my date.timezone isnt’ configured properly, my memory_limit is insufficient and APC cache is disabled. Running a php_info file says the memory_limit is ok, APC is enabled, etc, etc.

    When running the installation via the browser i can install ORO CRM but won’t get further then step 3.
    (one minor detail; NodeJS is not working i suppose. I have installed Node via de Mac OS X package and running the ‘node –version” command gives me a current version. Maybe the problem is the global path in bash profile.)

    The installation log is enclosed:



    Hi, I have the same problem and I’m also using MAMP. I get stuck in step 3 in the browser, it fails me in the schema update, I dont know why.
    In terminal I get.

    The process timed-out.

    Even if I change the max_execution_time = 300 in php.ini file, doesn’t work.


    Alexandr Smaga

    Hello @johngervas.
    All installation commands run as separated process from CLI, so need to modify max_execution_time in php5/cli/php.ini



    Hi @asmaga,
    I’m using MAMP in MacOS, I have changed that parameter in etc/php.ini, and in /Applications/MAMP/bin/php/php5.5.10/conf/php.ini. I dont think theres a another php.ini.


    Alexandr Smaga

    Can you try to run php -i | grep php.ini from console, in order to find which php.ini is used ?



    Yes I can. The result is:

    Ayushi Sangal
    Ayushi Sangal


    I also got an error after administration setup

    Application URL (http://localhost/oro/): http://mfmis.webmuch.com/platform-application/web
    Company name (ORO Business Application Platform): TARA_MFI
    Company short name (ORO): TARA_MFI
    Username: admin
    Email: show email
    First name: aayush
    Last name: shastri
    Load sample data (y/n)? n

    An exception occurred while executing ‘SELECT t0.id AS id1, t0.entity AS en
    tity2, t0.record_id AS record_id3 FROM oro_config t0 WHERE t0.entity = ? AN
    D t0.record_id = ? LIMIT 1’ with params [“app”, 0]:
    SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

    SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

    can anyone let me know how to get out of this.

    tal shitrit
    tal shitrit

    I’m shearing the same issue as simon.

    My error after installing rom the command line is:

    The error when i’m trying thru the wizard:

    What can i do?




    @xoma I know this answer comes really late but I’m adding it for people that get here from google. You need to manually delete some database tables before trying to reinstall:

    For postgresql you can run this command before reinstalling:




    i have the same issue as you were…. How did you solved it?



    Hi ! i have a similar problem with the migration,

    What can i do?

    Thanks a lot


    Hello, benjamin.goumot.

    Can you please provide version of application that you try to update and from what version.
    Also would be have to see parameters of your environment and command that you executed.

    I see that many installers were executed. It seems it is clear installation. So I need more info to have ability to reproduce this issue.

    Thank you a lot!

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

The forum ‘OroCRM – 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