Updated, but version stays at 0.25

Hi Guys,

Im using Kunagi with apache/tomcat.
I downloaded both the tar.gz and the war itself (for control)
-rw-rw-r-- 1 1003 1003 29503391 Apr 14 09:26 kunagi.war
-rw-r--r-- 1 root root 29503391 Apr 14 09:26 kunagi.war.1
The .1 is from the control download. All seems fine
Copied to /var/lib/tomcat/webapps/kunagi.war
Restarted Tomcat

From Catalina.out:
Mon May 05 07:50:04 CEST 2014 INFO ScrumWebApplication 0.26

But browser interface continues to say 0.25 - update available ???
What am I missing??

Sincerely,
Karsten Jeppesen

Status

Issue is closed.

Comments

Tue, May 6, 2014, 10:20 by Witek (SM,T)

Have you tried to clear caches in the browser? Just click Ctrl+F5 when you have Kunagi opened.

Tue, May 6, 2014, 10:43 by Karsten Jeppesen

Hi Witek,

Yes - done that. I even went into the prefs and asked to have everything deleted there too.
OK - so you are baffled too. Maybe I can trace it somehow.

Thu, May 8, 2014, 13:20 by Witek (SM,T)

So you see 0.26 in the server log on startup? But 0.25 in the Browser?

Could you try with an oter borwser from an other computer? One which never connected Kunagi before?

Fri, May 9, 2014, 14:06 by Karsten Jeppesen

Solved. When deploying a new .war you must delete the corresponding folder:
rm -rf /var/lib/tomcat/webapps/kunagi

from the docs:
Any web application archive file within the application base (appBase) directory that does not have a corresponding directory of the same name (without the ".war" extension) will be automatically expanded, unless the unpackWARs property is set to false. If you redeploy an updated WAR file, be sure to delete the expanded directory when restarting Tomcat, so that the updated WAR file will be re-expanded (note that the auto deployer, if enabled, will automatically expand the updated WAR file once the previously expanded directory is removed). Multi-level contexts may be defined by using #, eg use a WAR named foo#bar.war for a context path of /foo/bar.

Sat, May 10, 2014, 10:46 by Witek (SM,T)

Thank you for feedback!

Post a comment



optional
optional