CanastaWiki / Canasta-DockerCompose

Docker Compose stack template for Canasta
MIT License
13 stars 15 forks source link

LocalSettings.php and extensions are not loading #10

Closed nischayn22 closed 2 years ago

nischayn22 commented 2 years ago

The LocalSettings.php file isn't linked/mounted as required. The extensions are mounted as user-extensions and that is resulting in the following error:

Fatal error: Uncaught Exception: Unable to open file /var/www/mediawiki/w/extensions/ExtensionName/extension.json: filemtime(): stat failed for /var/www/mediawiki/w/extensions/ExtensionName/extension.json in /var/www/mediawiki/w/includes/registration/ExtensionRegistry.php:177 Stack trace:

0 /var/www/mediawiki/w/includes/GlobalFunctions.php(51): ExtensionRegistry->queue()

1 /mediawiki/config/LocalSettings.php(434): wfLoadExtension()

2 /var/www/mediawiki/w/includes/Setup.php(143): require_once('/mediawiki/conf...')

3 /var/www/mediawiki/w/includes/WebStart.php(89): require_once('/var/www/mediaw...')

4 /var/www/mediawiki/w/index.php(44): require('/var/www/mediaw...')

5 {main}

thrown in /var/www/mediawiki/w/includes/registration/ExtensionRegistry.php on line 177

jeffw16 commented 2 years ago

Are you using the latest version of Canasta? Versions of Canasta released before April 7 are considered pre-GA and are not officially supported.

nischayn22 commented 2 years ago

I didn't specify a version. So I guess whatever comes by default with this docker compose.

On Thu, 21 Apr, 2022, 09:28 Jeffrey Wang, @.***> wrote:

Are you using the latest version of Canasta? Versions of Canasta released before April 7 are considered pre-GA and are not officially supported.

— Reply to this email directly, view it on GitHub https://github.com/CanastaWiki/Canasta-DockerCompose/issues/10#issuecomment-1104682059, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAETJJRT7YGVXIVXKMCXF4DVGDG6PANCNFSM5T547JKA . You are receiving this because you authored the thread.Message ID: @.***>