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 everyone, can anyone help with the connection to Tideways? I followed the instruction
Good morning everyone,
can anyone help with the connection to Tideways?
I followed the instruction here but when I bootstrap my environment I got the following issue:
PHP Notice: Undefined index: engine in /data/index.php on line 975 PHP Fatal error: Uncaught Twig\Error\LoaderError: Template "service//default/.yml.twig" is not defined in "docker-compose.yml.twig" at line 146. in /data/vendor/twig/twig/src/Loader/ChainLoader.php:98 Stack trace: #0 /data/vendor/twig/twig/src/Environment.php(299): Twig\Loader\ChainLoader->getCacheKey('service//defaul...') #1 /data/vendor/twig/twig/src/Environment.php(381): Twig\Environment->getTemplateClass('service//defaul...') #2 /data/vendor/twig/twig/src/Template.php(335): Twig\Environment->loadTemplate('service//defaul...', NULL) #3 /data/vendor/twig/twig/src/Environment.php(418) : eval()'d code(367): Twig\Template->loadTemplate('service//defaul...', 'docker-compose....', 146) #4 /data/vendor/twig/twig/src/Template.php(407): __TwigTemplate_b72e048a581fa4cde6cefce1e9be0db97cfbb5e96deaf0767d366e5d92d01218->doDisplay(Array, Array) #5 /data/vendor/twig/twig/src/Template.php(380): Twig\Template->displayWithErrorHandling(Array, Array) #6 /data/vendor/twig/twig/src/Template.php(392): Twig\Template->display(Array) #7 /data/vend in /data/vendor/twig/twig/src/Loader/ChainLoader.php on line 98
I wonder why he's complaining about the index "engine" although I didn't add that.
Here's what I added to my deploy.yml:
tideways: apikey: 123456abcdefg environment-name: development cli-enabled: false
Comments
-
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
What docker-compose version do you have?
0 -
docker-compose version 1.25.0, build unknown
0 -
I see, looks a bit outdated 🤨
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
please use a docker-compose version >=1.28 but lower than v2
0 -
OK, will then try 1.29.2.
Seems to be the last one before 2.
Thanks0 -
Unfortunately, version 1.29.2 didn't solve the issue.
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
can you maybe add some more details? What shop and which release are you using? When was the last time you updated the spryker docker-sdk?
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
and maybe post a bit more from your deploy.yml as snippet (few lines above and after your tideways snippet.
0 -
Good questions 😄
Honestly, I don't know. Just tried to find some hints and then saw that we use a docker/sdk version that doesn't list tideways in the supported services. Maybe that's already the problem.I will ask my team and then try to give you a better answer.
Thanks for your help so far.Here are some lines from my deploy.yml
services: database: engine: postgres root: username: "root" password: "mate20mg" endpoints: localhost:5432: protocol: tcp broker: engine: rabbitmq username: "MDE_development" password: "mate20mg" api: username: "admin" password: "mate20mg" endpoints: queue.suite.local: localhost:5672: protocol: tcp session: engine: redis key_value_store: engine: redis endpoints: localhost:16379: protocol: tcp search: engine: elastic version: 5.6 endpoints: localhost:9200: protocol: tcp scheduler: engine: jenkins endpoints: scheduler.suite.local: mail_catcher: engine: mailhog endpoints: mail.suite.local: swagger: engine: swagger-ui endpoints: swagger.suite.local: redis-gui: engine: redis-commander endpoints: redis-commander.suite.local: dashboard: engine: dashboard endpoints: suite.local: kibana: engine: kibana endpoints: dashboard.suite.local: tideways: apikey: 1236789abcdef environment-name: development cli-enabled: false docker: ssl: enabled: false redirect: true testing: store: MDE debug: enabled: true xdebug: enabled: true mount: native: platforms: - linux docker-sync: platforms: - macos - windows
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
But I can now reproduce the exception as well when i do not add this in the end of the file but in the services section. I’ll get back to you once I know more
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
please try the following:
tideways: engine: tideways apikey: 123456abcdefg environment-name: development cli-enabled: false
0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,084 ⚖️ - Guardians (admin)
The documentation will also be updated and the missing keyword be added.
0 -
Awesome. Thanks a lot.
That seems to work. 🎉0 -
I tried to enable tideways, but it's still not working. When I have a look at
phpinfo
it looks like the connection to tideways-daemon is the problem:0 -
I had a quick look at the installation guide in the tideways docs, but I'm lost, since the Spryker Docker SDK adds a layer of abstraction on top of that.
0 -
This made it work in our project: https://github.com/spryker/docker-sdk/pull/260
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