Version ie <v5.10.30> Can’t get access to check.. pulling latest.
Environment Docker
Checklist
- Can you replicate the issue on our v5 demo site https://demo.invoiceninja.com or Invoice Ninja? No
- Have you searched existing issues? Yes
- Have you inspected the logs in storage/logs/laravel.log for any errors? No - error with docker-compose
Describe the bug
After an apt-get
upgrade and then a docker compose down && docker compose pull && docker compose up -d
the container fails to start with the error
Error response from daemon: could not parse extra host IP 192.168.0.124 : ParseAddr("192.168.0.124 "): unexpected character (at " ")
Steps To Reproduce
As above.
Expected Behavior
The container to start with no errors.
Additional context
The most recent docker related packages that have been upgraded according to the logs are:
containerd.io:arm64 (1.7.24-1, 1.7.27-1)
docker-buildx-plugin:arm64 (0.19.3-1~debian.12~bookworm, 0.23.0-1~debian.12~bookworm)
docker-ce-cli:arm64 (5:27.4.1-1~debian.12~bookworm, 5:28.1.1-1~debian.12~bookworm)
docker-ce-r ootless-extras:arm64 (5:27.4.1-1~debian.12~bookworm, 5:28.1.1-1~debian.12~bookworm)
docker-ce:arm64 (5:27.4.1-1 ~debian.12~bookworm, 5:28.1.1-1~debian.12~bookworm)
docker-compose-plugin:arm64 (2.32.1-1~debian.12~bookworm, 2.35.1-1~debian.12~bookworm)
Relevant part of docker-compose:
version: '3.7'
services:
server:
image: nginx
restart: always
env_file: env
volumes:
# Vhost configuration
#- ./config/caddy/Caddyfile:/etc/caddy/Caddyfiledocker-com
- ./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:
- "7070:80"
#- "443:443"
networks:
- invoiceninja
extra_hosts:
- "in5.localhost:192.168.0.124 " #host and ip
app:
image: invoiceninja/invoiceninja:5
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
depends_on:
- db
networks:
- invoiceninja
extra_hosts:
- "in5.localhost:192.168.0.124 " #host and ip
db:
# image: mysql:8
# When running on ARM64 use MariaDB instead of MySQL
image: mariadb:10.4
# For auto DB backups comment out image and use the build block below
# build:
# context: ./config/mysql
ports:
- "3305:3306"
restart: always
env_file: env
volumes:
- ./docker/mysql/data:/var/lib/mysql:rw,delegated
# remove comments for next 4 lines if you want auto sql backups
#- ./docker/mysql/bak:/backups:rw
#- ./config/mysql/backup-script:/etc/cron.daily/daily:ro
#- ./config/mysql/backup-script:/etc/cron.weekly/weekly:ro
#- ./config/mysql/backup-script:/etc/cron.monthly/monthly:ro
networks:
- invoiceninja
extra_hosts:
- "in5.localhost:192.168.0.124 " #host and ip
Screenshots
N/A
Logs
N/A
There appears to be a space in the above mentioned lines which has previously been parsed correctly - and now it is not. Editing the compose file to remove the spaces gives me an nginx 500 server error - and im unsure where these variable are called to change them.
Any ideas to help?
Thanks
Nick