keepassxreboot / keepassxc-browser

KeePassXC Browser Extension
GNU General Public License v3.0
1.78k stars 188 forks source link

Unable to Connect To Database After Reinstalling Firefox Extension #2276

Closed moxSedai closed 4 months ago

moxSedai commented 4 months ago

I reinstalled the extension due to some issues with changing Linux Distros from Pop OS to Kubuntu, and the extension does not seem to even understand that I have not previously connected it to a database. Firefox is installed as

Expected Behavior

Opening Extension prompts me to select a database to connect to

Current Behavior

Extension tries to open an extension that does not exist.

image There should be a "connect" button rather than a "reload" button

image Clicking the button should do something. It does nothing. Not even any console output.

Debug info

KeePassXC - 2.7.9 KeePassXC-Browser - 1.9.1 Operating system: Linux Kubuntu 23.10 Browser: Firefox 127.0.2 Debian

Troubleshooting

Reinstalled extension Reinstalled KeePassXC (instealled new appimage version rather than version included with Kubuntu apt repositories) Followed troubleshooting guide without resolution.

Using strace and attempting to reload the application repeatedly resulted in the following console outputs over about 30 seconds

[pid 456021] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="sxc-browser@keepassxc.org/sendRu"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 4096
 [pid 456021] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<\0\0\0Messenger/keepassxc-browser@"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 4096
[pid 456021] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<\0\0\0Messenger/keepassxc-browser@"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 4096
[pid 456021] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<\0\0\0Messenger/keepassxc-browser@"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 4096
[pid 456021] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="<\0\0\0Messenger/keepassxc-browser@"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 4096
[pid 456021] recvmsg(253, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="t/keepassxc-browser/issues/2276\277"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 448
[pid 456021] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="eepassxreboot/keepassxc-browser/"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 460
[pid 456021] recvmsg(253, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="t/keepassxc-browser/issues/2276\277"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 448
[pid 456021] recvmsg(253, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="t/keepassxc-browser/issues/2276\277"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 448
[pid 456021] recvmsg(253, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="eepassxreboot/keepassxc-browser/"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 4096
[pid 456021] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="github.com/keepassxreboot/keepas"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 496
[pid 456021] recvmsg(253, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="?\0\0\0https://github.com/keepassxr"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 484
[pid 456021] recvmsg(253, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="github.com/keepassxreboot/keepas"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 472
[pid 456021] recvmsg(253, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="eepassxreboot/keepassxc-browser/"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 460
[pid 456021] recvmsg(253, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="github.com/keepassxreboot/keepas"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 472
[pid 456021] <... recvmsg resumed>{msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="?\0\0\0https://github.com/keepassxr"..., iov_len=4096}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT) = 500
droidmonkey commented 4 months ago

due to some issues

What were those issues and why did they prompt you to reinstall the extension?

KeePassXC - 2.4.7+dfsg.1-2

This is a VERY old version of keepassxc

You also did not include how Firefox is installed, it matters. Did you read the troubleshooting guide?

https://github.com/keepassxreboot/keepassxc-browser/wiki/Troubleshooting-guide

Closing until these tasks are completed.

moxSedai commented 4 months ago

Updated

droidmonkey commented 4 months ago

The strace doesn't have anything to do with the browser extension functionality, unfortunately. You probably just need to follow the instructions on allowing KeePassXC through the apparmor profile of firefox. It is a section in the troubleshooting guide.

moxSedai commented 4 months ago

I have no usr.bin.firefox file in the apparmor.d directory

varjolintu commented 4 months ago

You must give more information according to the Troubleshooting Guide: