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 6 years, 5 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
  • #26164

    Simon Janssen
    Participant

    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
    Replies
  • #26165

    Alexandr Smaga
    Participant

    Hello.

    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.

    #26166

    xoma
    Participant

    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:

    Thanks!

    #26167

    Simon Janssen
    Participant

    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:

    #26168

    johngervas
    Participant

    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.


    [Symfony\Component\Process\Exception\RuntimeException]
    The process timed-out.

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

    #26169

    Alexandr Smaga
    Participant

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

    #26170

    johngervas
    Participant

    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.

    #26171

    Alexandr Smaga
    Participant

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

    #26172

    johngervas
    Participant

    Yes I can. The result is:

    #26173

    Ayushi Sangal
    Participant

    hello

    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: webmuch@gmail.com
    First name: aayush
    Last name: shastri
    Password:
    Load sample data (y/n)? n

    [Doctrine\DBAL\DBALException]
    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

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

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

    #26174

    tal shitrit
    Participant

    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?

    Thanks

    #26175

    dragulceo
    Participant

    @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:

    #26176

    Elvis
    Participant

    Tal

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

    #26177

    benjamin.goumot
    Participant

    Hi ! i have a similar problem with the migration,

    What can i do?

    Thanks a lot

    #26178

    msulima
    Moderator

    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.

Back to top