Jump to content

Talk:MediaWiki-Docker/Configuration recipes/Wiki farm

Add topic
From mediawiki.org

warning message: "detected dubious ownership in repository at '/var/www/html/w'

[edit]

After using this configuration recipe, all of my docker commands give the following warning. It appears to be non fatal, but it is highlighted yellow so quite visible:

The repository at "/var/www/html/w" does not have the correct ownership and git refuses to use it:

fatal: detected dubious ownership in repository at '/var/www/html/w'
To add an exception for this directory, call:

        git config --global --add safe.directory /var/www/html/w

Composer could not detect the root package (mediawiki/core) version, defaulting to '1.0.0'. See https://getcomposer.org/root-version

Any tips for fixing? Is this related to the lines user: ":" in the configuration recipe? Do I need to change that from colon to something else? I tried user: "novemlinguae:novemlinguae" but that didn't work. –Novem Linguae (talk) 06:55, 10 April 2025 (UTC)Reply