OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform OroPlatform – Installation/Technical Issues or Problems Oro Application installation problem

This topic contains 17 replies, has 9 voices, and was last updated by  casparks 9 years, 9 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
  • #34751

    bhrached
    Participant

    I’m in the first step « System requirements check » in « Oro Application installation »
    I have two warning :
    1/ « When using the logout handler from the Symfony Security Component, you should have at least PHP 5.4.11 due to PHP bug #63379 (as a workaround, you can also set invalidate_session to false in the security logout handler configuration) »
    I have version 5.4.9 to php
    2/a PHP accelerator should be installed
    when I click the next button I get a blank page otien
    apache log on I get the message the field below
    File does not exist: /var/www/platform-application/web/installer, referer: http://localhost/platform-application/web/install.php
    Someone has an idea?
    Thank you

Viewing 15 replies - 1 through 15 (of 17 total)
  • Author
    Replies
  • #34752

    Jaimy
    Participant

    Hi bhrached,

    What does your php_error.log say? Could you give more information about your oro installation? Such as install steps, OS you’re running etc etc..

    Kind Regards,

    Jaimy

    #34753

    bhrached
    Participant

    Hi Jaily
    I followed these steps to instaler ORO ORO & CRM implementation:

    OroCRM Installation guide


    apache error log is “File does not exist: /var/www/platform-application/web/installer, referer: http://localhost/platform-application/web/install.php
    I is not php error.
    I use Ubuntu 12 and php 5.4.9
    Tank you
    Kind Regards,
    Rached

    #34754

    Jaimy
    Participant

    Hi Rached,

    I do not see anthing out of the ordinary. The steps you’ve taken seem to be correct. Have you tried to run http://localhost/app_dev.php ? Symfony 2 offers a very nice debugger in the dev environment :). You could also try to debug the installer path by running commands in your command line: php app/console router:debug oro_default or php app/console router:debug oro_installer_flow.

    I haven’t seen this problem so far, so I’m guessing on what the problem might be. I’will get back to you when I’ve figured out whether I have this “web/install.php” in my directory (I don’t have anthing at hand at the time of writing).

    Kind Regards,

    Jaimy Casteleijn

    #34755

    Jason Lamb
    Participant

    Hi,

    I’ve tried installing the CRM Application via Github to try testing what seems to be a fantastic set of tools. I have however encountered a 2 (possibly 3) issues that are stopping my installation based on the instructions provided.

    1) I encountered the same Java JRE issue when using the web based installation. This was fixed as per the first recommendation in the following post

    2) Having fixed(?) my JRE issue, I’m also encountering the same issue listed in this post. I managed to get past the requirement checks in install.php but after clicking next I get a 404 for /installer

    3) I also attempted app/console oro:install and it seems to work however, I’m not sure if the install process generally takes a pretty long time or if it’s hanging completely… however it got as far as “Running code optimizer” and from there just seemed to hang(?)

    Thanks.

    #34756

    Jaimy
    Participant

    Hi Jason,

    Welcome to the forum :). I’m glad that some of the issues I’ve encountered have helped you solve yours as well.

    as for the other issues:

    Having fixed(?) my JRE issue, I’m also encountering the same issue listed in this post. I managed to get past the requirement checks in install.php but after clicking next I get a 404 for /installer

    Did you look into the app/logs/prod.log or app/logs/oro_install.log to see what’s happening?
    If you would like to view the oro_install.log “live” you could type in your terminal:

    Then click next and see what happends :)

    as for your last issue

    I also attempted app/console oro:install and it seems to work however, I’m not sure if the install process generally takes a pretty long time or if it’s hanging completely… however it got as far as “Running code optimizer” and from there just seemed to hang(?)

    The code optimizer is, in my opinion, very slow…It takes forever to do a full run, so I always interrupt this process. Followed by a oro:requirejs:build command. This will do the same basically, but I found this process much faster than doing it immediately after installation.

    Hope this helps!

    Kind Regards,

    Jaimy Casteleijn

    #34757

    Jaimy
    Participant

    @Jason Lamb

    Just checked how long it takes to run the code optimizer. It took a staggering 893 seconds or 14 minutes and 53 seconds to run the optimizer. This is, on an other development environment. This is a windows machine with XAMPP installed. Screenshot of the code optimizer logged in app/logs/oro_install.log:

    Oro running code optimizer

    #34758

    Dima Soroka
    Keymaster

    Guys, we are releasing a fix for requirejs build in next release. It will not be required and will be based on nodejs by default.

    #34759

    Jaimy
    Participant

    @Dima nice! :D

    Hopefully the last step will be faster this way :D
    Btw nice preview of OroCRM yesterday, Good job! Keep up the good work :)

    Kind Regards,

    Jaimy Casteleijn

    #34760

    volgodark
    Participant

    Problem: after installation from console, I got this in my browser “This webpage has a redirect loop”
    Solution: remove production cache from /app/cache/


    #34761

    Colin Curwen
    Participant

    I am having the same issue with the 404 error. I’m installing on Mac OS X 10.9 and I pass the config test with all green (except NodeJS warning though I have Node installed) but when I click the NEXT> button I am greeted by this:

    Not Found

    The requested URL /crm-application/web/installer was not found on this server.

    I have the crm-application in a subdirectory of my web server running 2.2.24 and I built PHP 5.4.25 with homebrew and had no issues.

    I’d prefer to just use the web install – what am I missing? Is there a rewrite rule I need in my .htaccess file?

    Any help would be greatly appreciated.

    #34762

    Yevhen Shyshkin
    Participant

    Hello, Colin Curwen.

    > The requested URL /crm-application/web/installer was not found on this server.
    Could you check whether your server use .htaccess files (mod_rewrite enabled)? Usually such error means that web server does not process .htaccess file.

    Another reason is that application root used as a DocumentRoot – to correct work of application you should use /web subdirectory as a DocumentRoot. Here is example of correct virtual host configuration http://oroinc.com/orocrm/wiki/platform/1-0-0/tutorial/how-to-install-oroplatform#Set_up_virtual_host.

    #34763

    Colin Curwen
    Participant

    Hi Yevhen

    I did try moving the crm-application folder to be the web server root and I get the same error:

    The requested URL /web/installer was not found on this server.

    Here’s the rewrite stuff from my .htaccess file:
    RewriteEngine on
    RewriteRule ^ - [E=protossl]
    RewriteCond %{HTTPS} on
    RewriteRule ^ - [E=protossl:s]
    RewriteRule ^ - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteRule "(^|/)\." - [F]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_URI} !=/favicon.ico
    RewriteRule ^ index.php [L]

    #34764

    Yevhen Shyshkin
    Participant

    Look’s like you are trying to start OroCRM without separate virtual host – it would be better to create one and configure it (http://mark-kirby.co.uk/2008/setting-up-virtual-hosts-on-os-x-leopard/, http://oroinc.com/orocrm/wiki/platform/1-0-0/tutorial/how-to-install-oroplatform#Set_up_virtual_host).

    OroCRM has it’s own .htaccess https://github.com/orocrm/crm-application/blob/master/web/.htaccess and this file must be used for application.

    #34765

    fwap
    Participant

    Hi,

    I’ve run into the same problem. I’ve checked several virtual host configuration, but the cause was my new installation of apache and mod_rewrite wasn’t enabled. a2enmod rewrite and restart of apache solved my problem.

    Regards,
    Andreas

    #34766

    casparks
    Participant

    Sorry but installing orocrm is way too painful…

    1) I have the source in /var/www/orcrm
    2) where do I install Symfony (in the orocrm source?)
    3) I install composer while in the orocrm root directory but when updating vendors I get errors
    4) documentation is full of holes and missing steps for those not familiar with Composer and Symfony, there seems to be an assumption that we are all familiar with these.

    If you compare to Sugar, Vtiger or Zurmo which take about 5 to setup and another (at most) 5 min to install, oroCRM needs to really simplify the install it’s been hours of log checking and googling and for the life of me I still cannot get it installed. OroCRM looks like it has potential but not if the install is so complicated.

    I’m willing to admit stupidity on my part if I am missing something, please assist I would really love to get it working and start playing.

Viewing 15 replies - 1 through 15 (of 17 total)

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

Back to top