OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums OroCommerce Reinstall – table not found

This topic contains 1 reply, has 1 voice, and was last updated by  Tom Van Overbeke 5 months, 2 weeks ago.

  • Creator
    Topic
  • #37727

    Tom Van Overbeke
    Participant

    Hi,
    I installed orocommerce 3.1.0-beta with sample data. I tried to reinstall now with a clean slate, so I followed these instructions:

    https://oroinc.com/b2b-ecommerce/doc/current/install-upgrade/reinstall#reinstall

    (I must mention here that this directory did not exist: <installation directory>/var/cache/session)

    But when following the instructions, I get this error:

    www-data@order:~/html/orocommerce-application$ php -dxcache.cacher=0 bin/console oro:install –application-url=http://order.lataire.be –env=prod –user-name=tom@lataire.Be –user-email=tom@lataire.be –user-firstname=Tom –user-lastname=VanOverbeke –user-password=Lata97_1 –sample-data=n –organization-name=”Group Lataire” –timeout=10000

    In AbstractMySQLDriver.php line 61:

    An exception occurred while executing ‘SELECT o0_.id AS id_0, o0_.entity AS entity_1, o0_.record_id AS record_id_2, o1_.id AS id_3, o1_.name AS name_4,
    o1_.section AS section_5, o1_.text_value AS text_value_6, o1_.object_value AS object_value_7, o1_.array_value AS array_value_8, o1_.type AS type_9, o1
    _.created_at AS created_at_10, o1_.updated_at AS updated_at_11, o1_.config_id AS config_id_12 FROM oro_config o0_ LEFT JOIN oro_config_value o1_ ON o0_
    .id = o1_.config_id WHERE o0_.entity = ? AND o0_.record_id = ?’ with params [“user”, 0]:

    SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘orocommerce.oro_config’ doesn’t exist

    In PDOStatement.php line 143:

    SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘orocommerce.oro_config’ doesn’t exist

    In PDOStatement.php line 141:

    SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘orocommerce.oro_config’ doesn’t exist

    oro:install [–application-url [APPLICATION-URL]] [–organization-name [ORGANIZATION-NAME]] [–user-name [USER-NAME]] [–user-email [USER-EMAIL]] [–user-firstname [USER-FIRSTNAME]] [–user-lastname [USER-LASTNAME]] [–user-password [USER-PASSWORD]] [–skip-assets] [–symlink] [–sample-data [SAMPLE-DATA]] [–drop-database] [–skip-translations] [–skip-download-translations] [–force-debug] [–timeout [TIMEOUT]] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-e|–env ENV] [–no-debug] [–disabled-listeners DISABLED-LISTENERS] [–current-user CURRENT-USER] [–current-organization CURRENT-ORGANIZATION] [–] <command>

    Any ideas?

    Also, if I want to use the Akeneo connector, can I use this release, or should I use 1.6 ?

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #37736

    Tom Van Overbeke
    Participant

    I reran the setup with these commands:

    244 vi config/parameters.yml (to set the installed to false)
    245 rm -rf var/cache/
    246 mkdir var/cache
    247 php bin/console oro:install –drop-database –env=prod

    Using this approach, it worked.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No