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..
Good Morning together, I just got a new Macbook (ARM-based) and tried to setup my current project. S
Good Morning together,
I just got a new Macbook (ARM-based) and tried to setup my current project. So far all containers started, i can see the frontend etc. (used this documentation here: https://docs.spryker.com/docs/scos/dev/technical-enhancement-integration-guides/switch-to-arm-architecture-m1-chip.html#update-rabbi[…]kins-services)
The problem is, that the console scheduler:setup command (which ofc is executed on startup aswell) doesn’t add scheduler jobs to the scheduler (jenkins)
Sadly, i couldn’t find a post where anyone is facing the same issue and my colleagues didn’t have this problem aswell.
Any Ideas?
Comments
-
I don't have M1 to check but we saw such a problem even on Linux with csrf protection enabled.
I would try to comment out https://github.com/spryker/suite-nonsplit/blob/master/deploy.yml#L258 from your deploy file, bootstrap and up again and then retry.0 -
i will do that, thank you valerii - i respond with the results when it’s done.
0 -
commenting out the csrf-protection-enabled in deploy.dev.yml didn’t work 😞
0 -
What does
docker/sdk console scheduler:setup -vvv
return? Nothing?0 -
Just this:
docker/sdk console -x scheduler:setup -vvv
--> DEVELOPMENT MODE DEBUGGING MODE
Store: CN | Environment: docker.dev0 -
i also tried to debug it but didn’t see any errors nor in the logs or the debugger … the exitcodes are 0's (debugger not sure if they should be 1)
0 -
hullo hullo
I'm on M1, installedb2c-demo-shop
locally, and you can see list of jobs running below:docker/sdk console scheduler:setup -vvv Store: DE | Environment: docker.production Scheduler Name: jenkins Scheduler Status: OK - DE__check-product-validity - DE__check-product-label-validity - DE__update-product-label-relations - DE__apply-price-product-schedule - DE__check-oms-conditions - DE__check-oms-timeouts - DE__clear-oms-locks - DE__queue-worker-start - DE__product-relation-updater - DE__event-trigger-timeout - DE__deactivate-discontinued-products - DE__clean-expired-guest-cart - DE__remove-expired-refresh-tokens - DE__order-invoice-send - DE__message-broker-consume-channels
0 -
on my m1 mac it doesn’t even say, that my scheduler status is ok when i run this command… i can see the webpage though on scheduler.spryker.local :S
0 -
I could finally solve this issue myself… the Problem was, that i added this part from the documentation inside my config_local.php as it was… So the php part that runs the scheduler didn’t have the url to the scheduler :S
$config[*SchedulerJenkinsConstants*::JENKINS_CONFIGURATION] = [
*SchedulerConfig*::SCHEDULER_JENKINS => [
*SchedulerJenkinsConfig*::SCHEDULER_JENKINS_CSRF_ENABLED => (bool)getenv('SPRYKER_JENKINS_CSRF_PROTECTION_ENABLED'),
],
];
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
- 929 Developer Corner
- 787 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