Problems with the index

  • andreirebe
    Participant
    3 years, 11 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 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”

    wpsolr
    Keymaster
    3 years, 11 months ago #20021

    The url you call does not exist on your site. Either WPSOLR cron is not configured, or you do not have a WPSOLR PRO license.

    andreirebe
    Participant
    3 years, 11 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]

    andreirebe
    Participant
    3 years, 11 months ago #20023

    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

    rvs
    Participant
    3 years, 11 months ago #20034

    Our cron did not run, so we fired the cron through SSL. It did start but it did not index all products. Not even close? is this related?

    andreirebe
    Participant
    3 years, 11 months ago #20038

    It may be related. I don’t know. What do you mean by running your cron through SSL?

    andreirebe
    Participant
    3 years, 10 months ago #20128

    Can you please help us? This is an urgent matter and a huge problem for us. Why the support is so slow?

    wpsolr
    Keymaster
    3 years, 10 months ago #20129
    andreirebe
    Participant
    3 years, 10 months ago #20130

    Ok I understand that. But what is causing this problem and what is the solution. What can we do to solve this?

    wpsolr
    Keymaster
    3 years, 10 months ago #20131

    Can you delete the cron settings in WPSOLR, and create a new one?

    andreirebe
    Participant
    3 years, 10 months ago #20143

    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"

    wpsolr
    Keymaster
    3 years, 10 months ago #20144

    Thanks. I’m investigating about the 404 error.

    wpsolr
    Keymaster
    3 years, 10 months ago #20152

    Can you flush your permalinks by saving the page Settings->Permalinks?

    andreirebe
    Participant
    3 years, 10 months ago #20194

    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.

    https://www.loom.com/share/411bfa72b6f74164838461969eb579a6

    What is your advice? What is the best way to solve this problem?

    wpsolr
    Keymaster
    3 years, 10 months ago #20195

    What was your 404 issues?

Viewing 15 posts - 1 through 15 (of 26 total)

You must be logged in to reply to this topic.