OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

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.

  • Creator
    Topic
  • #25785

    Sublab
    Participant

    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

Viewing 15 replies - 16 through 30 (of 39 total)
  • Author
    Replies
  • #25801

    baronn
    Participant

    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….

    #25802

    Dima Soroka
    Keymaster

    Hello

    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.

    #25803

    baronn
    Participant

    Hello 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 Failed

    the 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:

    and here is prod log:

    So what would I need to do now??
    Your help is appreciated to get this installed ;)

    #25804

    baronn
    Participant

    UPDATE

    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) Update

    on 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:

    and prod log is:

    #25805

    Hello

    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)

    #25806

    baronn
    Participant

    Hello Roman,

    Sure:

    CENTOS 7.1 x86_64 vmware
    PHP 5.5.30

    I 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..

    #25807

    baronn
    Participant

    Okay, 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…

    #25808

    Application 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

    #25809

    baronn
    Participant

    Hello 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?

    #25810

    Starting from delete System -> Channels, Integrations. There are mass delete action for Contacts. But other items should be deleted individually. But reinstall will be better

    #25811

    Artem Liubeznyi
    Spectator

    What 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.

    #25812

    baronn
    Participant

    thanks 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???

    #25813

    jrishi110
    Participant

    Does OroCRM works on windows 10?


    eNvent Software Technology- Digital Marketing company- http://www.enventsoft.com

    #25814

    Artem Liubeznyi
    Spectator

    Yes, sure.

    #25815

    baronn
    Participant

    What 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.

Viewing 15 replies - 16 through 30 (of 39 total)

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

Back to top