HI Everyone,
Apologies if this has been asked before. I am a complete newbie at magento2 and have just started really looking into it.
I managed to have a break through this morning and managed to connect to the server via SSH (yes this might not be advanced but for me it was a win). I have tried putting in the following command once I have connected to the server:
php bin/magento indexer:reindex
Then hit enter. But I dont get anything back. The screen stays white, but all tutorials I have expected to see a list of the out of date status updated. I have attached a screen shot:
So I have the done the command pwd to and that tells me I am in the installation area where I expect it to be. But for some reason it just stays blank after I hit enter?
Any advice would be greatly appreciated.
Happy to join the community by the way, and hope I can contribute in the coming months.
Cheers!
Solved! Go to Solution.
Can you check if is there any system.log or exception.log.
Hi,
System Log
[2019-07-28 15:20:34] main.INFO: Add of item with id Magento_Braintree::settlement_report was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::marketing_automation was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::automation_studio was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::exclusion_rules was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id
Dotdigitalgroup_Email::marketing_automation_report was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::dashboards was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::importer was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::automation was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::campaign was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::cron was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::logviewer was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::abandoned was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::shipping was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::carriers was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::locations was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping:ackaging was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::experiences was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping:ickups was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::dispatches was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::batches was processed [] []
But no exception log. Weirdly the system log hasnt been updated today yet I was working on the site this morning and trying to connect? The above are the most recent logs.
Many thanks
Hello @gregoryclayton
Please check error logs what is showing and share here so can guide accordingly. It seems something error in your code.
Hi,
Thanks for the reply. Again might sound stupid but where would I find these error logs to see?
Thanks
Greg
Hello @gregoryclayton
Check in Var/logs directory. Here you will find different different logs, please share if any error you can see.
HI Guys,
These are the errors I see in the log from today (29th)
[2019-07-29 08:04:39] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://nothingbutdev.com/magento/protein/whey-protein.html","invalidateInfo":{"identifier":"LOCKED_R..."}} []
[2019-07-29 08:04:40] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://nothingbutdev.com/magento/protein/whey-protein.html","invalidateInfo":{"identifier":"LOCKED_R..."}} []
[2019-07-29 08:04:40] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://nothingbutdev.com/magento/protein/whey-protein.html","invalidateInfo":{"identifier":"LOCKED_R..."}} []
[2019-07-29 08:38:50] main.DEBUG: cache_invalidate: {"method":"POST","url":"http://nothingbutdev.com/magento/admin/admin/index/index/key/d330953eff00a156b75c1e1e2cbc9d622fe9fb5..."}} []
[2019-07-29 08:38:51] main.DEBUG: Request validation failed for action "Magento\Backend\Controller\Adminhtml\Index\Index\Interceptor" [] []
[2019-07-29 08:38:52] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://nothingbutdev.com/magento/admin/admin/dashboard/index/key/09149b18f8974e06e97cb087c47ba480a10..."}} []
[2019-07-29 08:38:56] main.DEBUG: cache_invalidate: {"method":"GET","url":"http://nothingbutdev.com/magento/admin/indexer/indexer/list/key/0564f3d432ff2f3d36ccb6cb9c997821369e..."}} []
Many thanks,
Greg
Can you check if is there any system.log or exception.log.
Hi,
System Log
[2019-07-28 15:20:34] main.INFO: Add of item with id Magento_Braintree::settlement_report was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::marketing_automation was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::automation_studio was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::exclusion_rules was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id
Dotdigitalgroup_Email::marketing_automation_report was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::dashboards was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::importer was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::automation was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::campaign was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::cron was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::logviewer was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Dotdigitalgroup_Email::abandoned was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::shipping was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::carriers was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::locations was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping:ackaging was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::experiences was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping:ickups was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::dispatches was processed [] []
[2019-07-28 15:20:34] main.INFO: Add of item with id Temando_Shipping::batches was processed [] []
But no exception log. Weirdly the system log hasnt been updated today yet I was working on the site this morning and trying to connect? The above are the most recent logs.
Many thanks
@gregoryclaytonWelcome to the forum!
Not sure if the issue is already resolved as I do not see you are still looking for the solution. Below are couple of pointers to start with:
1.Are you able to run any other Magento command from CLI, like cache:flush etc?
2. If answer to #1 is No. Check you php version to make sure if it is compatible with your Magento. FYI: Command line PHP version can be different than browser.
3. Look into server log (Apache & PHP) if Magento log is not helping much.
4. Sometime you have to provide the full path of PHP in command like /usr/bin/php or you have to mention the version as well like /usr/bin/php71 or /usr/bin/php72. You need to figure out the right pattern for your server.
Let us know what your findings are and we can take it from there.