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 friends. I want to install a generic third-party composer package in my Spryker shop. `docker/sdk
Hi friends. I want to install a generic third-party composer package in my Spryker shop. docker/sdk cli composer require my/packagename
is working for a bit and then exiting with the only output being Killed.
It's not a memory or a time limit issue, I've monitored both with docker stats
and they don't approach any limit. It's not tied to the composer package, any I install has the same result. I'm on Mac OS Big Sur, if that helps.
Anyone have any idea?
Comments
-
Killed usually means OOM Killer was involved. Usually.
Have you checked dmesg output being inside cli container?0 -
fsmeier Senior Software Engineer & Developer Enablement Advocate Sprykee Posts: 1,082 βοΈ - Guardians (admin)
you could also try to go into the container
docker/sdk cli
and docomposer require my/packagename -vvv
maybe you see more information there0 -
The -vvv showed that it crashed after these lines:
0 -
Reading /home/spryker/.composer/cache/repo/https---repo.packagist.org/provider-php-mock$php-mock.json from cache Reading /home/spryker/.composer/cache/repo/https---repo.packagist.org/provider-satooshi$php-coveralls.json from cache Reading /home/spryker/.composer/cache/repo/https---repo.packagist.org/provider-codeception$lib-asserts.json from cache Reading /home/spryker/.composer/cache/repo/https---repo.packagist.org/provider-dms$phpunit-arraysubset-asserts.json from cache
0 -
dmesg doesn't seem to work inside the CLI
0 -
Please run cli container by running
docker/sdk cli
, open second tab of you console and find id of this container runningdocker ps
thendocker exec -ti {id} bash
.
Runcomposer reuire
in the first tab, wait for Killed message and checkdmesg
in the second tab.0 -
Thanks Valerii.
Second tab crashes with:β― docker exec -ti 8a0ac8a6bb23 bash OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"bash\": executable file not found in $PATH": unknown
0 -
Interesting. Let me check my local setup.
0 -
Well, I was able to login to cli container but dmesg doesn't work there. π
I wonder ifdmesg
will show OOM Killer on the host system? π€ Could you check it please?0 -
I get the same error message with klogctl not permitted
0 -
the host system has some dmesg messages, but I don't know enough about that to read them
0 -
it also throws out the message that composer 2 should be used, but I wasn't able to do composer self-update
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 924 Developer Corner
- 783 Spryker Development
- 88 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
- 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
- 70 Spryker Safari Questions
- 50 Random