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 guys, I am getting this error when I try to run `docker/sdk bootstrap` for the first time File
Comments
-
This sounds like ES version mismatch.
For example you have ES v7 defined in the deploy file but project's modules support only ES v6.0 -
Please check
spryker/elastica
in you composer lock file. If it's v6, then it supports ES v7. If it's v5, it supports ES v6 only.0 -
good then I have to change my docker.dev.yml to list es version 6 instead of 7
0 -
-
elastic search in my project is 6.6
I set the search service to use 6.8
Now I am getting this error
Elastica\Exception\ResponseException - Exception: [include_in_all] is not allowed for indices created on or after version 6.0.0 as [_all] is deprecated. As a replacement, you can use an [copy_to] on mapping fields to create your own catch all field. [reason: Failed to parse mapping [page]: [include_in_all] is not allowed for indices created on or after version 6.0.0 as [_all] is deprecated. As a replacement, you can use an [copy_to] on mapping fields to create your own catch all field.]
The command is
vendor/bin/console search:setup:sources
0 -
I dont remember this command before in my install script (in Vagrant) what is it equivalent to?
0 -
Some internal feedback:
Regarding <https://docs.spryker.com/docs/scos/dev/back-end-development/data-manipulation/data-interaction/search/configuring-elasticsearch.html#defining-new-indexes-and-mappings> it looks like call updates mapping <https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-put-mapping.html> Mapping and (or) indexes are for old EL version needs to be updated. But it’s not an answer on his question, I don’t know how old project was, let it be one year old. We are using spryker/install module to init project (command vendor/bin/install, the module uses project’s install config at config/install. One year old .yml files contain such EL related commands: vendor/bin/console search:setup:indexes vendor/bin/console search:setup:index-map Will assume that's the answer :)
0 -
so I found out that my ES is v5.6 so I changed the service definition to use 5.6 but now search container is not starting 😞
0 -
Please do
docker system prune -a && docker system prune --volumes
. Volumes for different ES versions are not compatible.0 -
Of course if you don't have other projects running in docker and there is something important...
0 -
thanks I did that 😄 and it could start the search container 🎉
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