kee-org / KeeFox

Legacy browser and XUL application integration with KeePass Password Safe. See https://github.com/kee-org/browser-addon for the new version for Firefox 57+
https://forum.kee.pm
418 stars 48 forks source link

KeePassRPC is already listening for connections (ubuntu) #755

Closed anwfr closed 7 years ago

anwfr commented 7 years ago

Hello, I can't get KeeFox working since upgrade to ubuntu xenial.

I made sure plugin is in correct "plugins" directory, also created symlink to "Plugins" (#745) Before launching keepass2 I made sure that nothing is listening to KeePassRPC port (with netstat -lnp). Nothing is listening to this port before launching keepass (after getting error message, "cli" is listening to this port). It looks like KeePassRPC tries to open 2 connexions successively

Tried reinstalling keepass2 and keefox, clearing plugin cache... plugin is found.

Any idea?

dlech commented 7 years ago

Hmm... I wonder if this symlik is bad advice. It could be that KeePass is looking it both directories and is loading KeePassRPC.plgx twice.

anwfr commented 7 years ago

oh yes, could have been this :) Unfortunately deleting the "Plugins" directory and moving it to "plugins", then clearing plugins cache leads to the same error.

dlech commented 7 years ago

Perhaps you have another copy of KeePassRPC.plgx hiding somewhere? Try this.

$ find /usr/lib/keepass2/ -name KeePassRPC.plgx
anwfr commented 7 years ago

$ find /usr/lib/keepass2/ -name KeePassRPC.plgx /usr/lib/keepass2/KeePassRPC.plgx /usr/lib/keepass2/plugins/KeePassRPC.plgx

Wow!!! No idea how this copy ended here :) Thank you so much! KeeFox working again, woot woot! :+1: