Lychee 7.0.1 not starting up - WARN Caddyfile input is not formatted; run 'caddy fmt --overwrite' to fix inconsistencies. #3955
|
Installed version 7.0.1 in Docker directly with the supposed docker compose file from the start page, but getting the error: What is missing? services:
lychee:
image: ghcr.io/lycheeorg/lychee:latest
container_name: lychee
ports:
- "8000:8000"
volumes:
- ./lychee/uploads:/app/public/uploads
- ./lychee/storage/app:/app/storage/app
- ./lychee/logs:/app/storage/logs
- ./lychee/tmp:/app/storage/tmp
- .env:/app/.env:ro
environment:
APP_KEY: base64:VGhpc0lzQW5CYXNlNjRLZXlGb3JMeWNoZWU=
APP_URL: http://localhost:8000
DB_CONNECTION: mysql
DB_HOST: lychee_db
DB_PORT: 3306
DB_DATABASE: lychee
DB_USERNAME: lychee
DB_PASSWORD: lychee_password
depends_on:
lychee_db:
condition: service_healthy
restart: unless-stopped
lychee_db:
image: mariadb:11
container_name: lychee_db
environment:
MYSQL_DATABASE: lychee
MYSQL_USER: lychee
MYSQL_PASSWORD: lychee_password
MYSQL_ROOT_PASSWORD: root_password
volumes:
- lychee_db:/var/lib/mysql
healthcheck:
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
interval: 5s
timeout: 3s
retries: 10
restart: unless-stopped
volumes:
lychee_db: |
Answered by
ildyria
Jan 9, 2026
Replies: 1 comment 1 reply
|
WTF. The caddy issue you can ignore safely. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Got it.
The reason is your key:
VGhpc0lzQW5CYXNlNjRLZXlGb3JMeWNoZWU=. It is too short.If I base64 decode it and send it to hex I get:
546869734973416e4261736536344b6579466f724c7963686565 which is 52 characters or 26 bytes. Lychee need keys of length 32 bytes.
Thanks you for the heads up, I will add a check to validate the key-length.
Here is a command that generates a key of 64 bytes.