OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Installation/Technical Issues or Problems Stuck in Step 3 of Installation – Clear cache before database initialization Fa

This topic contains 4 replies, has 4 voices, and was last updated by  Costin 7 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
  • #35018

    curata
    Participant

    Hi there,
    I’ve seen this posted elsewhere but the fix doesn’t apply to me. Here’s an output of the oro_install.log file. Any help is appreciated.

    [2014-09-20 23:47:54] Launching “cache:clear” command
    Clearing the cache for the prod environment with debug false

    [Symfony\Component\Config\Definition\Exception\InvalidTypeException]
    Invalid type for path “doctrine.dbal.connections.default.password”. Expected scalar, but got object.

    cache:clear [–no-warmup] [–no-optional-warmers]

    Command “cache:clear” executed in 1 second(s), memory usage: 14.96Mb

    [2014-09-20 23:54:54] Launching “cache:clear” command
    Clearing the cache for the prod environment with debug false

    [Symfony\Component\Config\Definition\Exception\InvalidTypeException]
    Invalid type for path “doctrine.dbal.connections.default.password”. Expected scalar, but got object.

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

    curata
    Participant

    Sorry, it cut off the end of the end of the message.

    Clear cache before database initialization – Failed

    #35020

    rodolfobandeira
    Participant

    I solved the problem here just typing in cli:

    #35021

    Nick Mallare
    Participant

    What is the value type of `doctrine:dbal:connections:default:password` in your `app/config/config.yml` file? Is it a string or an object?

    #35022

    Costin
    Participant

    Sometimes that happens because the webserver times-out waiting for the php process to finish. Maybe try match webserver timeout with php timeout (300s).

    For nginx/php-fom you can add this:

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

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

Back to top