Problems with the index
- andreirebeParticipant4 years, 9 months ago #20020
Hi,
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 informationThis 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”andreirebeParticipant4 years, 9 months ago #20022[url=https://ibb.co/6N3kBKY][img]https://i.ibb.co/fQhsv3M/Screenshot-2020-05-27-at-16-45-17.png[/img][/url]
andreirebeParticipant4 years, 9 months ago #20023Here 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
andreirebeParticipant4 years, 9 months ago #20038It may be related. I don’t know. What do you mean by running your cron through SSL?
andreirebeParticipant4 years, 9 months ago #20128Can you please help us? This is an urgent matter and a huge problem for us. Why the support is so slow?
wpsolrKeymaster4 years, 9 months ago #20129Url “https://solutiiarhiva.ro/wpsolr-api/json/cron/39357381BDA2AAB21B1BDB66B1EA30D4” is not recognized on your site.
andreirebeParticipant4 years, 9 months ago #20130Ok I understand that. But what is causing this problem and what is the solution. What can we do to solve this?
andreirebeParticipant4 years, 9 months ago #20143I 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"
andreirebeParticipant4 years, 9 months ago #20194Hi, 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.
https://www.loom.com/share/411bfa72b6f74164838461969eb579a6
What is your advice? What is the best way to solve this problem?
You must be logged in to reply to this topic.