Open mcclure opened 2 months ago
Hi @mcclure,
Thank you for this report. Could you please turn Hardware Acceleration off via the Help menu, and let me know if that changes anything?
Thank you in advance,
Weird, I wonder if this may be related to the issue I opened about the appimage version in linux:
https://github.com/bitwarden/clients/issues/11030
Just based off of the JSON error in your error message. I'd suggest trying the workaround that worked for me, just rename the /.config/Bitwarden directory to something else if you want to keep a backup of the corrupted data (assuming its the same issue). Afterwards, try running it again
@xnm3YQNfEx Thank you, I tried moving aside ~/snap/bitwarden and it fixed the problem instantly.
Although I no longer have a problem, I think this is a real bug because I think bitwarden should be more resilient to config file errors (especially because in this case it appears bitwarden nuked its own config file, i did not edit it). My "expected behavior" is a better error message such as a dialog box, fingering the configuration files as the problem.
@SergeantConfused , I'm sorry, if you mean the Help menu in Bitwarden, I was not able to access the help menu because Bitwarden would not boot. Now that I have moved aside the snap/bitwarden directory and re-logged-in, I no longer have the problem so I am not going to try the hardware acceleration troubleshooting.
I agree, this is very much still an issue that should be resolved. The behaviour of... "nothing" happening is a terrible experience for non technical users.
First off, the json being truncated is the root issue that must be resolved. Second, There should be better error handling around cases like this that fail "gracefully", ideally prompting the user with an error dialog when they run the program and the json fails to parse. Something to the effect of: "Error with local data, offline mode will be unavailable. Ensure you are online to have the client refresh the local copy of the data".
And, if the json fails to parse.... the desktop client should rename to back it up just in case... and then download a new copy after the user logs in
PS, I now believe this is a dupe of #11030
Steps To Reproduce
BitWarden was working on my laptop 3 days ago. 2 days ago Ubuntu announced that the Bitwarden snap was updating and I should quit it to get the update. I told it to go ahead. Bitwarden never came back. Now when I click the Bitwarden button in my dock nothing happens. When I type "bitwarden" in a terminal I get an error message. This state has persisted across at least 1 reboot.
Expected Result
Bitwarden opens
Actual Result
Screenshots or Videos
No response
Additional Context
AMD integrated GPU "AMD Ryzen™ 5 PRO 6650U with Radeon™ Graphics × 12"
Operating System
Linux
Operating System Version
Ubuntu 24.04
Installation method
Snap
Build Version
"latest/stable 2024.8.2" published sep 5 2024
Issue Tracking Info