Checklist
[ X] I have read intro post: About the Installation Issues category
[ X] I have read the tutorials, help and searched for similar issues
[ X] I provide relevant information about my server (component names and versions, etc.)
[ X] I provide a copy of my logs and healthcheck
[ X] I describe the steps I have taken to trouble shoot the problem
[ X] I describe the steps on how to reproduce the issue
Hi team! I have a docker passbolt instance (version 3.12.2-1-ce) and whenever I log into the administration console, a blank page greets me.
This is my docker compose file (passwords edited for obvious reasons):
version: '3.9'
services:
db:
image: mariadb:10.10
environment:
MYSQL_ROOT_PASSWORD: "whatever"
MYSQL_DATABASE: "passbolt"
MYSQL_USER: "passbolt"
MYSQL_PASSWORD: "whatever"
volumes:
- /mnt/nfsshare/passbolt/db:/var/lib/mysql
passbolt:
image: passbolt/passbolt:3.12.2-1-ce
hostname: passboltserver
restart: unless-stopped
depends_on:
- db
environment:
APP_FULL_BASE_URL: https://192.168.1.180
DATASOURCES_DEFAULT_HOST: "db"
DATASOURCES_DEFAULT_USERNAME: "passbolt"
DATASOURCES_DEFAULT_PASSWORD: "whatever
DATASOURCES_DEFAULT_DATABASE: "passbolt"
volumes:
- /mnt/nfsshare/passbolt/gpgvolume:/etc/passbolt/gpg
- /mnt/nfsshare/passbolt/jwtvolume:/etc/passbolt/jwt
command: ["/usr/bin/wait-for.sh", "-t", "0", "db:3306", "--", "/docker-entrypoint.sh"]
ports:
- 8000:80
- 8443:443
And this is what loads on the passbolt logs when I click on the admin page:
rs%5D=0&contain%5Bpending_account_recovery_request%5D=1&contain%5Baccount_recovery_user_setting%5D=1&contain%5Bis_mfa_enabled%5D=1&contain%5BLastLoggedIn%5D=1 HTTP/2.0" 200 1414 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0"
passbolt_passbolt.1.zqnjpkig9y1x@swhateverhost1 | 10.0.0.2 - - [02/May/2023:17:49:45 +0000] "GET /app/administration/mfa HTTP/2.0" 200 1214 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0"
passbolt_passbolt.1.zqnjpkig9y1x@whateverhost1 | 10.0.0.2 - - [02/May/2023:17:49:45 +0000] "GET /auth/is-authenticated.json HTTP/2.0" 200 250 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0"
passbolt_passbolt.1.zqnjpkig9y1x@whateverhost1 | 10.0.0.2 - - [02/May/2023:17:49:45 +0000] "GET /auth/is-authenticated.json HTTP/2.0" 200 250 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0"
I have found more posts on that and initially I thought it was because of the APP_FULL_BASE_URL variable, and set it to the swarm floating IP (192.168.1.180).
Any ideas? the admin redirect shall take me to the proper admin page, IMO…
Regards!
EDIT: Autosolved lol. The thing is that If you change the default host port (8443:443) you HAVE to reflect that on the APP_FULL_BASE_URL variable on the compose file:
APP_FULL_BASE_URL: https://192.168.1.180:8443
That did the magic
Thanks!