OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – Installation/Technical Issues or Problems The requested URL /web/installer was not found on this server.

This topic contains 3 replies, has 4 voices, and was last updated by  Dmitriy Pasechnik 6 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
  • #27877

    Kevin
    Member

    Hello,

    I am trying to install Oro on a NAS. When I run the web installer and proceed to the second step, I receive a 404 message with the message captioned in the title bar. Wonder how I can resolve this problem.

    Best,
    Kevin

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #27878

    Viacheslav Bemza
    Participant

    Hello, Kevin.

    Can you attach prod.log file and your web server logs?

    #27879

    lyndonl
    Participant

    I have the same problem

    Not Found

    The requested URL /installer was not found on this server.
    Apache logs show this
    192.168.0.10 – – [22/Feb/2018:12:18:17 +0200] “GET / HTTP/1.1” 302 615 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15”
    192.168.0.10 – – [22/Feb/2018:12:18:18 +0200] “GET /install.php HTTP/1.1” 200 2655 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15”
    192.168.0.10 – – [22/Feb/2018:12:18:19 +0200] “GET /installer/flow/oro_installer/configure HTTP/1.1” 404 540 “http://crm.domain.com/install.php” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15”
    192.168.0.10 – – [22/Feb/2018:12:18:21 +0200] “GET /installer HTTP/1.1” 404 511 “http://crm.domain.com/install.php” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1 Safari/605.1.15”

    If I try to use the console installer
    +———+——————————————————————————————————————+
    The application meets all mandatory requirements
    Setting up database.
    Process migrations…

    [Doctrine\DBAL\Exception\ConnectionException]
    An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)

    [Doctrine\DBAL\Driver\PDOException]
    SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)

    [PDOException]
    SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)

    oro:migration:load [–force] [–dry-run] [–show-queries] [–bundles [BUNDLES]] [–exclude [EXCLUDE]] [–timeout [TIMEOUT]] [-h|–help] [-q|–quiet] [-v|vv|vvv|–verbose] [-V|–version] [–ansi] [–no-ansi] [-n|–no-interaction] [-s|–shell] [–process-isolation] [-e|–env ENV] [–no-debug] [–disabled-listeners DISABLED-LISTENERS] [–current-user CURRENT-USER] [–current-organization CURRENT-ORGANIZATION] [–] <command>

    The command ‘/usr/bin/php7.1’ ‘app/console’ ‘oro:migration:load’ ‘–force’ ‘–timeout=300’ ‘–env=prod’ terminated with an exit code: 1.
    root@crm:/var/www/orocrm/crm-application#

    my parameters.yml file does not have root specified

    if i try to clear the cache

    root@crm:/var/www/orocrm/crm-application# php app/console cache:clear –env=prod

    // Clearing the cache for the prod environment with debug false

    [Doctrine\DBAL\Exception\TableNotFoundException]
    An exception occurred while executing ‘SELECT t0.id AS id_1, t0.name AS name_2, t0.formatting_code AS formatting_code_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.language_id AS language_id_6, t0.parent_id AS parent_id_7 FROM oro_localization t0 ORDER BY t0.name ASC’:

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

    [Doctrine\DBAL\Driver\PDOException]
    SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘orocrmdb.oro_localization’ doesn’t exist

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

    prod log file shows this

    [2018-02-22 12:23:09] app.ERROR: An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO) {“exception”:”[object] (Doctrine\\DBAL\\Exception\\ConnectionException(code: 0): An exception occured in driver: SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO) at /var/www/orocrm/crm-application/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:103, Doctrine\\DBAL\\Driver\\PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO) at /var/www/orocrm/crm-application/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:47, PDOException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO) at /var/www/orocrm/crm-application/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43)”} []

    [2018-02-22 12:23:23] assetic.ERROR: The template “DoctrineBundle:Collector:db.html.twig” contains an error: Unknown “profiler_dump” function in “DoctrineBundle:Collector:db.html.twig” at line 241. [] []
    [2018-02-22 12:23:37] console.ERROR: An error occurred while running command “‘cache:clear’ –env=prod”. An exception occurred while executing ‘SELECT t0.id AS id_1, t0.name AS name_2, t0.formatting_code AS formatting_code_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.language_id AS language_id_6, t0.parent_id AS parent_id_7 FROM oro_localization t0 ORDER BY t0.name ASC’: SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘orocrmdb.oro_localization’ doesn’t exist {“exit_code”:0,”exception”:”[object] (Doctrine\\DBAL\\Exception\\TableNotFoundException(code: 0): An exception occurred while executing ‘SELECT t0.id AS id_1, t0.name AS name_2, t0.formatting_code AS formatting_code_3, t0.created_at AS created_at_4, t0.updated_at AS updated_at_5, t0.language_id AS language_id_6, t0.parent_id AS parent_id_7 FROM oro_localization t0 ORDER BY t0.name ASC’:\n\nSQLSTATE[42S02]: Base table or view not found: 1146 Table ‘orocrmdb.oro_localization’ doesn’t exist at /var/www/orocrm/crm-application/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:53, Doctrine\\DBAL\\Driver\\PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘orocrmdb.oro_localization’ doesn’t exist at /var/www/orocrm/crm-application/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106, PDOException(code: 42S02): SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘orocrmdb.oro_localization’ doesn’t exist at /var/www/orocrm/crm-application/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104)”,”arguments”:{“command”:”cache:clear”},”options”:{“env”:”prod”}} []

    I set the db name to orocrmdb in the parameters.yml file so that part seems to be read, but the username / password is not? I am sure I missed something important, but have no idea what it is

    #27880

    Dmitriy Pasechnik
    Participant

    Hi lyndonl

    Before installing OroCRM you need to create a blank database within your RDBMS. And also a database user with full rights on this database.
    This database & user will be used later by OroCRM application.

    For example, if you use MySQL, try this instruction:
    https://wiki.gandi.net/en/hosting/using-linux/tutorials/ubuntu/createdatabase

    Then you must configure your app/parameters.yml proprerly.

    For example: if you create a database named ‘orocrm_database’ in your MySQL server
    and added a user ‘oro_database_user’ with passwlord ‘someRandomPassword’
    then your top part of parameters.yml should look like this:

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

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

Back to top