KeePass2 won't start in Ubuntu 12.04 after package install

Bug #1239454 reported by umoser
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
keepass2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The KeePass2 package for Debian/Ubuntu provided with 12.04 and as well as the ppa package install KeePass2 with "keepass2 --auto-type" in Unity launcher. This way keepass2 won't start. Trying this command in a terminal window yields the same result. Keepass2 terminates immediately without any comment. Just calling keepass2 and changing the menu entry to not contain --auto-type works and auto-type also works. Seems it is default and the command line option is no longer recognized.

Revision history for this message
Julian Taylor (jtaylor) wrote :

the package does not use --auto-type in its .desktop file or the starting script.
$ grep Exec /usr/share/applications/keepass2.desktop
Exec=keepass2

are you sure you don't have some local setting interfering? (e.g. in ~/.local/share/applications)

Changed in keepass2 (Ubuntu):
status: New → Incomplete
Revision history for this message
kasi (adnc15) wrote :

I have the same issue on Kubuntu 13.10:
mono /usr/lib/keepass2/KeePass.exe => Works
mono /usr/lib/keepass2/KeePass.exe --auto-type => close without error in terminal

Revision history for this message
Julian Taylor (jtaylor) wrote :

--auto-type is not used anywhere in packaging, it must be a local setting that is interfering

Revision history for this message
umoser (ulrich-moser) wrote :

This was an error in the setup. I don't know how it happened but it did not happen any more when installing KeePass2 on several other Ubuntu machines. Drop the bug.

Changed in keepass2 (Ubuntu):
status: Incomplete → Fix Committed
Julian Taylor (jtaylor)
Changed in keepass2 (Ubuntu):
status: Fix Committed → Invalid
Revision history for this message
evgenymsc (evgeny-msc) wrote :

I confirm this bug.
Reinstalling and removing config file doesn't fixes problem.

Ubuntu 12.04. Keepass 2.24.

Changed in keepass2 (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Dominik (dominik.k) wrote :

I'm also experiencing that KeePass is not starting anymore. I think it started with the update to 2.27 (2.27+dfsg-1~ubuntu12.04~ppa1 -> Julian Taylors PPA).

How can I contribute with logs helpful to investigate it?

Revision history for this message
Julian Taylor (jtaylor) wrote :

what error message do you get when you start it from the terminal?
does reverting back to the regular repository version fix it?
I currently don't have a precise machine available, but it works for me in a chroot on a trusty host.

Revision history for this message
Dominik (dominik.k) wrote :

Hmm, confusing:
As I reported it, it just didn't start *without* any message in the terminal. So, I used version 2.18+dfsg-2 (from Ubuntu 12.04 repository) instead.
Now I just reinstalled 2.27+dfsg-1~ubuntu12.04~ppa1 to test again and it's working fine :-)
Maybe the older version repaired or replaced a config file. Actually that couldn't be the case because I used apt-get purge.

If it would be the case again, what logs would be helpful, if there's no error message in the terminal?

Revision history for this message
EliCoten (launchpad-elicoten) wrote :

This just happened to me on Ubuntu 17.04, although it's the first time its happened in ages - at least a year maybe even two years.

Anyway when this happens to me, I find that killing the process called cli using ps aux | grep cli or just sudo killall /usr/bin/cli seems to fix it. Then I can open KeePass normally after that.

So must be some kind of rare hang during KeePass' initialisation which leaves it running but not visible.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.