CanastaWiki / Canasta

MediaWiki Docker image for Canasta, an all-in-one MediaWiki stack for easy deployment and management of enterprise-ready MediaWiki on production environments.
https://www.canasta.wiki
MIT License
36 stars 27 forks source link

Website not reachable #436

Open ozz-project opened 3 weeks ago

ozz-project commented 3 weeks ago

Describe the situation

Description: I have configured the environment as follows - I have solved the problem with Elasticsearch (see other ticket) by commenting it out.

.env

PORT=81
HTTPS_PORT=443
MYSQL_PASSWORD=mediawiki
MW_SITE_SERVER=http://butch
MW_SITE_FQDN=localhost
PHP_UPLOAD_MAX_FILESIZE=10M
PHP_POST_MAX_SIZE=10M
PHP_MAX_INPUT_VARS=1000
MW_SITEMAP_SUBDIR=
MW_SITEMAP_IDENTIFIER=mediawiki
USE_EXTERNAL_DB=false

run docker (with and without sudo, its the same result) docker compose up -d

Currently I cannot access the website under http://butch:81 I am always redirected (by the browser) to https. When I use the incognito mode, it does not do this. But I always get ‘The website is not available’

the log file from the docker still contains the message.

Folder /mediawiki contains 
important data and must be mounted to persistent storage!
+ case $1 in
+ return 1
+ exit 1
I can't assign it at the moment, but the folders are created correctly when the docker is started.

Steps to reproduce the issue (if applicable):

  1. clone repro
  2. modify .env (see above)
  3. run docker (see above)
  4. navigate ro butch:81

Expected behavior

webpage should display the wiki

System info

naresh-kumar-babu commented 1 week ago

Disable caddy using docker-compose.override.yml to stop redirection to https. For the error which you saw in logs, please mount an empty directory to /mediawiki using docker-compose.override.yml