Database connection bug after updating to Vaultwarden 1.33.0 #241

Closed
opened 2025-07-08 08:43:53 -04:00 by AtHeartEngineer · 0 comments

Originally created by @Ortof on 1/26/2025

Vaultwarden Support String

Unfortunately, I am unable to access the /admin/diagnostics page or generate the support string as the Vaultwarden container is not starting. I don't have the necessary access to the relevant directory to retrieve the string manually.

Vaultwarden Build Version

v1.33.0

Deployment method

Official Container Image

Custom deployment method

No response

Reverse Proxy

lscr.io/linuxserver/swag:latest

Host/Server Operating System

Linux

Operating System Version

24.04.1 LTS

Clients

Browser Extension, Web Vault, Android

Client Version

No response

Steps To Reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. Click on '...'
  5. Etc '...'

Expected Result

Expected Result:
Vaultwarden should start correctly and connect to the database without any issues. The service should be accessible via the web interface to generate the support string and access all features.

Actual Result

Actual Result:
Vaultwarden fails to connect to the database, and the container fails to start. The log shows the following error:

Logs

[2025-01-26 19:16:53.172][vaultwarden::util][WARN] Can't connect to database, retrying: Failed to create pool.
[CAUSE] Error(None,)

Screenshots or Videos

No response

Additional Context

Since updating Vaultwarden to version 1.33.0, I'm encountering an issue during the service startup. The application fails to connect to the database and throws the following error:

[2025-01-26 19:16:53.172][vaultwarden::util][WARN] Can't connect to database, retrying: Failed to create pool.
[CAUSE] Error(None,)

Vaultwarden Version: 1.33.0
Docker Version: 20.10.17
Portainer Version: 2.21.5
Ubuntu Version: 24.04.1 LTS

Full Log:

[2025-01-26 19:16:53.172][vaultwarden::util][WARN] Can't connect to database, retrying: Failed to create pool.
[CAUSE] Error(None,)

Additional Information:

  • Vaultwarden is deployed via Docker using Portainer.
  • This issue only occurs with version 1.33.0. Version 1.32.7 works fine with the same setup.
  • No changes were made to the database configuration or Docker volumes.
  • The docker-compose.yml file has not been modified since the update.
*Originally created by @Ortof on 1/26/2025* ### Vaultwarden Support String Unfortunately, I am unable to access the /admin/diagnostics page or generate the support string as the Vaultwarden container is not starting. I don't have the necessary access to the relevant directory to retrieve the string manually. ### Vaultwarden Build Version v1.33.0 ### Deployment method Official Container Image ### Custom deployment method _No response_ ### Reverse Proxy lscr.io/linuxserver/swag:latest ### Host/Server Operating System Linux ### Operating System Version 24.04.1 LTS ### Clients Browser Extension, Web Vault, Android ### Client Version _No response_ ### Steps To Reproduce 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. Click on '...' 5. Etc '...' ### Expected Result Expected Result: Vaultwarden should start correctly and connect to the database without any issues. The service should be accessible via the web interface to generate the support string and access all features. ### Actual Result Actual Result: Vaultwarden fails to connect to the database, and the container fails to start. The log shows the following error: ### Logs ```text [2025-01-26 19:16:53.172][vaultwarden::util][WARN] Can't connect to database, retrying: Failed to create pool. [CAUSE] Error(None,) ``` ### Screenshots or Videos _No response_ ### Additional Context Since updating Vaultwarden to version 1.33.0, I'm encountering an issue during the service startup. The application fails to connect to the database and throws the following error: ``` [2025-01-26 19:16:53.172][vaultwarden::util][WARN] Can't connect to database, retrying: Failed to create pool. [CAUSE] Error(None,) ``` **Vaultwarden Version**: 1.33.0 **Docker Version**: 20.10.17 **Portainer Version**: 2.21.5 **Ubuntu Version**: 24.04.1 LTS **Full Log**: ``` [2025-01-26 19:16:53.172][vaultwarden::util][WARN] Can't connect to database, retrying: Failed to create pool. [CAUSE] Error(None,) ``` **Additional Information**: - Vaultwarden is deployed via Docker using Portainer. - This issue only occurs with version 1.33.0. Version 1.32.7 works fine with the same setup. - No changes were made to the database configuration or Docker volumes. - The `docker-compose.yml` file has not been modified since the update.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#241