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, I'm trying to get GLUE tests running with Fixtures. I managed to create the f
Good morning everyone,
I'm trying to get GLUE tests running with Fixtures. I managed to create the fixtures but when I execute APPLICATION_ENV=devtest vendor/bin/console queue:worker:start --stop-when-empty
I get the error sh: 1: ps: not found
multiple times. I'm not sure what this means and how to figure it out so my question is: Can you guys help me with this?
Comments
-
Do you execute the console command outside of the docker container or within?
What OS do you use locally?
Background of the question is that the console worker tries to execute the tool ps which gives back what processes are running on unix systems. If you would execute the command above on a windows system it would fail, as windows to my knowledge does not have a "ps". That's just a guess what the error could be.
0 -
I'm on linux (Ubuntu) and execute the command inside the php-cli container
0 -
Docker containers from spryker come in two flavours, alpine or debian slim.
Alpine comes with "ps" pre installed in debian slim I'm not sure as debian has a separate package for "ps" (called procps).
You could do andocker/sdk cli which ps
to find out if the package is installed. If not I suggest open a bug report on spryker side (https://spryker.force.com/support/s/)0 -
We're actually not using docker/sdk for now but the command should then look like this for me:
docker-compose exec php-cli bash -c "which ps"
, right?
=> This command doesn't give any output
If I execute it on the host directly I get/usr/bin/ps
So if I understood you correctly it is the "required" ps, isn't it?0 -
The container name would be _cli_1 if you use the standard spryker container stack.
If you build your docker stack on your own the answer is yes, ps is required to run spryker.0 -
Ok, thank you very much for your input. This seems to be an issue on our side then.
0 -
@U01660GHSTT BTW why don't you use
docker/sdk
tool?0 -
As far as I know we're investigating if we can use it with our docker-stack. So it's just a question of time.
0 -
We did the migration a few weeks ago (or months?) and ended up in forking it because we had the need for additional containers and removed the ELK stack (we use fact finder).
@UKBTMFXMJ If adding containers & removing unnecessary ones would be possible we would be much happier with the docker/sdk as it is working pretty well for us. But without this features we are only partially satisfied as forking and keeping docker/sdk up to date on our own is not trivial and takes a lot of time, especially when considering how fast docker/sdk is evolving (apparently a good thing).-> I interpreted your questions that you would love to get some feedback on the docker/sdk π
0 -
@UPZH5HHEV is happy about any feedback regarding docker/sdk in this case.
0 -
@UL6DGRULR thanks again for your comment. It took me a while to really understand what you were saying but now the error is gone. I needed to install procps in the php-cli docker container for the command to run properly. THANK YOU
0 -
Thank you guys for your feedback. I am carefully collecting all your comments and thoughts, and we are considering them when planning next releases/features.
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
- 911 Developer Corner
- 771 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