jgeusebroek / docker-spotweb

A docker image running ubuntu/20.04 Linux and Spotweb
47 stars 27 forks source link

SQLSTATE[HY000] [2002] Connection timed out/ during install page 2 #47

Closed professordave closed 2 years ago

professordave commented 2 years ago

Hello, I have tried installing using different methods. I always seem to get SQLSTATE[HY000] [2002] Connection timed out

on /install.php?page=2

I am on a synology dsm 920+ 7.0.1-42218 Update 3

This is the first guide that I followed, then I uninstalled and tried using the method described here where I run the docker command directly

tried this first https://drfrankenstein.co.uk/2022/02/03/spotweb-in-docker-on-synology-nas-coming-soon/

then the 2 step from this wiki

I am able to connect to the mariadb with other db tools, like phpmyadmin.

Mariadb version 1:10.7.3+maria~focal

How can I troubleshoot this?

If I mount a directory docker/spotweb /config

an empty ownsettings.php file is created, its size is 0

Thanks in advance

jgeusebroek commented 2 years ago

Sorry, this is kind of outside the scope of the image. Spotweb can't talk to the database, this could be for a number of reasons.

When connecting to Mariadb with phpmyadmin, is PHPMyadmin running on the same machine in a docker container?

ownsettings.php being empty is normal.

professordave commented 2 years ago

Thank you for the prompt reply.

I am not sure if I tried that. Running phpmyadmin in the same same docker group

I will do that next

professordave commented 2 years ago

I think I may have gotten past this.