Git Product home page Git Product logo

Comments (3)

H2CK avatar H2CK commented on July 23, 2024

Hi.
I did try to start a fresh container and it was possible to successfully run the assistant. Even I have another instance successfully running with a PostgrSQL DB.
I assume your mounted volumes contain something that is not compatible with webtrees 2.x. With webtrees 2.x there us no need to mount a separate media volume any more (see #22). Are you still running webtrees 1.17.x? And your configuration data, plugin and so on in /webtrees/data is still based on webtrees 1.17.x? In this case you could use the tag dtjs48jkt/webtrees:v1.7.17 to make use of the old webtrees version.
Please have a look in your data folder and check if the content is compatible with webtrees 2.0.x

from webtrees.

H2CK avatar H2CK commented on July 23, 2024

It did some further analysis. It seems that your database settings might not be correct. Are you trying to connect to your DB (MySQL?) with localhost as hostname.
SQLSTATE[HY000] [2002] No such file or directory means php cannot find the mysql.default_socket file. With this docker image you can not connect to the database using localhost or 127.0.0.1. If you are using localhost or 127.0.0.1 the image tries to connect to a database that is within the container. But since the container does not contain a database you must not use localhost nor 127.0.0.1. You must access your database using an ip address (no loopback IP address).

from webtrees.

drojh avatar drojh commented on July 23, 2024

Hey

Played around with it some more and got solved. Don't know what exactly went wrong, but as you mentioned, I think it was something to do with the mounted folders.
After changing them, it worked. (They were created by an earliere try.)

from webtrees.

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.