mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-09 04:32:44 -05:00
Fresh install of 1.27 and will not allow me to login #5153
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dvalin21 on GitHub (Feb 21, 2023).
Fresh install of 1.27 and will not allow me to login
Installed the latest version 1.27 and started getting similar issue that was reported in 1.26
Once installed I attempt to log into the server and it says password or username incorrect.
I verified the username and password and its correct. I tried restarting the containers. Same issue.
Tried deleting all files and reinstalling containers. Same issue.
This was installed via docker compose on Synology Nas
Here's the docker-compose I used
version: "3.9"
services:
db:
image: postgres
container_name: Vaultwarden-DB
hostname: vaultwarden-db
mem_limit: 512m
cpu_shares: 768
security_opt:
- no-new-privileges:true
user: 1026:100
healthcheck:
test: ["CMD", "pg_isready", "-q", "-d", "vaultwarden", "-U", "vaultwardenuser"]
timeout: 45s
interval: 10s
retries: 10
volumes:
- /volume1/docker/vaultwarden/db:/var/lib/postgresql/data:rw
environment:
POSTGRES_DB: vaultwarden
POSTGRES_USER:
POSTGRES_PASSWORD:
restart: on-failure:5
vaultwarden:
image: vaultwarden/server:latest
container_name: Vaultwarden
hostname: vaultwarden
mem_limit: 256m
mem_reservation: 96m
cpu_shares: 1024
security_opt:
- no-new-privileges:true
user: 1026:100
ports:
- 4080:4020
volumes:
- /volume1/docker/vaultwarden/data:/data:rw
environment:
ROCKET_PORT: 4020
DATABASE_URL: postgresql://user:pass@vaultwarden-db:5432/vaultwarden
ADMIN_TOKEN: masterpass
DISABLE_ADMIN_TOKEN: false
DOMAIN: https://domain.com
SMTP_HOST: smtp.gmail.com
SMTP_FROM: email address
SMTP_PORT: 587
SMTP_SECURITY: starttls
SMTP_USERNAME: email address
SMTP_PASSWORD: password
restart: on-failure:5
depends_on:
db:
condition: service_started
From Portainer Logs
/--------------------------------------------------------------------
| Starting Vaultwarden |
Deployment environment
Install method: Synology NAS in docker compose
MySQL/MariaDB or PostgreSQL version: PostgreSQL
Other relevant details:
Steps to reproduce
Installed it
I used the instructions from Marius Hosting
https://mariushosting.com/synology-install-vaultwarden-with-portainer/
Expected behaviour
To be able to loginActual behaviour
kept getting invalid passwordTroubleshooting data
(stated in description)