6

I am using Magento 2.2.2. In the past, I used to get the message below in every time I log in as an admin:

Failed to synchronize data to the Magento Business Intelligence service. Retry Synchronization

I have run a command line and disabled the above message, I disabled the Synchronization, I don't remember what was the command line. Now I am trying to enable the advanced reporting and I have applied all of what is written in the documentation: http://docs.magento.com/m2/ce/user_guide/reports/advanced-reporting.html

I still cannot get any report. I only get the image below. How can I enable the synchronize data to the Magento Business Intelligence service via a command line to reverse what I've done so that I can get the reports?

enter image description here

Abe
  • 201
  • 2
  • 6

2 Answers2

6

You probably just disabled the module via command line.

Try this:

php bin/magento module:enable Magento_Analytics

and then run

php bin/magento setup:di:compile

php bin/magento setup:upgrade

And make sure that you have enabled Advanced Reporting in:

Admin -> Stores -> Configuration -> General -> Advanced Reporting

Lez
  • 2,907
  • 2
  • 23
  • 51
  • When I tried the first command line, I have gotten: No modules were changed. Advanced reporting is enabled – Abe Jan 08 '18 at 23:06
  • magento module:status shows all modules are enabled – Abe Jan 08 '18 at 23:23
  • I don't think you can affect this module by any other CLI command, unless you disabled your cron job. When enabled, this module makes an attempt to contact the Business Intelligence server every 1 hour for 24 hours until it succeeds. And sends data at the designated time in Configuration -> General -> Advanced Reporting. Maybe you just have to wait a little bit... I can't recommend anything else but to check your Cron job and make sure you have everything necessary for this module to work (described in http://docs.magento.com/m2/ce/user_guide/reports/advanced-reporting.html) – Lez Jan 08 '18 at 23:31
  • I thought about doing the same! I have to wait until after the time specified under "Time of day to send data". I checked under Reports>Marketing Automation> Cron Tasks and the tasks are running there. I will wait and see.. – Abe Jan 08 '18 at 23:36
  • It never worked even after waiting until GMT 2:00 AM! – Abe Jan 09 '18 at 17:22
  • @sam Have you found a solution I am facing same problem have gone thought all activation process but yet no success still getting the 404.? – Juliano Vargas May 14 '18 at 15:32
  • i am unable to get this to work and i am a dedicated magento developer. so unclear. Anyone a working one? – CompactCode Jun 25 '18 at 01:18
  • @JulianoVargas this is a paid service, if you have not paid, it won't work – Abe Aug 06 '18 at 03:07
  • @sam have you paid ? After that is this service enable or not ? – Hafiz Arslan May 02 '19 at 06:45
3

Just go into:

Admin -> Stores -> Configuration -> General -> Advanced Reporting

And set "Advanced Reporting Service" to disable. Worked for me with Magento v2.4.2.

Dallas Clarke
  • 1,337
  • 12
  • 9