Softaculous


Topic : Magento Install Issue - Cron Jobs and SSL


Posted By: functi0n on May 3, 2016, 2:33 am
Hello I am trying to install Magento 2.0.5 with softaculous at my web host and I have run in to a couple of issues that I think you guys may want to know about.

Firstly, I installed via https protocol (I do have the SSL certificate installed) then I still had to go in the admin panel and set my store to https for it to work. Should that be done automatically?

Then I had a system message that said: "One or more indexers are invalid. Make sure your Magento cron job is running."

I did a bit of research and found that softaculous only sets up one cron job in cpanel. There is three that should be running.
www.a2hosting.com/kb/installable-applications/optimization-and-configuration/magento1/optimizing-magento-cron-jobs-on-shared-hosting-accounts

I added those three and it still didn't solve the system message so I am not sure exactly what is going on but I assumed that this would all be done automatically and working correctly for me when I installed Magento.

Posted By: functi0n on May 3, 2016, 4:34 am | Post: 1
Do I need those three cron jobs or is the standard one enough?

Posted By: Brijesh on May 4, 2016, 10:31 am | Post: 2
Hi,

When you install Magento on https protocol you should be able to access it via https

Can you please open a support ticket with us so that we can check this issue for you :
https://www.softaculous.com/support/

Regarding the CRON job you need to add either of the crons mentioned on the link you provided. All the 4 crons perform the same operation :
php /home/username/public_html/bin/magento cron:run
/usr/local/bin/php /home/username/public_html/bin/magento cron:run
/usr/local/bin/php /home/username/public_html/update/cron.php
/usr/local/bin/php /home/username/public_html/bin/magento setup:cron:run

The CRON jobs are configured to run every 15 minutes so that CRON should be executed within 15 minutes of installation.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Posted By: Elizine on May 19, 2016, 10:38 am | Post: 3
To reindex in magento 2, go to the CLI and then the root folder of your magento installation and run the below command :

Code
php bin/magento indexer:reindex


-----------------------
Fully Managed Web Hosting Provider

Posted By: proisp on June 2, 2016, 10:55 am | Post: 4
Why is not reindexer cron added automatically Brijesh?

Posted By: Brijesh on June 7, 2016, 8:57 am | Post: 5
Hi,

As mentioned on the Magento docs the following command reindexes indexers :
Code
magento cron:run


We add this command in the CRON job.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.