What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi, I have done the data import from backend (zed) and data was getting stored in spy_cms_page and

UPWG882P6
UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet
edited January 2020 in Help

Hi, I have done the data import from backend (zed) and data was getting stored in spy_cms_page and in spy_cms_page_storage but not in spy_cms_page_search. I dont see any error in the logs/exception.log page. Any idea what would be the problem?

«1

Comments

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    do u have jenkins and rmq running? do u check if u have events in event queue?

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    Jenkins and rmq is running, but queue for event is empty as its getting to event_error

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    Ok, can u please get a message from event_error and post here? maybe smth is not properly configured or missing.

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet
    {"listenerClassName":"Spryker\\Zed\\GlossaryStorage\\Communication\\Plugin\\Event\\Listener\\GlossaryKeyStoragePublishListener","transferClassName":"Generated\\Shared\\Transfer\\EventEntityTransfer","transferData":{"event":null,"name":null,"id":720,"foreign_keys":[],"modified_columns":[],"original_values":[]},"eventName":"Glossary.key.publish","retry":5,"retryMessage":"Retry on: ","errorMessage":""}
    
  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    this an event about glossary storage.. how many events do u have in event_error?

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    u can try to trigger the event manually
    vendor/bin/console event:trigger -r cms_page_search and check if the events are properly consumed... i would suggest u to purge the event error queue and check if everything works fine or not

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    Purged queue, ran the cmd as suggested, still have the event_error wth 370

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet
    edited January 2020

    I tried console sync:data , then it started throwing this event_error

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    are the error events all related cms_page or also other type?

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    how many cms page do u have imported? do u have multistore, multilanguage? what is about your structure?

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    one store, 370 cms pages, one language

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    ok.. then they are all cms page event errors.. can u please again post here the first one?

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    ok

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet
    {"listenerClassName":"Spryker\\Zed\\CmsPageSearch\\Communication\\Plugin\\Event\\Listener\\CmsPageSearchListener","transferClassName":"Generated\\Shared\\Transfer\\EventEntityTransfer","transferData":{"event":null,"name":null,"id":167,"foreign_keys":[],"modified_columns":[],"original_values":[]},"eventName":"Cms.version.publish","retry":5,"retryMessage":"Retry on: ","errorMessage":""}
    

    Move messages

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    no.. has no sense to move back... strange is that there is no errorMessage... do u check already ZED/exception_log?

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    There are no errors in ZED/exception.log file.

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    which version of cms-page-search do u have?

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    do u checked also if u have smth in propel.log?

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    hwo to check cms version?

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    in composer lock

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    ok

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    or composer show

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    spryker/cms-page-search 2.1.0 CmsPageSearch module

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    there are no errors in propel.log

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    i have 2.2.0 installed and it works without problems

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    hmm, did you try with 2.1.0

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    ?

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    i had the version 2.1.0 last year till 9 dec and it worked too.. the problem is smth else but i dont understand what can be... need more details..
    do u tried also to debug this? do u use docker or vagrant?

  • UPWG882P6
    UPWG882P6 Posts: 140 🧑🏻‍🚀 - Cadet

    I use vagrant, i couldnt find anything yet.

  • giovanni.piemontese
    giovanni.piemontese Technical Lead @ Löffelhardt Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    ok. u can enable/configure xdebug (there is a doc under spryker docu) and then maybe trigger only one event cms page search and debug it.