Troubleshoot a development environment
Releasev0.35.0 · cfeceb67
Choose another MediaWiki checkout
Section titled “Choose another MediaWiki checkout”Clear the saved code directory to let the setup wizard ask for it again:
mw dev env delete MEDIAWIKI_VOLUMES_CODEmw dev mediawiki createmw dev env clear clears all context variables instead. Use it only when you want to configure the entire context again. Neither command is a substitute for destroying service containers or volumes.
To keep another checkout as a separate environment, use a different context:
mw dev --context another mediawiki createDocker reports missing cgroup support
Section titled “Docker reports missing cgroup support”Messages such as Your kernel does not support cgroup memory limit or Unable to find cpu cgroup in mounts come from the Docker host setup. Check the installed Docker version and host configuration:
docker versiondocker infoUpdating an old Docker installation may resolve these warnings. When Docker runs inside a VM, check the Docker installation and cgroup support on that VM.
See setup, service configuration and MediaWiki debugging for related workflows.
Read this guide offline with mw help guides dev troubleshooting.
Adapted from MediaWiki.org under CC BY-SA 4.0; see the linked page history for contributors.
Page views: —Sessions: —