New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with KeePassRPC 1.8.0 #53

Open
ntnsndr opened this Issue Jul 2, 2018 · 26 comments

Comments

Projects
None yet
@ntnsndr
Copy link

ntnsndr commented Jul 2, 2018

Several of us are experiencing incompatibility between the latest versions of KeePass2 and KeePassRPC on Ubuntu distros. Details are here. Thanks for taking the time to consider this.

@dlech

This comment has been minimized.

Copy link
Contributor

dlech commented Jul 2, 2018

Do you have all of the packages listed here installed?

@tadd

This comment has been minimized.

Copy link

tadd commented Jul 3, 2018

I got the same error in Debian testing. With --debug launch, I got error log in /tmp/tmp* like:

error CS0006: Metadata file `System.Management.dll' could not be found

So I apt search-ed and found libmono-system-management4.0-cil package.
After apt install libmono-system-management4.0-cil, the problem was resolved.

Hope this helps.

@Darkilen

This comment has been minimized.

Copy link

Darkilen commented Jul 3, 2018

I got the same error in Ubuntu 16.04 after updating keepass2 from 2.38 to 2.39.1.

I update KeePassRPC to 1.8.0 and now, it's works ! (see release notes and Updating KeePassRPC)

@ntnsndr

This comment has been minimized.

Copy link
Author

ntnsndr commented Jul 3, 2018

Darn, that's not working for me on 2.39.1, @Darkilen. Same issue. That's what I did before.

@Kerberus35

This comment has been minimized.

Copy link

Kerberus35 commented Jul 3, 2018

Updating to KeePassRPC 1.8.0 fixed the error on Ubuntu 16.04 for me

@jg-development

This comment has been minimized.

Copy link

jg-development commented Jul 4, 2018

Hi,
I`ve got the same problem with keepass2 2.39.1 on ubuntu 18.04 and 1.8.0.
Any ideas?

@jg-development

This comment has been minimized.

Copy link

jg-development commented Jul 4, 2018

.... and after remove all plugins and reinstall it works ... strange

@hoshikisa

This comment has been minimized.

Copy link

hoshikisa commented Jul 5, 2018

For me the problem is still here and kee is not usable.
I removed all my plugins and downloaded the new KeePassRPC 1.8.0 to put it in /usr/lib/keepass2/Plugins/ folder and I restarted keepass and firefox but I still have the error message.
I am using it on Kubuntu 14.04 64 bits with firefox 61 and the version number of keepass 2 is 2.39.1.
When I use the commande keepass2 --debug , I have the following error message :
error_message

@maffelbaffel

This comment has been minimized.

Copy link

maffelbaffel commented Jul 8, 2018

@tadd This also resolved the issue for me. Thx!

@ntnsndr

This comment has been minimized.

Copy link
Author

ntnsndr commented Jul 8, 2018

@tadd's suggestion doesn't work for me, including after removing and re-installing KeePass2.

@boldt

This comment has been minimized.

Copy link

boldt commented Jul 9, 2018

I get the same message as @hoshikisa (on Ubuntu 14.04.5 LTS) with keepass2 --debug

EDIT: 2018-07-17

For now, I switched back to 2.38.

@beerenauslese

This comment has been minimized.

Copy link

beerenauslese commented Jul 12, 2018

I think i have the same problem, my output of :/keepass2 -debug
bildschirmfoto von 2018-07-12 13-57-41

@dvictori

This comment has been minimized.

Copy link

dvictori commented Jul 25, 2018

Also seeing similar problem. Ubuntu 18.06. Keepass2 installed from jtaylor PPA. Using latest Kee plugin. Tried installing the same mono packages mentioned by @tadd with no luck.

Temp file created from the debug option is empty. But I get the following message:

screenshot from 2018-07-24 22-21-17

@dlech

This comment has been minimized.

Copy link
Contributor

dlech commented Jul 25, 2018

For those who are getting an empty file when using the --debug option to KeePass.exe, please open an issue on the official KeePass forum. We can't know what is going on with the KeePassRPC extension without more information. But if the debug log file is not working, that is probably a core KeePass issue rather than a KeePassRPC issue. Once that is sorted, then we can hopefully figure out what is going on here.

