mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-09 09:13:02 +03:00
User can't be confirmed "Cannot read properties of null (reading 'buffer')" #921
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 @tperrindell on GitHub.
Subject of the issue
A specific user cannot be validated / confirmed. Other users are working fine, and I don't know what singles out this user.
Deployment environment
Your environment (Generated via diagnostics page)
Config (Generated via diagnostics page)
Show Running Config
Environment settings which are overridden:
Reverse proxy and version: traefik 2.6.7
MySQL/MariaDB or PostgreSQL version: docker version latest
Other relevant details:
Steps to reproduce
Unfortunately, I have no idea what causes this. I have multiple users with the same mail format that had no problem in getting confirmed.
Expected behaviour
Clicking on "Confirm access" after invitation accepted allows user to use the environment.
Actual behaviour
Troubleshooting data
I tried disabling / re-enabling user in the admin page, no success.
No errors in docker-compose logs.
@BlackDex commented on GitHub:
Could you provide some logs of Vaultwarden during this error?
Also, does that user have personal vault items, and is that user able to login into the web-vault at all?
If the user has not vault items, i suggest to remove that user and invite that user again to see if that resolves the issue.
There probably is a database issue for some reason. You might want to validate the database file also.
@tperrindell commented on GitHub:
I've re-invited the user because I deleted it. Once they accept I will see if the error remains and if so, I will post it there with more details.
@tperrindell commented on GitHub:
Deleting and re-creating the user worked. Thanks and sorry for the disturbance
@tperrindell commented on GitHub:
Hi,
Where do I find Vaultwarden logs ? The docker-compose logs shows nothing relating to the error.
I already tried removing the using entirely and re-adding them. I will try that again.
How do I validate the db file?
@BlackDex commented on GitHub:
Before running this, stop Vaultwarden, and create a backup of the file.
Or, before stopping Vaultwarden, login into the admin interface scroll down to
Backupand click on the backup button, after that stop the container and run the check on the file.Validate the file by running:
After that you could also try to run:
Regarding the logs, they should be visible via
docker logs, it should at least mention something there like the POST or GET request during that exact same time. Else, try to check with F12 in the browser what the request/response data is during the call. That would also help us.@BlackDex commented on GitHub:
np, glad it worked out. Still strange though. Looks like something went wrong with the creations or activation of the user.