Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website not reachable #436

Open
ozz-project opened this issue Sep 5, 2024 · 1 comment
Open

Website not reachable #436

ozz-project opened this issue Sep 5, 2024 · 1 comment
Labels
question Further information is requested

Comments

@ozz-project
Copy link

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

  • Canasta version: Latest
  • Canasta CLI version : Latest
  • Host operating system: Debian bookworm
  • Do you have sudo/root permissions on the host OS?: yes
@ozz-project ozz-project added the question Further information is requested label Sep 5, 2024
@naresh-kumar-babu
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants