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..
Has anyone been faced with occasionally not working updates on cms blocks? Every message passed by r
Comments
-
Have you enabled the event logger by setting
$config[EventConstants::LOGGER_ACTIVE] = true;
?
This should add additional information about the failed message to the message in event.error queue0 -
not really, but you can:
- launch logs
- fire up the vendor/bin/console queue:task:start taskname
- check logs for what appeared
0 -
Thank you both. Just enabled the event logger.
Seems like I've missed that one. On updating a cms-block in zed the zed/exception.log says
duplicate key value violates unique constraint "spy_cms_block_storage-unique-key"
Don't know since when I got issues while updating that, but I am pretty sure that wasn't a problem before π€
0 -
Maybe you've somehow truncated your
spy_cms_block
table(s) but not the storage table? I think the key is build from the resource ids0 -
Quite likely. Strange thing is, that this is happening on our staging system, too. Didn't touch the database there at all. All I did was the
data:import:cms-block
π€·ββοΈWill check this anyway. Thanks
0 -
Hi @ULL0N440J,
If the error is still happening with 1 process, this might come from some issues in code, but if it comes when you run multiple process like worker command, then itβs a race condition, you can fix this it by enablingevent.retry
queue to resolve these errors.0 -
Hi Ehsan, thanks for the tip. The messages were passed through event.retry queue, too. As mentioned above: this behaviour probably occured due to double keys. DB-Table(s .. you need the storage, too) wasn't cleared properly.
0 -
ok, but please report this to our customer support if this is still an issue and it comes from core, thanks
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random