Unable to login on first startup (with system boot) #6006
Replies: 3 comments 5 replies
-
If i read the logs correctly, it seems like the first start is missing the Vaultwarden isn't to blame here, as it starts just fine as you can see in the logs. That it does not load the files you want it to load is probably because they are not there (yet). |
Beta Was this translation helpful? Give feedback.
-
name: vaultwarden
services:
service:
image: vaultwarden/server:1.34.1-alpine
container_name: vaultwarden-main
restart: always
hostname: IPreferToHideIt
environment:
DOMAIN: https://IPreferToHideIt
WEBSOCKET_ENABLED: true
ADMIN_TOKEN: IPreferToHideIt
SIGNUPS_ALLOWED: false
volumes:
- ./service/data/:/data/
sidecar-dyndns:
image: finalgene/openssh:9.1
container_name: vaultwarden-sidecar-dyndns
restart: always
network_mode: 'service:service'
command: ssh -o UserKnownHostsFile=/dev/null -o ExitOnForwardFailure=yes -p IPreferToHideIt -N -R 127.0.0.1:16002:127.0.0.1:80 ddns@IPreferToHideIt
environment:
# Key that used to connect to docker container
SSH_DEPLOY_KEY: |
-----BEGIN OPENSSH PRIVATE KEY-----
IPreferToHideIt
-----END OPENSSH PRIVATE KEY----- $ ls /mnt/s/DevOps/Local/Projects/compose/vaultwarden/service/data/
attachments config.json db.sqlite3 db.sqlite3-shm db.sqlite3-wal icon_cache rsa_key.pem sends tmp |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Vaultwarden Support String
Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Environment settings which are overridden: DOMAIN, SIGNUPS_ALLOWED, ADMIN_TOKEN
Config:
Vaultwarden Build Version
vaultwarden/server:1.34.1-alpine
Deployment method
Official Container Image
Custom deployment method
I have remote server with nginx proxy manager and I setup ddns with ssh tunnels. So when I boot my system, my services available online
Reverse Proxy
jc21/nginx-proxy-manager:latest
Host/Server Operating System
Windows
Operating System Version
Windows 11
Clients
Web Vault
Client Version
Zen 1.13.2b (Firefox 139.0.4) (64-bit)
Steps To Reproduce
Expected Result
Able to login
Actual Result
Unable to login
Logs
Screenshots or Videos
No response
Additional Context
NOTE FOR LOGS: After reboot it manually, all starts to works. Maybe this is an issue related to my tunnel, but as for my experience, there's no problem with vault itself after I reboot it. For example, In case when I need to change my network (bare to vpn), tunnel may go down, but then up - and I feel like there issue with vault itself.
But, If I can enable debug to provide logs, I will do this, just tell me what I need to do.
Beta Was this translation helpful? Give feedback.
All reactions