Installing from DockerHub

How do the dockerhub published deplayment work?

Following the instructions on invoiceninja/invoiceninja (docker.com) does not work.

docker run -d
-v /data/InvoiceNinja/public:/var/app/public
-v /data/InvoiceNinja/storage:/var/app/storage
-e APP_ENV=‘production’
-e APP_DEBUG=0
-e APP_URL=‘https://invoiceninja.domain.com
-e APP_KEY=‘base64:xyz’
-e APP_CIPHER=‘AES-256-CBC’
-e DB_TYPE=‘mysql’
-e DB_STRICT=‘false’
-e DB_HOST=‘10.10.10.10’
-e DB_DATABASE=‘invoiceninja’
-e DB_USERNAME=‘invoiceninja’
-e DB_PASSWORD=‘mydbpassword’
-e PHANTOMJS_CLOUD_KEY=‘xx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx’
-e API_SECRET=‘xyz’
-P
invoiceninja/invoiceninja

Gives me an none working browser response of ERR_CONNECTION_RESET

log from container

Configuration cache cleared!

Configuration cached successfully!

Configuration cache cleared!

Configuration cached successfully!

Route cache cleared!

Routes cached successfully!

les cached successfully!

Nothing to migrate.

2021-05-07 19:28:21,789 WARN For [program:php-fpm], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored

2021-05-07 19:28:21,789 WARN For [program:scheduler], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored

2021-05-07 19:28:21,789 WARN For [program:queue-worker], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored

2021-05-07 19:28:21,789 WARN For [program:queue-worker], redirect_stderr=true but stderr_logfile has also been set to a filename, the filename has been ignored

2021-05-07 19:28:21,792 INFO supervisord started with pid 1

2021-05-07 19:28:22,795 INFO spawned: ‘shutdown’ with pid 78

2021-05-07 19:28:22,796 INFO spawned: ‘php-fpm’ with pid 79

2021-05-07 19:28:22,798 INFO spawned: ‘queue-worker_00’ with pid 80

2021-05-07 19:28:22,800 INFO spawned: ‘queue-worker_01’ with pid 81

2021-05-07 19:28:22,802 INFO spawned: ‘scheduler’ with pid 82

READY

[07-May-2021 19:28:22] NOTICE: [pool www] ‘user’ directive is ignored when FPM is not running as root

[07-May-2021 19:28:22] NOTICE: [pool www] ‘user’ directive is ignored when FPM is not running as root

[07-May-2021 19:28:22] NOTICE: [pool www] ‘group’ directive is ignored when FPM is not running as root

[07-May-2021 19:28:22] NOTICE: [pool www] ‘group’ directive is ignored when FPM is not running as root

[07-May-2021 19:28:22] NOTICE: fpm is running, pid 79

[07-May-2021 19:28:22] NOTICE: ready to handle connections

Schedule worker started successfully.

2021-05-07 19:28:24,108 INFO success: shutdown entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2021-05-07 19:28:24,108 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2021-05-07 19:28:24,108 INFO success: queue-worker_00 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2021-05-07 19:28:24,108 INFO success: queue-worker_01 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

2021-05-07 19:28:24,108 INFO success: scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

[2021-05-07T19:29:00+00:00] Execution #1 output:

No scheduled commands are ready to run.

[2021-05-07T19:30:00+00:00] Execution #2 output:

Running scheduled command: App\Jobs\Util\SchedulerCheck

[2021-05-07T19:31:00+00:00] Execution #3 output:

No scheduled commands are ready to run.

[2021-05-07T19:32:00+00:00] Execution #4 output:

No scheduled commands are ready to run.

[2021-05-07T19:33:00+00:00] Execution #5 output:

No scheduled commands are ready to run.

[2021-05-07T19:34:00+00:00] Execution #6 output:

No scheduled commands are ready to run.

[2021-05-07T19:35:00+00:00] Execution #7 output:

Running scheduled command: App\Jobs\Util\SchedulerCheck

[2021-05-07T19:36:00+00:00] Execution #8 output:

No scheduled commands are ready to run.

[2021-05-07T19:37:00+00:00] Execution #9 output:

No scheduled commands are ready to run.

[2021-05-07T19:38:00+00:00] Execution #10 output:

No scheduled commands are ready to run.

[2021-05-07T19:39:00+00:00] Execution #11 output:

No scheduled commands are ready to run.

[2021-05-07T19:40:00+00:00] Execution #12 output:

Running scheduled command: App\Jobs\Util\SchedulerCheck

[2021-05-07T19:41:00+00:00] Execution #13 output:

No scheduled commands are ready to run.

[2021-05-07T19:42:00+00:00] Execution #14 output:

No scheduled commands are ready to run.

[2021-05-07T19:43:00+00:00] Execution #15 output:

No scheduled commands are ready to run.

[2021-05-07T19:44:00+00:00] Execution #16 output:

No scheduled commands are ready to run.

[2021-05-07T19:45:00+00:00] Execution #17 output:

Running scheduled command: App\Jobs\Util\SchedulerCheck

[2021-05-07T19:46:00+00:00] Execution #18 output:

No scheduled commands are ready to run.

[2021-05-07T19:47:00+00:00] Execution #19 output:

No scheduled commands are ready to run.

[2021-05-07T19:48:00+00:00] Execution #20 output:

No scheduled commands are ready to run.

[2021-05-07T19:49:00+00:00] Execution #21 output:

No scheduled commands are ready to run.

[2021-05-07T19:50:00+00:00] Execution #22 output:

Running scheduled command: App\Jobs\Util\SchedulerCheck

[2021-05-07T19:51:00+00:00] Execution #23 output:

No scheduled commands are ready to run.

Hi,

You may want to join us on Slack and post in the #docker channel or create an issue on the repo.

http://slack.invoiceninja.com/