Closed coderunway closed 1 year ago
Pretty strange. After reinstalling the latest tag 4 times, it worked on the 4th attempt.
I am experiencing the same issue right now with image 2.25.7
I just tried the install script with an empty installation. Did you enter a valid database host in the install page? By default it is "localhost", which is not correct. E.g. in the example it is "mysql" (since that's the name of the service, but of course could be anything).
And can you check the docker output? For me I had the following (with the wrong database host):
mantisbt_1 | [Fri Sep 15 12:34:16.979579 2023] [php:notice] [pid 25] [client 172.17.0.1:45516] No such file or directory\n/var/www/html/vendor/adodb/adodb-php/drivers/adodb-mysqli.inc.php: 124: - - - - mysqli_real_connect( <Object><mysqli> ( ), <string>'localhost', <string>'root', <string>'root', <string>'', <integer>3306, <string>'', <integer>0 )\n/var/www/html/vendor/adodb/adodb-php/adodb.inc.php: 695: ADODB_mysqli - -> - _connect( <string>'localhost', <string>'root', <string>'root', <string>'' )\n/var/www/html/admin/install.php: 423: ADOConnection - -> - Connect( <string>'localhost', <string>'root', <string>'root' )\n, referer: http://127.0.0.1:8989/admin/install.php
Yes, turns out I also had bad DB connection configuration. I figured it out by downgrading to version 2.25.6, which displays a comprehensive error on the pre-installation check page:
In version 2.25.7, the pre-installation check page crashes with a generic error:
So, I would say, this is an upstream issue with mantis. Maybe somebody can report it with the mantis project?
I'm trying to install the mantisbt docker and both mysql and mantis containers are up and running. I can connect to mysql via the command line too. However at the final install step via the browser ($ firefox http://localhost:8989/admin/install.php) after I fill in all "correct" details, It shows the below error
I have tried the latest tag image ([2.25.7]) and also tried [2.25.6-php8.1] tag too and both give same errors.
Appreciate some guidance.