My self-hosted bitwarden does not work since the last update
Since the last update bitwarden does not work. I had problems with the composer and its version and when I commented the version in the yaml it let me update without problems. But now when I try to access the server URL I get this error:
Error: Server Error
The server encountered a temporary error and could not complete your request.
Please try again in 30 seconds.
Now I can access the web environment, but when I enter the credentials, I get this error
Ha ocurrido un error.
“ 502 Bad Gateway
502 Bad Gateway
nginx ”
it seems that some modules do not start
sudo docker compose ps
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS
bitwarden-admin bitwarden/admin:2024.5.0 “/entrypoint.sh” admin 19 hours ago Restarting (139) 50 seconds ago
bitwarden-api bitwarden/api:2024.5.0 “/entrypoint.sh” api 19 hours ago Restarting (139) 54 seconds ago
bitwarden-attachments bitwarden/attachments:2024.5.0 “/entrypoint.sh” attachments 19 hours ago Up 19 hours (healthy)
bitwarden-events bitwarden/events:2024.5.0 “/entrypoint.sh” events 19 hours ago Restarting (139) 30 seconds ago
bitwarden-icons bitwarden/icons:2024.5.0 “/entrypoint.sh” icons 19 hours ago Up 19 hours (healthy)
bitwarden-identity bitwarden/identity:2024.5.0 “/entrypoint.sh” identity 19 hours ago Restarting (139) 59 seconds ago
bitwarden-mssql bitwarden/mssql:2024.5.0 “/entrypoint.sh” mssql 19 hours ago Up 19 hours (healthy)
bitwarden-nginx bitwarden/nginx:2024.5.0 “/entrypoint.sh” nginx 19 hours ago Up 19 hours (healthy)
bitwarden-notifications bitwarden/notifications:2024.5.0 “/entrypoint.sh” notifications 19 hours ago Restarting (139) 47 seconds ago
bitwarden-sso bitwarden/sso:2024.5.0 “/entrypoint.sh” sso 19 hours ago Restarting (139) 56 seconds ago
bitwarden-web bitwarden/web:2024.5.0 “/entrypoint.sh” web 19 hours ago Up 19 hours (healthy)
Solved.
Problem was in global.override.env
I change in /bwdata/env:
globalSettings__mail__smtp__ssl=yes
to
globalSettings__mail__smtp__ssl=true