• Resolved svaldesm

    (@svaldesm)


    Hi Eva,

    We migrated our server to a new one, copying all files and db. Everything is working fine, except for the feed.

    We have a FB feed with a condition to exclude “out of stock” products that worked fine.
    Now, the graph for feed updates show “0” on today, even thought we have updated it many times. The feed that we download has only 4 products.

    I tried checking debug.log (WP and the feed) without any notices. Apache errors are not there either.

    What I realized is that, while the feed is being processed, the tmp one is fine. There’s some issue when the feeds get transferred to the actual one from the tmp.

    Unfortunately I don’t have any other way to debug this. Do you have any ideas?

    Everything is the same, except that we were on Debian 8 and now on Debian 9. We don’t have Redis active (neither before).

    I tried deactivating/activating the plugin without success. I just deleted the file that updates itself when the feed is ready to try luck. Permissions are suppose to be fine.

    Thanks for your help.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter svaldesm

    (@svaldesm)

    To give more background:

    – I tried removing the old csv in case there was a permission issue. At first, that seemed to work and I downloaded the file, that had over 33,000 products, of which 2,700 were duplicated.
    – Then, after a while (say 3min), the feed reseted and now it has only 4 products in it.

    Thread Starter svaldesm

    (@svaldesm)

    New update:

    I tried creating a new feed from scratch. Apparently it worked (so far), but there are still about 2,500 duplicated products (which didn’t happened before).

    Any idea on why that is happening?

    Thanks!

    Hi svaldesm,

    I very much doubt the plugin creates duplicates out of its own. From what I understood you copied everything from one instance to another, including databases. Could something have gone wrong when copying things over?

    And, are you sure they are 100% duplicates of each other or are they just variants that look a like?

    Best,
    Eva

    Hi,

    Assuming the issue at hand has been resolved and our support is no longer required I am going to close this topic for housekeeping reasons now.

    Do not hesitate to reach out to us again whenever you need our help.

    All the best,
    Eva

    Thread Starter svaldesm

    (@svaldesm)

    Hi Eva,

    Sorry for not answering, I never got to see this response.
    Actually, the problem has not been resolved.

    For a few days, it worked fine. I deleted the feed and created a new one from scratch with good results. Anything else on the store works just fine.

    A few days ago, again I was getting zero results without doing any significant change on my store. We have 56,000 products (and keep publishing about 400/day) and only 30,000 on stock, not sure if that affects. I increased max memory and timeout in case it was that. The feed has a filter for removing out of stock products.

    After a few refreshes, it worked fine. But then, it started behaving strange again. Look at this graph:

    Graph

    Not sure how to proceed. There are over 6,000 products duplicated on the feed. I’ve activated/deactivated, updated feed config, etc. but nothing seems to work.
    Do you know how is this possible?

    Thanks!

    Hi,

    Since you have a lot of products to process there could be a danger of overlapping refreshes. So, a refresh of the feed kicks off when another update of your feed is still running. We have never experienced this before ourselves but I can imagine it will result in double products in your feed.

    At what refresh interval did you set your feeds and did you change the default batch size (https://adtribes.io/batch-size-configuration-product-feed/).

    All the best,
    Eva

    Thread Starter svaldesm

    (@svaldesm)

    Hi Eva,

    The refresh interval is daily and I haven’t changed the batch size.
    Unfortunately the logs don’t say much about the issue.

    The logs will only show something when errors or warnings (in the code) caused problems with the processing itself. This does not appear to be the case here.

    Since you increased memory and timeout settings you might want to experiment a bit with the batch size to see if it makes any difference. In your case I would try putting it on 2000 per batch to start with.

    Best,
    Eva

    Thread Starter svaldesm

    (@svaldesm)

    I tried with 2000 per batch. Same results: around 6,000 products duplicated.
    I really don’t know how to proceed with this.

    I recounted terms and lookup table on WooCommerce but it didn’t make any improvement.

    • This reply was modified 5 years, 5 months ago by svaldesm.
    Thread Starter svaldesm

    (@svaldesm)

    Now the feed has been refreshed and the duplicates are increasing (9,000).
    I really don’t know how to debug this.

    I am still suspecting the cause is related to the migration you performed. Have you tried created a new feed on your new environment to see how it behaves and if it also starts creating duplicates?

    Best,
    Eva

    Thread Starter svaldesm

    (@svaldesm)

    Hi Eva,

    I don’t think so. I think I *might* have found the cause.
    Every time I update the plugin (via WP Plugin section), the next day it fails. It takes a couple days to be working again. After that, it works fine.
    Do you see this happening for other people?

    Hi,

    We have not heard this happening to other users. Perhaps such a behaviour could happen when you upgrade the plugin during the time a feed is updating. Could that have been happening?

    All the best,
    Eva

    Thread Starter svaldesm

    (@svaldesm)

    Hi Eva,

    It was not at the same time.
    I’m out of ideas here. The strange behavior is that it works for most days and suddenly it stops working. I think it might be related to the update but I’m not sure how.
    Could you please tell me if there are more ways to debug or if I can pay for premium support so you can take a look and debug?

    Best,

    Hi,

    Did you try creating a new feed all together to see if that shows similar behaviour than the feed you migrated from one server to the other?

    Upgrading to the paid version of our plugin will not make any difference.

    Best,
    Eva

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Feed is not updating’ is closed to new replies.