Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wiki site not running #29

Open
bjornbouetsmith opened this issue Apr 30, 2022 · 1 comment
Open

Wiki site not running #29

bjornbouetsmith opened this issue Apr 30, 2022 · 1 comment

Comments

@bjornbouetsmith
Copy link

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.

@xcompass
Copy link
Member

xcompass commented May 5, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants