I also tried this in unRaid where I tried to connect it to a separate mariadb container, in every case I get the error:
[NV_INIT] Disabling site webtrees-redir
[NV_INIT] Disabling site webtrees-ssl
[NV_INIT] Enabling site webtrees
[NV_INIT] Sending setup wizard request to http://127.0.0.1:80/
Traceback (most recent call last):
File "/usr/lib/python3.11/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/usr/lib/python3.11/http/client.py", line 1282, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1328, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1277, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.11/http/client.py", line 1037, in _send_output
self.send(msg)
File "/usr/lib/python3.11/http/client.py", line 975, in send
self.connect()
File "/usr/lib/python3.11/http/client.py", line 941, in connect
self.sock = self._create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/socket.py", line 851, in create_connection
raise exceptions[0]
File "/usr/lib/python3.11/socket.py", line 836, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/docker-entrypoint.py", line 535, in <module>
main()
File "/docker-entrypoint.py", line 520, in main
setup_wizard()
File "/docker-entrypoint.py", line 410, in setup_wizard
resp = request.urlopen(
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 1377, in http_open
return self.do_open(http.client.HTTPConnection, req)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
Site webtrees-redir already disabled
Site webtrees-ssl already disabled
Site webtrees already enabled
Hi there, I am having trouble getting this application to run.
My docker-compose
Click me
```yaml version: "3" services: app: depends_on: - db environment: PRETTY_URLS: "1" HTTPS: "0" HTTPS_REDIRECT: "0" 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 ports: - 86:80 # - 443:443 restart: unless-stopped volumes: # - ~/certs:/certs/ - ./app_data:/var/www/webtrees/data/ - ./app_media:/var/www/webtrees/media/ db: environment: MARIADB_DATABASE: "webtrees" MARIADB_USER: "webtrees" MARIADB_ROOT_PASSWORD: "badpassword" MARIADB_PASSWORD: "badpassword" image: docker.io/library/mariadb:latest restart: unless-stopped volumes: - ./db_data:/var/lib/mysql # db: # environment: # POSTGRES_DB: "webtrees" # POSTGRES_USER: "webtrees" # POSTGRES_PASSWORD: "badpassword" # image: docker.io/library/postgres:latest # restart: unless-stopped # volumes: # - db_data:/var/lib/postgresql/data volumes: db_data: driver: local app_data: driver: local app_media: driver: local ```Error message
I also tried this in unRaid where I tried to connect it to a separate mariadb container, in every case I get the error: