Hello,
I just deployed Passbolt on my homelab, and everything seems to be working correctly, although I haven’t set up an SMTP server yet, so email notifications are disabled.
The issue arises when I try to connect my phone. The QR code scans without any problem, but when I enter my passphrase, I get a “Something went wrong” error.
From the research I’ve done on the forums, it seems a similar issue was fixed and was related to a self-signed certificate used by Docker.
In my setup, I have my own domain and use Nginx as a reverse proxy to handle the SSL certificate.
Could I have your advice on this issue? For better clarification, here are my docker-compose.yml
and nginx.nix
configurations.
docker-compose-ce.yaml :
services:
db:
image: mariadb:10.11
restart: unless-stopped
environment:
MYSQL_RANDOM_ROOT_PASSWORD: "true"
MYSQL_DATABASE: "passbolt"
MYSQL_USER: "passbolt"
MYSQL_PASSWORD: "P4ssb0lt"
volumes:
- database_volume:/var/lib/mysql
passbolt:
image: passbolt/passbolt:latest-ce
restart: unless-stopped
depends_on:
- db
environment:
APP_FULL_BASE_URL: "https://passbolt.my.domain"
DATASOURCES_DEFAULT_HOST: "db"
DATASOURCES_DEFAULT_USERNAME: "passbolt"
DATASOURCES_DEFAULT_PASSWORD: "P4ssb0lt"
DATASOURCES_DEFAULT_DATABASE: "passbolt"
volumes:
- gpg_volume:/etc/passbolt/gpg
- jwt_volume:/etc/passbolt/jwt
command:
[
"/usr/bin/wait-for.sh",
"-t",
"0",
"db:3306",
"--",
"/docker-entrypoint.sh",
]
ports:
- "127.0.0.1:8080:80"
volumes:
database_volume:
gpg_volume:
jwt_volume:
# /etc/nixos/network/nginx.nix
{ config, pkgs, ... }:
{
# --- Firewall Configuration for Web ---
networking.firewall.allowedTCPPorts = [ 80 443 ];
# --- ACME (Let's Encrypt) Configuration ---
security.acme = {
acceptTerms = true;
defaults.email = "myusername@domai.domain";
};
# --- Nginx Service ---
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
# --- Add this Virtual Host for Passbolt ---
virtualHosts."passbolt.my.domain" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://127.0.0.1:8080";
proxyWebsockets = true;
};
};
};
}
Checklist
I have read intro post: https://community.passbolt.com/t/about-the-installation-issues-category/12
I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue