Can't uninstall version 3.8.2 in Ubuntu Linux command line

Nadav Gebert, modified 10 Years ago.

Can't uninstall version 3.8.2 in Ubuntu Linux command line

Youngling Posts: 3 Join Date: 2/5/14 Recent Posts
Hello,

When trying to uninstall Klaros version 3.8.2 in Ubuntu Linux 12.04 x64 command line I get:
$ sudo java -jar /opt/klaros/Uninstaller/uninstaller.jar
Error: Invalid or corrupt jarfile /opt/klaros/Uninstaller/uninstaller.jar

This uninstall is for upgrading to latest version (4.1.1).

P.S. Currently Klaros is running perfectly on the server....

Thanks,

N
thumbnail
Fabian Klaffke, modified 10 Years ago.

RE: Can't uninstall version 3.8.2 in Ubuntu Linux command line

Padawan Posts: 92 Join Date: 9/1/12 Recent Posts
Hello and welcome to the Klaros-Testmanagement community,

N G:
Hello,

When trying to uninstall Klaros version 3.8.2 in Ubuntu Linux 12.04 x64 command line I get:
$ sudo java -jar /opt/klaros/Uninstaller/uninstaller.jar
Error: Invalid or corrupt jarfile /opt/klaros/Uninstaller/uninstaller.jar

This uninstall is for upgrading to latest version (4.1.1).


This is due to an issue in the izpack java installer which is used for installing Klaros-Testmanagement. For version 4.0 and upwards izpack 5 is used which causes the behaviour you've reported. In order to uninstall the old version you can simply delete the folder in which it is installed.


P.S. Currently Klaros is running perfectly on the server....

Thanks,

N


Thanks, we are very pleased to hear that.

Regards,
Fabian
thumbnail
Fabian Klaffke, modified 10 Years ago.

RE: Can't uninstall version 3.8.2 in Ubuntu Linux command line (Answer)

Padawan Posts: 92 Join Date: 9/1/12 Recent Posts
Hello again,

upon further investigation we've been able to reproduce the behaviour you've described. If you install Klaros-Testmanagement 3.X on Linux per command line with the -console option, a corrupt uninstaller will be generated. This behaviour does not occur on newer versions of Klaros-Testmanagement (4.0 and upwards), so you'll only encounter it when upgrading from older versions. As with my last suggestion, deleting the folder in which the old version of Klaros is installed will do the trick. You can then install a newer version and your user data (which is located in your home folder) will be preserved.

Regards,
Fabian