mediawiki-docker
mediawiki-docker copied to clipboard
Wiki site not running
Hi,
When I run the example docker commands, all that happens is that the database gets intalled - but the docker instance stops immediately, i.e. the mediawiki site does not keep running at all?
I tested the docker image with:
docker run --name wiki \
-e MEDIAWIKI_DB_HOST=192.168.200.10 \
-e MEDIAWIKI_DB_PORT=3306 \
-e MEDIAWIKI_DB_USER=wiki \
-e MEDIAWIKI_DB_PASSWORD=abcdefg
-e MEDIAWIKI_DB_NAME=wiki \
-e RESTBASE_URL=http://localhost
-p 80:80 ubcctlt/mediawiki
So is this what it is supposed to do?
Just start and generate the database and a LocalSettings.php?
These are the last lines of the log from the docker pod:
Database was successfully set up
MediaWiki has been successfully installed. You can now visit <> to view your wiki. If you have questions, check out our frequently asked questions list: <https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ> or use one of the support forums linked on that page.
Generating DPL template Template:Extension_DPL
/entrypoint.sh: line 242: exec: -E: invalid option
exec: usage: exec [-cl] [-a name] [command [argument ...]] [redirection ...]
Which could indicate that something is off.
Hi @bjornbouetsmith, it seems you are missing \
on MEDIAWIKI_DB_PASSWORD
and RESTBASE_URL
line. The -e got passed to the container as argument instead of run
argument.