I have run into a problem where a previously working install of Passbolt in a Docker container on a Synology NAS has stopped working after an unexpected shutdown (due to a power cut) of the server.
Everything was working fine prior to the power cut. I was able to access Passbolt on the desired subdomain and domain. The SSL and port forwarding in the router were all working okay.
Now the container starts but report it is ‘unhealthy’. The last output from the container is “Failed to connect to localhost port 8080 : Connection refused”. I have checked that port 8080 is not being used by another process.
I would like to try to resolve this without a full re-install as there are some users who have stored passwords that I would like to retain if possible.
I have tried re-starting the container serveral times, always with the same result. I have tried stopping all other containers and starting Passbolt on its own with no success (and the same error).
The original install was done with this guide :
I suspect the problem could be reproduced by installing as above and doing a hard-shutdown (power cut) to the server.
I have since bought a UPS. : -)
Links in this post have been removed as new users are not allowed more than 2 links in a post.
Thanks in advance to anyone who can help.
I have read intro post : link removed
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
Server : Synology NAS, DSM 7.1.1-42962 Update 4
docker compose details:
version: "3.9" services: db: image: mariadb:jammy container_name: Passbolt-DB hostname: passbolt-db mem_limit: 512m mem_reservation: 128m cpu_shares: 768 security_opt: - no-new-privileges:true healthcheck: test: ["CMD-SHELL", "mysqladmin ping -P 3306 -prootpass | grep 'mysqld is alive' || exit 1"] volumes: - /volume1/docker/passbolt/db:/var/lib/mysql:rw environment: TZ: Australia/Melbourne MYSQL_ROOT_PASSWORD: rootpass MYSQL_DATABASE: passbolt MYSQL_USER: passboltuser MYSQL_PASSWORD: passboltpass restart: on-failure:5 passbolt: image: passbolt/passbolt:latest-ce-non-root command: - /bin/bash - -c - /usr/bin/wait-for.sh -t 0 db:3306 -- /docker-entrypoint.sh container_name: Passbolt hostname: passbolt mem_limit: 1g cpu_shares: 512 security_opt: - no-new-privileges:true healthcheck: test: curl -f *removed* || exit 1 ports: - 9475:8080 volumes: - /volume1/docker/passbolt/gpg:/etc/passbolt/gpg:rw - /volume1/docker/passbolt/jwt:/etc/passbolt/jwt:rw environment: DEBUG: false APP_FULL_BASE_URL: *removed* DATASOURCES_DEFAULT_HOST: passbolt-db DATASOURCES_DEFAULT_USERNAME: passboltuser DATASOURCES_DEFAULT_PASSWORD: passboltpass DATASOURCES_DEFAULT_DATABASE: passbolt PASSBOLT_REGISTRATION_PUBLIC: true EMAIL_DEFAULT_FROM: *removed* EMAIL_TRANSPORT_DEFAULT_HOST: *removed* EMAIL_TRANSPORT_DEFAULT_PORT: 25 EMAIL_TRANSPORT_DEFAULT_USERNAME: *removed* EMAIL_TRANSPORT_DEFAULT_PASSWORD: *removed* EMAIL_TRANSPORT_DEFAULT_TLS: true restart: on-failure:5 depends_on: db: condition: service_started