Closed alwinhb closed 2 weeks ago
I had the same issue.
just stop the services and delete the bunkerweb volume.
Then restart them.
It will regenerate all your certs and start from scratch but it will work.
I still get this error Access denied for user 'bunkerweb'@'{MY_IP_ADD}
Can you add your compose file?
@cocoonkid
@ff6347 @adren @FacundoAcevedo
Hello @alwinhb,
Can you try docker compose down -v
before starting the stack ? (-v
is important)
@fl0ppy-d1sk Thanks it worked
Now as i go to http://localhost:7000
As i add the admin username and password, I see this error Wrong CSRF token !
Also I tried using http://localhost:7000/setup but it routes again to http://localhost:7000/login
Can you guide on this error
@ff6347 @adren @FacundoAcevedo
Hi @alwinhb, sorry for the late response. Did you have a look at this ? https://docs.bunkerweb.io/latest/web-ui/#advanced-installation
@TheophileDiot I am unable to see login page using the compose yaml available at this link.
I get 403 error using below yaml
version: "3.5"
services:
bunkerweb:
image: bunkerity/bunkerweb:1.5.10
ports:
- 80:8080
- 443:8443
labels:
- "bunkerweb.INSTANCE=yes"
environment:
- SERVER_NAME=www.example.com
- MULTISITE=yes
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db # Remember to set a stronger password for the database
- API_WHITELIST_IP=127.0.0.0/8 10.20.30.0/24
- DISABLE_DEFAULT_SERVER=yes
- USE_CLIENT_CACHE=yes
- USE_GZIP=yes
- www.example.com_USE_UI=yes
- www.example.com_USE_REVERSE_PROXY=yes
- www.example.com_REVERSE_PROXY_URL=/changeme
- www.example.com_REVERSE_PROXY_HOST=http://bw-ui:7000
- www.example.com_INTERCEPTED_ERROR_CODES=400 404 405 413 429 500 501 502 503 504
- www.example.com_MAX_CLIENT_SIZE=50m
networks:
- bw-universe
- bw-services
bw-scheduler:
image: bunkerity/bunkerweb-scheduler:1.5.10
depends_on:
- bunkerweb
- bw-docker
environment:
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db # Remember to set a stronger password for the database
- DOCKER_HOST=tcp://bw-docker:2375
networks:
- bw-universe
- bw-docker
bw-docker:
image: tecnativa/docker-socket-proxy:nightly
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- CONTAINERS=1
- LOG_LEVEL=warning
networks:
- bw-docker
bw-ui:
image: bunkerity/bunkerweb-ui:1.5.10
depends_on:
- bw-docker
environment:
- DATABASE_URI=mariadb+pymysql://bunkerweb:changeme@bw-db:3306/db # Remember to set a stronger password for the database
- DOCKER_HOST=tcp://bw-docker:2375
- ADMIN_USERNAME=changeme
- ADMIN_PASSWORD=changeme # Remember to set a stronger password for the changeme user
networks:
- bw-universe
- bw-docker
bw-db:
image: mariadb:10.10
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_DATABASE=db
- MYSQL_USER=bunkerweb
- MYSQL_PASSWORD=changeme # Remember to set a stronger password for the database
volumes:
- bw-data:/var/lib/mysql
networks:
- bw-docker
volumes:
bw-data:
networks:
bw-universe:
name: bw-universe
ipam:
driver: default
config:
- subnet: 10.20.30.0/24
bw-services:
name: bw-services
bw-docker:
name: bw-docker
@alwinhb how do you access the web UI ?
@TheophileDiot localhost:8080
Little change in my docker compose
ports:
- 8080:8080
- 443:8443
Do you try to access it via https://your-ip-address-or-fqdn/changeme
?
Yeah and I get - Access is forbidden to the requested page
@TheophileDiot
@alwinhb Did you edit your hosts file by adding this entry ?
127.0.0.1 www.example.com
If not that's the issue, you should be able to access the web UI via https://www.example.com/changeme
afterward
@TheophileDiot - This issue is resolved - "Access is forbidden now",
But now I get a blank page with text - "Nothing to see here"
I want to setup and add my configurations but I don't see setup page with /setup.
@alwinhb if you want to use the setup wizard, you have to follow this tutorial : https://docs.bunkerweb.io/latest/web-ui/#setup-wizard
@TheophileDiot Thanks for the link, I tried using the docker compose yaml present at this link but Still I get - "Nothing to see here"
Can you guide me with the right docker compose.yaml that I can use for my local setup?
What happened?
I am trying to setup the complete stack using docker-compose, I have added my compose.yaml
Kindly guide/suggest if my compose file is ok or needs to be updated.
How to reproduce?
docker-compose up
Configuration file(s) (yaml or .env)
Relevant log output
BunkerWeb version
1.5.9
What integration are you using?
Docker
Linux distribution (if applicable)
No response
Removed private data
Code of Conduct