Git Product home page Git Product logo

Comments (6)

NathanVaughn avatar NathanVaughn commented on July 22, 2024

I think you may have a typo in your environment variables.

getaddrinfo for webttees_db failed

You can confirm by looking/editing the contents of /var/www/webtrees/data/config.ini.php

from webtrees-docker.

NathanVaughn avatar NathanVaughn commented on July 22, 2024

In terms of manually running the setup wizard, remove all of the DB_ and WT_ environment variables and make sure the data directory is empty. When you do that and open a web browser, webtrees will walk you through a setup wizard.

from webtrees-docker.

PeSalomon avatar PeSalomon commented on July 22, 2024

Hi Nathan,
thank you for your reply. The typo in my environment variables must have been a left over from an earlier version of my docker-compose.yml file. I have made a fresh installation of Raspbian OS on my Pi4 and with this the start of the containers with the docker-compose.yml above worked without any errors.
Unfortunately I'm now getting an error when trying to create the data base: SQLSTATE[HY000] [2002] Connection refused (SQL: CREATE DATABASE IF NOT EXISTS Stelzig COLLATE utf8_unicode_ci)
I've seen that others got this error as well and will follow their solutions.
Thanks for your help.
Best regards
Peter

from webtrees-docker.

NathanVaughn avatar NathanVaughn commented on July 22, 2024

Sorry I didn't get back earlier. Yeah, there's a lot of things that could cause that. Permissions issues, access control issues, networking issues, database issues, etc. I think the best place to start is to just try attaching a terminal to the database and logging in on the command line. Then try from the webtrees container, etc.

from webtrees-docker.

PeSalomon avatar PeSalomon commented on July 22, 2024

from webtrees-docker.

NathanVaughn avatar NathanVaughn commented on July 22, 2024

Interesting, I'm the most proficient at Linux file system permissions. On my own setup, I run everything with bind mounts, and really only test the docker compose file with volume mounts on my Windows desktop.

It also sounds like it was related to #131 then. I have updated the docker-compose file to reflect this, maybe you had an old version.

from webtrees-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.