Closed tmuehlherr closed 2 years ago
Do you have the Docker commands or docker-compose.yml
file you are using? I ran this docker-compose.yml
file on my Windows 11 PC with Docker Desktop, and got through the setup UI without issue.
version: "3"
services:
app:
depends_on:
- db
environment:
PRETTY_URLS: "1"
# HTTPS: "1"
# HTTPS_REDIRECT: "1"
LANG: "en-US"
BASE_URL: "http://localhost"
# DB_TYPE: "mysql"
# DB_HOST: "db"
# DB_PORT: "3306"
# DB_USER: "webtrees"
# DB_PASS: "badpassword"
# DB_NAME: "webtrees"
# DB_PREFIX: "wt_"
# WT_USER: "username"
# WT_NAME: "Full Name"
# WT_PASS: "mybadpassword"
# WT_EMAIL: "me@example.com"
image: ghcr.io/nathanvaughn/webtrees:latest
#build: .
ports:
- 80:80
- 443:443
restart: unless-stopped
volumes:
- app_data:/var/www/webtrees/data/
- app_media:/var/www/webtrees/media/
db:
command: "--default-authentication-plugin=mysql_native_password"
environment:
MYSQL_DATABASE: "webtrees"
MYSQL_USER: "webtrees"
MYSQL_ROOT_PASSWORD: "badpassword"
MYSQL_PASSWORD: "badpassword"
image: mariadb:latest
restart: unless-stopped
volumes:
- db_data:/var/lib/mysql
volumes:
db_data:
driver: local
app_data:
driver: local
app_media:
driver: local
At the time I tried this, this is Webtrees 2.0.19 and MariaDB 10.6.5
This should be resolved (hopefully) now with the latest push of the :2.0.21
tag and new entrypoint script. Feel free to reopen if it continues to be a problem.
Running this in docker desktop on Windows 10. After starting the web UI I enter the two pages of configuration items. Then I get this error:
I dropped the tables in the database and re-ran the same. Same error again.
WebTrees Image 2021-12-05T17:10:48Z 2.0.19 MariaDB: Linuxserver.io version:- 10.5.13-r0-ls46 Build-date:- 2022-01-29T06:47:05+01:00
Any help is appreciated.
Thomas