Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php-worker can't run artisan commands #2765

Closed
RecruboMark opened this issue Nov 6, 2020 · 2 comments
Closed

php-worker can't run artisan commands #2765

RecruboMark opened this issue Nov 6, 2020 · 2 comments

Comments

@RecruboMark
Copy link

Description:

php-worker container does not have 'zip' installed which is causing supervisor to fail.

Expected Behavior:

Supervisor should be able to run artisan commands.

Context information:

Output of git rev-parse HEAD

fc4baf1fc7f2ca150acb76db88c60d83bb48c910

Output of docker version

Client: Docker Engine - Community
 Cloud integration: 1.0.1
 Version:           19.03.13
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        4484c46d9d
 Built:             Wed Sep 16 17:00:27 2020
 OS/Arch:           windows/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.13
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       4484c46d9d
  Built:            Wed Sep 16 17:07:04 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.3.7
  GitCommit:        8fba4e9a7d01810a393d5d25a3621dc101981175
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

Output of docker-compose version

docker-compose version 1.27.4, build 40524192
docker-py version: 4.3.1
CPython version: 3.7.4
OpenSSL version: OpenSSL 1.1.1c  28 May 2019

System info: Mac, Windows or Linux. Include which disto/version

Windows 10 Pro 64-bit

Stacktrace & Additional info:

docker exec -it {php-worker-container-id} php /var/www/artisan horizon

Composer detected issues in your platform:

Your Composer dependencies require the following PHP extensions to be installed: zip

php-worker logs:
![image](https://user-images.githubusercontent.com/52448924/98358501-1a2e7e00-2027-11eb-89e3-45f4679afa2c.png)

@Anishmourya
Copy link

@vdbMark you need to add zip package to PHP-worker container to fix it. It's not a bug.

#Install GD package:

see, you can add custom packages to Dockerfile to fix. I had also fixed for me for other packages.
I think you can mark this as close.

@stale
Copy link

stale bot commented Feb 17, 2021

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Feb 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants