Forums › Forums › OroCRM › OroCRM – Installation/Technical Issues or Problems › How to install OroCRM
This topic contains 39 replies, has 14 voices, and was last updated by submission.10seos 7 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.
- CreatorTopic
- October 13, 2013 at 2:29 am #25785
Hello,
I’d like to know how to install OroCRM.
I’m a newbie with SSH.
For the instant Iupload everyfile orocrm-application on a subdomain.
I’ve asked for a ssh access and i can now connect with ssh.
But after ?
There ‘s install.sh but i don’t know how to reach and navigate with SSH.
Can someone help me ?
Merci - CreatorTopic
- AuthorReplies
- January 6, 2016 at 2:57 am #25801
Hello,
So hoping someone can point me in the right direction here. The last post here states that you can upload the crm application from the downloads area to your hosting and follow the web browser installer providing you have met all the requirements.
SO, I downloaded this: http://oroinc.com/orocrm/downloads/crm-application.tar.gz
uploaded to my hosting THEN proceed to the web browser URL.SO far so good. It shows me the initial step 1 screen and everything is green apart from the following which has orange triangle:
- a PHP accelerator should be installed
short_open_tag should be disabled in php.ini
JSEngine such as NodeJS should be installed
It however lets me proceed to next step. This is when I start to have problems. on step 2 it breaks. It gives me this message:
Fatal error: Uncaught exception ‘PDOException’ with message ‘SQLSTATE[HY000] [1045] Access denied for user ‘root’@’localhost’ (using password: NO)’ in /home/visas/public_html/visoro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:43 Stack trace: #0 /home/visas/public_html/visoro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(43): PDO->__construct(‘mysql:host=127….’, ‘root’, NULL, Array) #1 /home/visas/public_html/visoro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOMySql/Driver.php(45): Doctrine\DBAL\Driver\PDOConnection->__construct(‘mysql:host=127….’, ‘root’, NULL, Array) #2 /home/visas/public_html/visoro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(360): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, ‘root’, NULL, Array) #3 /home/visas/public_html/visoro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(429): Doctrine\DBAL\Connection->connect() #4 /home/visas/public_html/visoro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(389): Doctrine\DBAL\Connection in /home/visas/public_html/visoro/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php on line 103
So I have been over all the forum topics, checked all the files for permissions and even gone to parameters.yml file and added the username, databasename and password ALTHOUGH as you can see from above its still looking for root@localhost.
This must be one of the most difficult platforms to install.
From what I have read on this forum it does say that the pre packaged version does have all the modules pre installed and thus the parameters file already created. SO i was expecting to see a step 2 page where i can then add the database details etc. BUT i can never seem to get to that stage.
Can any one help?
Unfortunatly as its not installing there is no log files etc that I can provide….January 6, 2016 at 3:59 am #25802Hello
Please update DB connection credentials in app/config/parametes.yml, remove cache files in app/cache folder and try again. We are working on the fix that is blocking installation if parameters.yml has not correct DB credentials.
For a quick local install you may find our VM helpful as well.
January 6, 2016 at 4:34 am #25803Hello Dima,
Thanks for the quick reply.
I did as you stated and that now allows me to proceed to step 3. However on step 3 it now fails.
It fails on:
Clear cache before database initialization Failed
Drop current schema Failedthe rest are then skipped. It wont allow me to then proceed further. Simply go back. I do that and then clear the cache and start at step 2 again. However on step 3 it does exactly the same thing.
here is output of oro install log:
PHP123456789101112131415161718192021222324252627282930313233[2016-01-06 11:59:52] Launching "cache:clear" commandClearing the cache for the prod environment with debug false[2016-01-06 12:00:17] Launching "doctrine:schema:drop" command[ReflectionException]Class OroEntityProxy\OroEmailBundle\EmailAddressProxy does not existdoctrine:schema:drop [--dump-sql] [-f|--force] [--full-database] [--em [EM]] [-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] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--disabled-listeners DISABLED-LISTENERS] [--] <command>Command "doctrine:schema:drop" executed in 0 second(s), memory usage: 19.44Mb[2016-01-06 12:01:26] Launching "doctrine:schema:drop" command[ReflectionException]Class OroEntityProxy\OroEmailBundle\EmailAddressProxy does not existdoctrine:schema:drop [--dump-sql] [-f|--force] [--full-database] [--em [EM]] [-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] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--disabled-listeners DISABLED-LISTENERS] [--] <command>Command "doctrine:schema:drop" executed in 1 second(s), memory usage: 19.95Mband here is prod log:
PHP12345678[2016-01-06 12:00:16] request.INFO: Matched route "sylius_flow_display". {"route_parameters":{"_controller":"sylius.controller.process:displayAction","scenarioAlias":"oro_installer","stepName":"schema","_route":"sylius_flow_display"},"request_uri":"http://visoro.DOMAIN/web/app.php/installer/flow/oro_installer/schema?action=schema-drop"} [][2016-01-06 12:00:16] security.DEBUG: Invoked controller "Sylius\Bundle\FlowBundle\Controller\ProcessController::displayAction". (MASTER_REQUEST) [] [][2016-01-06 12:00:17] request.CRITICAL: Uncaught PHP Exception RuntimeException: "The command terminated with an exit code: 18446744073709551615." at /home/visas/public_html/visoro/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php line 200 {"exception":"[object] (RuntimeException: The command terminated with an exit code: 18446744073709551615. at /home/visas/public_html/visoro/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:200)"} [][2016-01-06 12:00:17] security.DEBUG: Invoked controller "FOS\RestBundle\Controller\ExceptionController::showAction". (SUB_REQUEST) [] [][2016-01-06 12:01:26] request.INFO: Matched route "sylius_flow_display". {"route_parameters":{"_controller":"sylius.controller.process:displayAction","scenarioAlias":"oro_installer","stepName":"schema","_route":"sylius_flow_display"},"request_uri":"http://visoro.DOMAIN/web/app.php/installer/flow/oro_installer/schema?action=schema-drop"} [][2016-01-06 12:01:26] security.DEBUG: Invoked controller "Sylius\Bundle\FlowBundle\Controller\ProcessController::displayAction". (MASTER_REQUEST) [] [][2016-01-06 12:01:27] request.CRITICAL: Uncaught PHP Exception RuntimeException: "The command terminated with an exit code: 18446744073709551615." at /home/visas/public_html/visoro/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php line 200 {"exception":"[object] (RuntimeException: The command terminated with an exit code: 18446744073709551615. at /home/visas/public_html/visoro/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:200)"} [][2016-01-06 12:01:27] security.DEBUG: Invoked controller "FOS\RestBundle\Controller\ExceptionController::showAction". (SUB_REQUEST) [] []So what would I need to do now??
Your help is appreciated to get this installed ;)January 6, 2016 at 5:37 am #25804UPDATE
So I cleared the caches and mysteriously on refresh it took me here: /web/install.php/packages/installed
I then have no where to go.. it gives this output:
oro/platform
Business Application Platform (BAP) library MIT Oro, Inc 1.8.2 (30859da) 1.8.2 (79b91c0) Update
oro/crm OroCRM library OSL-3.0 Oro, Inc 1.8.2 (9105033) 1.8.2 (0c8d1af) Updateon trying to update using the links i am now presented with:
The command “”/usr/local/bin/php” “/home/visas/public_html/visoro/app/console” cache:clear –no-warmup –env=prod” failed. Exit Code: 255(Unknown error) Output: ================ Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 72 bytes) in /home/visas/public_html/visoro/app/bootstrap.php.cache on line 2743 Error Output: ================
previously didn’t have any memory issues. I have it set as 512MB
Output of install log is:
PHP1234567891011121314[2016-01-06 13:08:14] Launching "doctrine:schema:drop" command[ReflectionException]Class OroEntityProxy\OroEmailBundle\EmailAddressProxy does not existdoctrine:schema:drop [--dump-sql] [-f|--force] [--full-database] [--em [EM]] [-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] [--current-user CURRENT-USER] [--current-organization CURRENT-ORGANIZATION] [--disabled-listeners DISABLED-LISTENERS] [--] <command>Command "doctrine:schema:drop" executed in 1 second(s), memory usage: 18.64Mband prod log is:
PHP12345678910[2016-01-06 12:19:18] request.ERROR: Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET /installer/"" at /home/visas/public_html/visoro/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php line 159 {"exception":"[object] (Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException: No route found for \"GET /installer/\" at /home/visas/public_html/visoro/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:159, Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException: at /home/visas/public_html/visoro/app/cache/prod/appProdUrlMatcher.php:7809)"} [][2016-01-06 12:19:18] security.DEBUG: Invoked controller "FOS\RestBundle\Controller\ExceptionController::showAction". (SUB_REQUEST) [] [][2016-01-06 13:06:57] request.INFO: Matched route "sylius_flow_display". {"route_parameters":{"_controller":"sylius.controller.process:displayAction","scenarioAlias":"oro_installer","stepName":"installation","_route":"sylius_flow_display"},"request_uri":"http://visoro.DOMAIN/web/app.php/installer/flow/oro_installer/installation?action=fixtures"} [][2016-01-06 13:06:57] security.DEBUG: Invoked controller "Sylius\Bundle\FlowBundle\Controller\ProcessController::displayAction". (MASTER_REQUEST) [] [][2016-01-06 13:06:57] request.CRITICAL: Uncaught PHP Exception RuntimeException: "The command terminated with an exit code: 18446744073709551615." at /home/visas/public_html/visoro/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php line 200 {"exception":"[object] (RuntimeException: The command terminated with an exit code: 18446744073709551615. at /home/visas/public_html/visoro/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:200)"} [][2016-01-06 13:06:57] security.DEBUG: Invoked controller "FOS\RestBundle\Controller\ExceptionController::showAction". (SUB_REQUEST) [] [][2016-01-06 13:08:14] request.INFO: Matched route "sylius_flow_display". {"route_parameters":{"_controller":"sylius.controller.process:displayAction","scenarioAlias":"oro_installer","stepName":"schema","_route":"sylius_flow_display"},"request_uri":"http://visoro.DOMAIN/web/app.php/installer/flow/oro_installer/schema?action=schema-drop"} [][2016-01-06 13:08:14] security.DEBUG: Invoked controller "Sylius\Bundle\FlowBundle\Controller\ProcessController::displayAction". (MASTER_REQUEST) [] [][2016-01-06 13:08:15] request.CRITICAL: Uncaught PHP Exception RuntimeException: "The command terminated with an exit code: 18446744073709551615." at /home/visas/public_html/visoro/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php line 200 {"exception":"[object] (RuntimeException: The command terminated with an exit code: 18446744073709551615. at /home/visas/public_html/visoro/vendor/oro/platform/src/Oro/Bundle/InstallerBundle/CommandExecutor.php:200)"} [][2016-01-06 13:08:15] security.DEBUG: Invoked controller "FOS\RestBundle\Controller\ExceptionController::showAction". (SUB_REQUEST) [] []January 6, 2016 at 5:38 am #25805Hello
Could you provide some information about environment (php version, mysql and web browser)? As alternative way you can install application from command line (http://oroinc.com/orocrm/doc/current/book/installation#book-installation-command)
January 6, 2016 at 5:49 am #25806Hello Roman,
Sure:
CENTOS 7.1 x86_64 vmware
PHP 5.5.30I tried the command line and got this message:
ATTENTION: Oro Application already installed.
To proceed with install – run command with –force option:
oro:install –force
To reinstall over existing database – run command with –force –drop-database options:
oro:install –force –drop-database
ATTENTION: All data will be lost. Database backup is highly recommended before executing this command.So as per my previous post. Seemed like it installed but takes me too this url: http://DOMAIN/web/install.php/packages/installed
I had to login to get to that screen.. if i go to http://DOMAIN i dont see anything just
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 64 bytes) in /home/visas/public_html/visoro/app/bootstrap.php.cache on line 2743
HOWEVER before doing any of the above i upped the memory to 1024MB..
So totally baffled here. this is definitly NOT one of those easy installs.
Should I just proceed as per command line output?
Again thank you in advance for input and help..
January 6, 2016 at 6:08 am #25807Okay, somehow seemed to have made some progress!
Although the command line gave me an error, i went back to the web screen and it took me though the process again. This time I have proceed all the way to administration screen.
SO just to get things right its asking for some input. Mainly this is the setting that i think i need to get right: Application URL its populated at the moment with: http://localhost/oro/
BUT i have installed in: http://visoro.DOMAIN.com/
Do I add this into application URL: http://visoro.DOMAIN.com/
OR this: http://visoro.DOMAIN.com/web/Ofcourse DOMAIN represents the actual domain name which I have replaced above..
Nearly there i suspect…
January 6, 2016 at 7:22 am #25808Application URL is used in administrative emails from CRM. It does not affect installation. URL can be changed after installation in System Configuration and point to real address of CRM.
visoro.DOMAIN.com/web/ is setting from webserver root folder see “Configure the Webserver”January 6, 2016 at 7:29 am #25809Hello Roman,
OK, great.
Hmmm, I think by pure luck its installed! I did try it a few times and also restricted some services from using memory on server whilst it was installing which I think helped! Its now working ;)
Thanks for your input and help!
At the moment its with sample data. I think I will get to a point where i would want to remove ALL sample data BUT not by installing again if that can be helped. Just to remove the data itself would be btter rather than a fresh install. Is that possible?
January 6, 2016 at 7:40 am #25810Starting from delete System -> Channels, Integrations. There are mass delete action for Contacts. But other items should be deleted individually. But reinstall will be better
January 6, 2016 at 7:41 am #25811What version are you working with? In the current 1.9 master we already have the mass delete feature that will make removing the demo data quick and easy.
January 6, 2016 at 7:47 am #25812thanks everyone..
On version 1.8.2 from what i can see BUT it was using the latest install from today. So I am a bit surprised as to why its not the latest 1.9!
Dare i ask how easy it is OR the steps required to update to the latest version???
February 19, 2016 at 2:57 am #25813Does OroCRM works on windows 10?
eNvent Software Technology- Digital Marketing company- http://www.enventsoft.com
February 19, 2016 at 4:55 am #25814Yes, sure.
May 27, 2016 at 5:37 am #25815What version are you working with? In the current 1.9 master we already have the mass delete feature that will make removing the demo data quick and easy.
Can you please tell me where and how to use this function?? I have 1.9.3 installed now after much difficulty and don’t want to do another install again AS your github distro uses 1.8.2 and on the 3 other installs i have tried to do via command line as per instructions simply installs v1.8.2 then trying to update via command line although it gives the output that its updated it still shows v1.8.2. Tearing my hair out here!!
Such a pain for what looks like the right tool!
Would simply like to know how i can remove the sample data in the current working v1.9.3 i have working.
- AuthorReplies
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.