Logs:
invoiceninja_app:
cp: can't create '/var/www/app/public/images/client-portal-new-image.jpg': File exists
cp: can't create '/var/www/app/public/images/new_logo.png': File exists
cp: can't create '/var/www/app/public/images/invoiceninja-black-logo-2.png': File exist
invoiceninja_nginx:
/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Sourcing /docker-entrypoint.d/15-local-resolvers.envsh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/03/24 17:07:39 [notice] 1#1: using the "epoll" event method
2024/03/24 17:07:39 [notice] 1#1: nginx/1.25.4
2024/03/24 17:07:39 [notice] 1#1: built by gcc 12.2.0 (Debian 12.2.0-14)
2024/03/24 17:07:39 [notice] 1#1: OS: Linux 5.15.108-1-pve
2024/03/24 17:07:39 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 524288:524288
2024/03/24 17:07:39 [notice] 1#1: start worker processes
2024/03/24 17:07:39 [notice] 1#1: start worker process 30
2024/03/24 17:07:39 [notice] 1#1: start worker process 31
2024/03/24 17:07:39 [notice] 1#1: start worker process 32
2024/03/24 17:07:39 [notice] 1#1: start worker process 33
2024/03/24 17:07:39 [notice] 1#1: start worker process 34
2024/03/24 17:07:39 [notice] 1#1: start worker process 35
2024/03/24 17:07:39 [notice] 1#1: start worker process 36
2024/03/24 17:07:39 [notice] 1#1: start worker process 37
2024/03/24 17:07:39 [notice] 1#1: start worker process 38
2024/03/24 17:07:39 [notice] 1#1: start worker process 39
2024/03/24 17:07:39 [notice] 1#1: start worker process 40
2024/03/24 17:07:39 [notice] 1#1: start worker process 41
2024/03/24 17:07:40 [error] 30#30: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.192.1, server: _, request: "GET / HTTP/1.1", upstream: "fastcgi://192.168.192.2:9000", host: "invoice.DOMAIN.nl"
Docker-compose.yml:
version: '3.7'
services:
server:
image: nginx
env_file: env
volumes:
- ./config/nginx/in-vhost.conf:/etc/nginx/conf.d/in-vhost.conf:ro
- ./docker/app/public:/var/www/app/public:ro
depends_on:
- app
# Run webserver nginx on port 80
# Feel free to modify depending what port is already occupied
ports:
- 8888:80
#- 8888:443
networks:
- invoiceninja
labels:
- "traefik.enable=true"
- "traefik.http.services.DOMAIN-invoiceninja.loadbalancer.server.port=80"
- "traefik.http.services.DOMAIN-invoiceninja.loadbalancer.passhostheader=true"
- "traefik.http.routers.DOMAIN-invoiceninja.rule=Host(`invoice.DOMAIN.nl`)"
- "traefik.http.routers.DOMAIN-invoiceninja.entrypoints=websecure"
- "traefik.http.routers.DOMAIN-invoiceninja.tls=true"
- "traefik.http.routers.DOMAIN-invoiceninja.tls.certresolver=cloudflare"
restart: unless-stopped
#LAST WORKING VERSION: 5.8.24
app:
image: invoiceninja/invoiceninja:5.8.25
env_file: env
restart: always
volumes:
- ./config/hosts:/etc/hosts:ro
- ./docker/app/public:/var/www/app/public:rw,delegated
- ./docker/app/storage:/var/www/app/storage:rw,delegated
- ./config/php/php.ini:/usr/local/etc/php/php.ini
- ./config/php/php-cli.ini:/usr/local/etc/php/php-cli.ini
networks:
- invoiceninja
networks:
invoiceninja:
Issue:
After a lot of complaines from my costumers that they get a Error 500 after a payment i thought, let me check if there is a update. There was, so i want to update.
No matter what update i choose after 5.8.24 i get the logs from above and the lavarel.log stays empty.
I allready checked if there was a permission error by doing the recommended as mentioned on the github which include setting permissions to 1500. nothing helped.
If stuff like this keep happening like it was before on V4 back in the stays im forced to check for something else since these things cant happen in a production workflow.
Sidenode, the docker compose have been working like this since v5, never needed to change something major to it.