The set up worked fine when I was using MacOS. Recently I shifted to Ubuntu and I keep getting this error even though I have followed all steps of DEVELOPERS.md
These are the steps I followed:
- Create a docker-compose.override.yml containing the following:
version: '3.7' services: mediawiki: # On Linux, these lines ensure file ownership is set to your host user/group user: "${MW_DOCKER_UID}:${MW_DOCKER_GID}"
- Set $MW_DOCKER_UID and $MW_DOCKER_GID in the environment:
export MW_DOCKER_UID=$(id -u) export MW_DOCKER_GID=$(id -g)
- Start the environment:
docker-compose up -d
- Install Composer dependencies:
docker-compose exec mediawiki composer update
- Install MediaWiki in the environment:
docker-compose exec mediawiki \ bash -c 'php maintenance/install.php \ --server $MW_SERVER \ --scriptpath=$MW_SCRIPTPATH \ --dbtype $MW_DBTYPE \ --dbpath $MW_DBPATH \ --lang $MW_LANG \ --pass $MW_PASS \ $MW_SITENAME $MW_USER'
The following is the output I got after running the last command
Error on visiting localhost:8080:
Browser: Google Chrome
OS: Linux (Ubuntu)
Version: Ubuntu 18.04.4 LTS
Docker version: 19.03.8