Problems with the index
I have a problem with my website. Every 24 hours my product stocks get updated via WP All Import tink te index gets broken. Even if I reindex the data I get some products missing from the catalog (only on the frontend. If i delete all the data currently in the index and reindex all again everything works fine.
I think this should be done by Crontab. How can I install WP Solr tests plugin to test the cronjob? If I put the cronjob command copied from plugin panel in cPanel Cronjob I get:
curl: no URL specified!
curl: try ‘curl –help’ or ‘curl –manual’ for more information
This is the command that I use:
curl -X GET -H “Content-type: application/json” -H “Accept: application/json” -u wpsolr-cron:MYPASSWORD “https://solutiiarhiva.ro/wpsolr-api/json/cron/39357381BDA2AAB21B1BDB66B1EA30D4”
Here is the page with the module activated: https://i.ibb.co/fQhsv3M/Screenshot-2020-05-27-at-16-45-17.png
Also as you can see in the screenshot I have license and is activated until: 2020-10-01
Url “https://solutiiarhiva.ro/wpsolr-api/json/cron/39357381BDA2AAB21B1BDB66B1EA30D4” is not recognized on your site.
I already tried this with no success.
This is the new cron command that I see:
curl -X GET -H "Content-type: application/json" -H "Accept: application/json" -u wpsolr-cron:XXXXXX "https://solutiiarhiva.ro/wpsolr-api/json/cron/3C98843B9E377C97A91A931DBFFE1B9E"
Hi, I managed to fix the 404 issues. Now the cron starts. What I can’t figure out now is why my cron stops at some point.
Every night our products stocks get updated. I created two crons: One for deleting all the index and one for indexing all the data. The problem is that the one that indexes all the data will stop at some time, it shows in the admin panel that is running but it’s actually stuck. You can see the video below to see what I am talking about.
What is your advice? What is the best way to solve this problem?
You must be logged in to reply to this topic.