-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
A short follow-up...
Am 29.03.2016 um 15:45 schrieb Andreas Haumer:
[...]
Now with the correct webapp directory and XWiki 7.4.2 I actually get the version 7.4.2 on
the login page and the distribtion wizard is finally starting.
But at that point I get another error: the distribution wizard fails at step 1 with:
This version is not compatible with your installation. Search for a compatible version by
going through the list of "Stable Versions" located in the extension's
"Description" tab.
and the detailled messages show:
Resolving extension dependency [org.xwiki.platform:xwiki-platform-oldcore-[7.4.1]] on
namespace [Home] Dependency [org.xwiki.platform:xwiki-platform-oldcore-[7.4.1]] is not
compatible with core extension [org.xwiki.platform:xwiki-platform-legacy-oldcore-7.4.2]
class org.xwiki.extension.InstallException: Failed to resolve extension at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:774)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:393)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:290)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:224)
[...]
Caused by: class org.xwiki.extension.InstallException:
Dependency [org.xwiki.platform:xwiki-platform-oldcore-[7.4.1]] is not compatible with core
extension [org.xwiki.platform:xwiki-platform-legacy-oldcore-7.4.2] at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.checkCoreDependency(AbstractInstallPlanJob.java:426)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:628)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:911)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:690)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtensionDependency(AbstractInstallPlanJob.java:659)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:911)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:772)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:393)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.installExtension(AbstractInstallPlanJob.java:290)
at
org.xwiki.extension.job.internal.AbstractInstallPlanJob.start(AbstractInstallPlanJob.java:224)
at
org.xwiki.extension.job.internal.InstallPlanJob.runInternal(InstallPlanJob.java:88) at
org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:205) at
org.xwiki.job.AbstractJob.run(AbstractJob.java:188) at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at
java.lang.Thread.run(Thread.java:745)
I could not get past this error so I finally decided to stop it and perform
a complete rework of the upgrade process:
1) Deleted XWiki 7.4.2 webapp and database
2) Installed XWiki 7.4.1 webapp and complete database from backup
(yes, I made a backup before starting the upgrade! :-)
3) Checked v7.4.1 did actually run fine again (it did)
4) Started a fresh WAR-upgrade to v7.4.2
This time everything worked fine: correct version, distribution wizard started
and did the upgrade (I skipped a few pages which I had changed previously)
Now it looks like I have a running XWiki v7.4.2.
That shows how important a backup before upgrade can be, even for a minor
version upgrade (like 7.4.1 to 7.4.2)!
Thanks and sorry for the noise!
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme |
http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
iD8DBQFW+pTWxJmyeGcXPhERAsx8AJ40EO8vk/ILop0SX8qD2tJibrzWYgCgwgWx
pQnTjEldUb0mCv/3FqszKXw=
=m1pD
-----END PGP SIGNATURE-----