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

Unable to generate APP_KEY with invoiceninja-debian #666

Open
revyte opened this issue Dec 2, 2024 · 0 comments
Open

Unable to generate APP_KEY with invoiceninja-debian #666

revyte opened this issue Dec 2, 2024 · 0 comments

Comments

@revyte
Copy link

revyte commented Dec 2, 2024

Setup information

docker run --rm -it invoiceninja/invoiceninja-debian php artisan key:generate --show

Describe the bug
Trying to generate a APP_KEY with "invoiceninja-debian" image wont work.

To reproduce
Steps to reproduce the behavior:

  1. Generating with "docker run --rm -it invoiceninja/invoiceninja-debian php artisan key:generate --show" shows
7257cc510878: Pull complete 
Digest: sha256:a8bb224b6e25fa56749755434d23cfd711f4bfca203bd30483df6e6b8d649802
Status: Downloaded newer image for invoiceninja/invoiceninja-debian:latest
Starting supervisord...
2024-12-02 22:32:45,383 INFO Set uid to user 0 succeeded
2024-12-02 22:32:45,387 INFO RPC interface 'supervisor' initialized

Expected behavior
Using the "older" image "docker run --rm -it invoiceninja/invoiceninja php artisan key:generate --show" generates the expected key like


79b0dfba4a80: Pull complete 
Digest: sha256:b6b326bf4682c3759eb14d8af3a10be77c1902d33dd7fa4c2ae76b764ae92095
Status: Downloaded newer image for invoiceninja/invoiceninja:latest
base64:TbIAaXjtiwCryWdwtNAA3slxasQV5b9nwY60W7iqqHI=

Screenshots/logs
If applicable, add screenshots to help explain your problem.

7257cc510878: Pull complete 
Digest: sha256:a8bb224b6e25fa56749755434d23cfd711f4bfca203bd30483df6e6b8d649802
Status: Downloaded newer image for invoiceninja/invoiceninja-debian:latest
Starting supervisord...
2024-12-02 22:32:45,383 INFO Set uid to user 0 succeeded
2024-12-02 22:32:45,387 INFO RPC interface 'supervisor' initialized
2024-12-02 22:32:45,387 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2024-12-02 22:32:45,387 INFO supervisord started with pid 1
2024-12-02 22:32:46,390 INFO spawned: 'php-fpm' with pid 10
2024-12-02 22:32:46,392 INFO spawned: 'queue-worker_00' with pid 11
2024-12-02 22:32:46,393 INFO spawned: 'queue-worker_01' with pid 12
2024-12-02 22:32:46,395 INFO spawned: 'scheduler' with pid 13
[02-Dec-2024 22:32:46] NOTICE: fpm is running, pid 10
[02-Dec-2024 22:32:46] NOTICE: ready to handle connections

   INFO  No scheduled commands are ready to run.  

2024-12-02 22:32:47,847 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-02 22:32:47,847 INFO success: queue-worker_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-02 22:32:47,847 INFO success: queue-worker_01 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-02 22:32:47,847 INFO success: scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-12-02 22:32:47,847 INFO reaped unknown pid 15 (exit status 0)

   INFO  No scheduled commands are ready to run.  

2024-12-02 22:33:47,721 INFO reaped unknown pid 44 (exit status 0)
^C2024-12-02 22:33:55,733 WARN received SIGINT indicating exit request
2024-12-02 22:33:55,733 INFO waiting for php-fpm, queue-worker_00, queue-worker_01, scheduler to die
2024-12-02 22:33:56,735 WARN stopped: scheduler (terminated by SIGTERM)
2024-12-02 22:33:56,743 INFO stopped: queue-worker_01 (exit status 0)
2024-12-02 22:33:56,743 INFO stopped: queue-worker_00 (exit status 0)
[02-Dec-2024 22:33:56] NOTICE: Terminating ...
[02-Dec-2024 22:33:56] NOTICE: exiting, bye-bye!
2024-12-02 22:33:56,752 INFO stopped: php-fpm (exit status 0)

Docker/Kubernetes/Helm:

  • Output of docker version:
Client:
 Version:           24.0.9
 API version:       1.43
 Go version:        go1.20.13
 Git commit:        2936816
 Built:             Thu Feb  1 00:47:46 2024
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          24.0.9
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.13
  Git commit:       fca702d
  Built:            Thu Feb  1 00:49:16 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.7.13
  GitCommit:        7c3aca7a610df76212171d200ca3811ff6096eb8
 runc:
  Version:          1.1.12
  GitCommit:        v1.1.12-0-g51d5e94
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant