mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Cannot delete items (No matching routes for PUT) #719
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 @xmijo on GitHub (Jun 4, 2020).
This issue occurs on Bitwarden's official apps for macOS and iOS. I don't know if issues related to them are considered out of scope for bitwarden_rs devs but it could be of interest for compatibility-reasons so I'll file it here anyway.
Subject of the issue
I'm running bitwarden_rs on a Raspberry Pi server and unable to delete vault entries from the Bitwarden macOS and iOS apps. A pop-up message appears asking me to confirm moving it to the trash and when I press continue another pop-up appears saying "An error has occured." And the item doesn't get deleted.
I've only tested with login items in the vault. Deleting from the bitwarden_rs web app works fine.
Steps to reproduce
Start the docker container with:
docker run -d --name bitwarden -e ROCKET_TLS='{certs="/ssl/server.crt",key="/ssl/server.key"}' -v /ssl/keys/:/ssl/ -v /bw-data/:/data/ -p 443:80 -e ADMIN_TOKEN=<REDACTED> mprasil/bitwarden:raspberryAdd a new login entry then try to delete it.
Expected behaviour
Item should be deleted.
Actual behaviour
Error message appears and item is not deleted.
Relevant logs
[rocket::rocket][INFO] PUT /api/ciphers//delete:
[ERROR] No matching routes for PUT /api/ciphers//delete.
[WARN] Responding with 404 Not Found catcher.
[INFO] Response succeeded.
@jjlin commented on GitHub (Jun 5, 2020):
The mprasil image should no longer be used, as mentioned at https://hub.docker.com/r/mprasil/bitwarden.
You should
docker pull bitwardenrs/server:1.15.0-raspberryfor the current release, ordocker pull bitwardenrs/server:raspberryfor the latest commits.@fopina commented on GitHub (Jun 5, 2020):
I'm on 1.14.2 and the same issue occurs:
haven't tried 1.15 but I don't see anything in changelog referring to this..
PUT is used by the mobile and desktop app (and they fail)
DELETE is used by the web vault (and it works)
@jjlin commented on GitHub (Jun 5, 2020):
It should probably be called out more clearly in the release notes, but this is related to the soft delete support added to the clients. See also #1013.
@xmijo commented on GitHub (Jun 5, 2020):
I can confirm deleting items from the macOS/iOS apps works perfectly when using the latest version (bitwardenrs/server:raspberry). Thanks for your help.
@fopina commented on GitHub (Jun 6, 2020):
just upgraded and second that, perfect.