MediaWiki Docker image for Canasta, an all-in-one MediaWiki stack for easy deployment and management of enterprise-ready MediaWiki on production environments.
When the container starts, it only checks for MW_VOLUME to be writable and not for the images directory. Because of this, if for any reason (e.g., images migration) the directory is not writable, it will stay not writable after the start and will lead to issues with image uploads and thumbnail generations until manually fixed on the host.
When the container starts, it only checks for
MW_VOLUME
to be writable and not for theimages
directory. Because of this, if for any reason (e.g., images migration) the directory is not writable, it will stay not writable after the start and will lead to issues with image uploads and thumbnail generations until manually fixed on the host.The proposal is to check for
images
directory writable status on start and change permissions as needed like it's done in Taqasta https://github.com/WikiTeq/Taqasta/blob/master/_sources/scripts/update-images-permissions.sh#L11