I've been using mediawiki in the docker containers for a while, and I just
did a git pull to the latest, replaced the containers I was running etc,
and now I can't figure out where errors are being logged to or how I'm
supposed to see them. Help!
This may be related to the new '.env' file that seems to be required, which
sets a MW_DOCKER_UID and MW_DOCKER_GID value... If I run
docker-compose logs
I do see some "Permission denied" errors for files in /etc/php/7.2/cli and
/etc/php/7.2/fpm but those don't seem to be log files exactly
(20-xdebug.ini files ?)
If I do docker-compose exec mediawiki bash I get a login shell on the
container and I can look around, but there are no mediawiki log files in
/var/log where I would expect them, and again I don't have permission to
create a file there. Also if I docker exec into the web container I don't
have permission to look at the apache logs (but those do exist).
If I try to add a $wgDebugLogFile to LocalSettings.php the mediawiki
instance completely collapses, I can't look at anything, and I see no
errors explaining what's going on!
Help!
Arthur