@dlech

This comment has been minimized.

Copy link
Contributor

dlech commented Jul 25, 2018

@dlech

This comment has been minimized.

Copy link
Contributor

dlech commented Jul 25, 2018

The key things I get from this are:

  1. Maybe mono-complete no longer includes all of the packages installed by mono-devel, so try installing mono-devel
  2. If that doesn't work, try upgrading mono by using the mono projects package archive.
@dvictori

This comment has been minimized.

Copy link

dvictori commented Jul 25, 2018

Installing mono-devel did the trick. I could then load KeePass and the plugin got compiled. After that I even removed mono-devel and other packages installed along with it and things are still working. So, in case someone does not want / need the mono-devel packages, it could be installed just for compiling and then latter, removed.

@beerenauslese

This comment has been minimized.

Copy link

beerenauslese commented Jul 26, 2018

installing mono-devel worked for me too

@vldu

This comment has been minimized.

Copy link

vldu commented Jul 26, 2018

For those who have this problem on Ubuntu 14.04 - you need to upgrade your mono installation

Installation instructions for mono (stable version) can be found on https://www.mono-project.com/download/stable/

After upgrade, keepass2 (2.39.1) + KeePassRPC (1.8.0) should work together.

@hoshikisa

This comment has been minimized.

Copy link

hoshikisa commented Jul 29, 2018

The solution of vidu worked for me, thank's a lot :)

@jgorres

This comment has been minimized.

Copy link

jgorres commented Aug 9, 2018

Installing mono-devel worked for me as well on a Kubuntu 18.04.1.

Thanks.

@jtoman

This comment has been minimized.

Copy link

jtoman commented Sep 5, 2018

Adding mono-devel does not fix the problem here.

@dd8zc

This comment has been minimized.

Copy link

dd8zc commented Dec 29, 2018

You really should put this in a FAQ, I searched some time for this solution.
Installing mono-devel worked (debian testing)

@lopho

This comment has been minimized.

Copy link

lopho commented Feb 7, 2019

Don't install mono-devel, that's an uninformed scattershot. It pulls in a lot of unnecessary packages. Just install the mono compiler, mono-mcs on Debian systems. It is required to compile the plugin for the correct mono version running keepass2. (And possibly install libmono-system-management, if it is not installed).

[rant]
But seriously, there needs to be a proper list of dependencies for this project, just saying mono-complete or mono-devel is not good advice as it just pulls in dozens of unnecessary libraries and sources, and does nothing to educate the user about the system requirements.
[/rant]

@dlech

This comment has been minimized.

Copy link
Contributor

dlech commented Feb 7, 2019

In the old KeeFox repo, there was a wiki page for this.

https://github.com/kee-org/KeeFox/wiki/en-%7C-Installation-%7C-Linux#install-additional-plugin-dependencies-ubuntu-1604-only

@luckyrat, could we add a wiki page in this repo (or some other easy to find place) with this information?

@luckyrat

This comment has been minimized.

Copy link
Member

luckyrat commented Feb 10, 2019

@lopho - The challenge is that with ongoing Mono, KeePass and distro changes, a list of dependencies is a moving target and not really anything to do with KeePassRPC, rather KeePass itself.

The solution might be to add a link to the Kee installation instructions page to the most up to date information about running KeePass on Linux. To the best I can tell, that is hosted at https://keepass.info/help/v2/setup.html#mono

That page concludes that installing mono-complete is the correct approach if you want to load plugins but I do see the point that it would be nice to come up with a more specific list of dependencies, if such a task is feasible.

Maybe one of the Linux experts here wants to start a discussion on the KeePass support forum about improving that page?

@dd8zc This information is written in the installation instructions and the troubleshooting guide. Do you have some suggestion for where else it should be put?

If we're confident that the instructions on the page @dlech linked to will work for a majority of distros, I'm happy to add that as the recommended approach on the installation instructions page rather than just installing mono-complete. I'm just wary of creating a huge page with a different list of dependencies for every possible distro out there, and perhaps that's the reason the official KeePass website suggests mono-complete too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment