Hello! We've found a weird issue of project installation failing at scheduler:setup step
Hello! We've found a weird issue of project installation failing at scheduler:setup step:
Command jenkins-setup [vendor/bin/console scheduler:setup] (In progress...) Store: DE | Environment: docker.dev Scheduler Name: jenkins Scheduler Status: ERROR Client error: `POST <http://scheduler:8080/createItem?name=DE__amazon-orders-custom-date-range-import>` resulted in a `400 Bad Request` response: <!DOCTYPE html><html class=""><head resURL="/static/f28664eb" data-rooturl="" data-resurl="/static/f28664eb" data- (truncated...)
If I do docker/sdk cli
and then console scheduler:setup
inside the container, the setup will finish correctly, then I can finish the installation, and everything works like a charm:
Store: DE | Environment: docker.dev Scheduler Name: jenkins Scheduler Status: OK
Still, confused, why does it fail the first time? Feels like we're experiencing some kind of a race condition within the deploy script.
Comments
-
I had same issue. it's happening when you rename your Jenkins job in jenkins.php file and deploy code. As you changed the name of the job, job with old name will give 404 until you remove that job from the jenkins. It will fail your build with that error message.
Delete that job and try again, it should work for you.
0 -
Make sure you have backup of that job in local before deleting it.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 74 Spryker News
- 912 Developer Corner
- 772 Spryker Development
- 87 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 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
- 69 Spryker Safari Questions
- 50 Random