mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #3681] Fail2ban won't work after updating or redeploying Vaultwarden #1641
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#1641
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @Chippel on GitHub (Jul 11, 2023).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/3681
Subject of the issue
I've set up Vaultwarden successfully via Docker and Nginx reverse proxy manager. Also, I set up the logfile environment variable and I find the logfile it in Linux. I followed the Fail2ban manual and everything works as expected. I get banned and the website will not be accessible anymore if I enter too many bad credentials.
Unfortunately after updating it won't work anymore. I can still see the logfile and it gets updated but I won't get banned via Fail2ban anymore.
I did "update" the container as followed:
After that I just created a new container with all the same settings. Settings were kept cuz I could access my admin panel and SMTP settings were still available.
Deployment environment
I did set up manually via Portainer. I set the name, gave the image link and I also created a volume which is called vw-data and which points to /data/
manual Portainer way by clicking the buttons.
Clients used: *
Android, Windows 11.
Reverse proxy and version:
Nginx Proxy Manager
EDIT: seems like the vaultwarden.log file won't get updated after updating. Do I have to set the logpath again when I update? That does not seem to be convinient.