invoiceninja / dockerfiles

Docker files for Invoice Ninja
https://hub.docker.com/r/invoiceninja/invoiceninja
GNU General Public License v2.0
411 stars 267 forks source link

Will there be another v4 Docker release? #438

Closed MegaphoneJon closed 1 year ago

MegaphoneJon commented 2 years ago

I see that there are migration improvements in v4.50, but the latest release on Docker Hub is 4.46. Are there plans for another v4 release?

turbo124 commented 2 years ago

I've tagged this. I'm unsure if it will build due to 7.4 dependencies :crossed_fingers:

turbo124 commented 2 years ago

@MegaphoneJon this won't work.

The image will not build against PHP 7.4.

oliverpool commented 1 year ago

@turbo124 so I guess the answer is no? :disappointed:

oliverpool commented 1 year ago

Latest docker image v4: 4.5.46 Latest release v4: v4.5.50

2color commented 1 year ago

I tried the following images in an attempt to run Invoice ninja v4:

Unfortunately, I couldn't get either to run successfully


With invoiceninja/invoiceninja:4.5.46 (php 7.2.34), I get the dockerfiles-app-1 | Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.3.0". You are running 7.2.34. in /var/www/app/vendor/composer/platform_check.php on line 24 errors


With invoiceninja/invoiceninja:4.5.46 (php 7.2.34), I get the undefined constants error:

dockerfiles-app-1  |   Use of undefined constant TOKEN_BILLING_ALWAYS - assumed 'TOKEN_BILLING_ALW
dockerfiles-app-1  |   AYS' (this will throw an Error in a future version of PHP)

As it stands, I am not aware of a way to run v4. I think it would be a good idea to document this at the very least to save users time.

Thoughts @turbo124?

oliverpool commented 1 year ago

I am running v4.5.35 via docker without issues (on a local network to reduce exposure).

2color commented 1 year ago

I am running v4.5.35 via docker without issues (on a local network to reduce exposure).

Thanks @oliverpool.

I was able to get the alpine-4.5.35 tag running.

Cronus89 commented 10 months ago

What are the suggested steps to migrate to v5, with an outdated 4.5.35?