| Frog23 added a comment. |
I ran all of the commands and got a slightly different log, but the same effective outcome.
root@server:~/wikibase-docker# docker logs wikibasedocker_wikibase_1 /entrypoint.sh: 4: /entrypoint.sh: wait-for-it.sh: not found /entrypoint.sh: 8: /entrypoint.sh: wait-for-it.sh: not found PHP 7.1.12 is installed. Found ImageMagick: /usr/bin/convert. Image thumbnailing will be enabled if you enable uploads. Found the Git version control software: /usr/bin/git. Warning: No --scriptpath specified, using default: /wiki. Using server URL "/wiki". /usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory Warning: Your default directory for uploads (/var/www/html/images/) is not checked for vulnerability to arbitrary script execution during the CLI install. Using the intl PECL extension for Unicode normalization. The environment has been checked. You can install MediaWiki. Setting up database Cannot access the database: Connection refused (mysql.svc:3306). Check the host, username and password and try again.
MediaWiki 1.29.2 Updater Your composer.lock file is up to date with current dependencies! Set $wgShowExceptionDetails = true; and $wgShowDBErrorBacktrace = true; at the bottom of LocalSettings.php to show detailed debugging information AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message [Thu Dec 07 12:42:31.479339 2017] [mpm_prefork:notice] [pid 27] AH00163: Apache/2.4.10 (Debian) PHP/7.1.12 configured -- resuming normal operations [Thu Dec 07 12:42:31.479368 2017] [core:notice] [pid 27] AH00094: Command line: 'apache2 -D FOREGROUND'
Notice that this time the connection to the db was refused. I thought that this might be caused by a timing issue, as the wait-for-it.sh scripts can not be found, so I tried to install MW via the php install command but this time I got the same error messages as before. A look in the database showed that no tables have had been created. However I then renamed the LocalSettings.php and did a manual install via the web interface and this time it worked. In put the old LocalSettings.php back in place and run the update.php script and then I had a working Wikibase installation.
However the query service was still not working.
I could get Blasegraph (wikibasedocker_wdqs_1) to start properly by changing line 5 of runBlazegraph.sh from "runBlazegraph.sh" to "./runBlazegraph.sh" and wikibasedocker_wdqs-update_1 seemed to start working by changing line 6 of runUpdate.sh from "wait-for-it.sh $WIKIBASE_HOST:80 -t 60 -- \" to "/wait-for-it.sh $WIKIBASE_HOST:80 -t 60 -- \" (note the additional slash at the beginning).
However wikibasedocker_wdqs-proxy_1 still has an issue.
root@server:~/wikibase-docker# docker logs wikibasedocker_wdqs-proxy_1 2017/12/07 13:04:56 [emerg] 9#9: host not found in upstream "wdqs.svc" in /etc/nginx/conf.d/default.conf:8 nginx: [emerg] host not found in upstream "wdqs.svc" in /etc/nginx/conf.d/default.conf:8
I tried to run "docker-compose restart wdqs-proxy" but it didn't change anything (even the time stamps of the log remained the same). I wanted to log into the container and start entrypoint.sh manually, but "docker exec -it wikibasedocker_wdqs-proxy_1 bash" didn't work either. Any ideas?
Cc: Frog23, Aklapper, Lahi, Gq86, GoranSMilovanovic, QZanden, Wikidata-bugs, aude, Addshore, Mbch331
_______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
