Downgrading
when I switching new version 16.1 to 14.1 in log file I am getting this error Please guide what to do
FATAL AHttpServlet GET failed: scrum.server.common.StartServlet ->
Caused by: java.lang.RuntimeException: Application startup failed.
FATAL AHttpServlet Init failed: scrum.server.common.StartServlet ->
java.lang.RuntimeException: java.lang.RuntimeException: Application startup failed.
Caused by: ilarkesto.persistence.EntityDoesNotExistException: Entity does not exist: 9ff0f0f3-ca59-400c-ae35-977e3e01d7be-1
Statement from Kunagi Team
Downgrades never work! This is because newer versions of Kunagi use new (extended) data formats.
You have to do a data backup on 14.1. Then upgrade to 16.1. If you would like to go back to 14.1, you have to restore the backup.
To create a backup, you have to copy/zip the whole data directory. On startup, the log file shows, which directory is used as the data directory. It contains folders like entities
, files
and backup
. The backup
directory inside of the data directory is a backup for internal Kunagi use. Not a backup of your project data.
To restore your backup, you have to copy/unzip it back to where it was. Make sure, that you delete the destination directory, before restoring. If you just overwrite, things might mess up.
Status
Issue is closed.
Comments
Sat, Jan 29, 2011, 13:06 by Witek (SM,T)
I would highly recommend to always use the newest version. If you have a problem with the newer version, please let us know. Since we release nearly every month, chances are good, we fix your bug.
Sat, Jan 29, 2011, 13:31 by niraj
above problem is solved but with new version 16.1 I am not able to retrived the old data.
new folder kunagi-data created in that I found backup/entities/2011-01-29 folder in that today's date folder is there.
then from my backup I tried to restored the old data directory in kunagi-data directory but once I restart my tomcat service it's deleted my restored data from that kunagi-data directory.
so Please guide how to retrived old data.
Sat, Jan 29, 2011, 18:11 by Witek (SM,T)
You have to ignore the backup
directory. It is for internal use only and not relevant here.
- Install Kunagi 1.6.
- Start Tomcat.
- Look into log file, to see the used data directory.
- Stop Tomcat.
- Delete the
entities
directory from the data directory. - Put the
entities
directory from your backup there instead. - Start Tomcat.