I am upgrading our Dev environment to version 14.2 from the 13.1 version.
I completed all of the recommended pre-upgrade activities, upgraded my Java to 1.7.0_67 and set the correct PATH. I also upgraded my Tomact version to apache-tomcat-7.0.55
The pre-install check highlighted a few warnings but nothing which I had not seen when I upgraded our Sandbox to 14-2.
So I proceeded with the installation.
After about ten minutes the install fails with the following:
D:\niku\temp\v14-2\gateway.xml:34: The following error occurred while executing
D:\niku\temp\v14-2\install.xml:259: The following error occurred while executing
D:\niku\temp\v14-2\install.xml:439: The following error occurred while executing
D:\niku\temp\v14-2\install.xml:483: No message
When I check the install.log file I see:
7/01/15 6:29 AM (Echo) D:\niku\temp\v14-2\install-packages\13.2.0\upgrade-repack.22.214.171.1242tpexcludes\install.xml:258: Fatal error occurred while trying to process d:\niku\clarity_prev or d:\niku\clarity
7/01/15 6:29 AM (Echo)
7/01/15 6:29 AM (Echo) Total time: 10 minutes 11 seconds
7/01/15 6:29 AM (UnknownElement) Task "fail" finished with error.
D:\niku\temp\v14-2\install.xml:873: The upgrade step for 13.2.0 failed. Please consult the
D:\niku\temp\v14-2\install-packages\13.2.0\upgrade-repack.126.96.36.1992tpexcludes/install.log for that release package."
The install.log file is attached.
I am currently restoring my db and application backups.
Can anyone please suggest a reason for this upgrade failure and how I can avoid it in my next attempt?
Just saw the install log and it looks like the permission issue you are hitting and the upgrade is breaking.
7/01/15 6:29 AM (UnknownElement) Task "move" finished with error.
D:\niku\temp\v14-2\install-packages\13.2.0\upgrade-repack.188.8.131.522tpexcludes\install.xml:250: Unable to delete directory d:\niku\clarity\webroot\Custom_Html
Can you please check if you have the required rights.
I think I may have to remove the Custom_Html folder or at least get rights to do so!
I'll also get rid of any other folders which may interfere with the upgrade process.
I also checked the Cust_Html folder properties and it is a shared folder - possibly why it could not be deleted?
I have removed it from the webroot folder and backed it up on another location.
Once I have restored by backups to previous config I'll reattempt the 14-2 upgrade and let you know how it goes.
Ok this time the upgrade fails with messages about invalid NSQL queries and duplicate time slice requests in the post-check.html file
We're going to see if we can get these corrected.
Invalid SQL shouldn't fail. would love to see the new install log
yes I was just comparing the install.log file from my successfull Sandbox upgrade and my failed Development upgrade attempt. In the Sandbox the same invalid NSQL messages appeared but the upgrade completed successfully.
I have sent you the latest install.log file
You are hitting a bug
7/01/15 6:15 AM (SQLTask) java.lang.NullPointerException
7/01/15 6:15 AM (SQLTask) at com.niku.tools.taskdefs.JDBCSecurePasswordTask.getConnection(JDBCSecurePasswordTask.java:44)
This is due to a known bug CLRT-77615 and the workaround is below
Go back to the CSA properties > security tab before upgrade, under the Encrypt Passwords section change the setting (e.g. from No Encryption to Using System Key), click on Save, change the setting back again (e.g. from Using System Key to No Encryption), click Save again. Now the <encryption> element will exist and the useSystemKey attribute should exist too. Now the upgrade should proceed without error.
Thank you so much for your fast response. I am currently restoring my pre-upgrade attempt db and app backup files.
Once these are in place I will ensure to apply the settings above before reattempting upgrade.
I'll let you know how this goes.
I look forward to hear from you.
Also i see the below error
7/01/15 6:15 AM (Echo) Database Vendor = mssql
7/01/15 6:15 AM (Echo) Current Database Version = 10.50.2500.0 - DEVELOPER EDITION (64-BIT)
MSSQL Developer edition is not supported and only below are supported
■ Microsoft SQL Server 2008 R2 Enterprise Edition: Any service pack5c)
■ Microsoft SQL Server 2012 Enterprise Edition: Any service pack
Apart from it please ensure app and database timezone are same.
the workaround for the known bug re: Encrypt Password did the trick.
Once I applied the steps you advised in the NSA the upgrade ran successfully.
One other question - the upgrade took over 7 hours to complete. We ensured to apply all the pre-upgrade recommendations by CA before we began. Is this normal time for a 14-2 upgrade?
The upgrade time can vary due to infrastructure, volume of data. So yes I have seen upgrade taking 7 hours or more
Was it an issue with only v13.1? Because recently I was trying to upgrade from 15.1 to 15.2 and I also got the same error in install logs. I followed the steps you have provided and it worked. I was a bit surprised to see that the bug still exists, and that too in v15.1
Am I the only one who faced this issue while moving from 15.1 to 15.2? Or is there a chance CA has provided any fix for this that I am missing on?
Will be glad to hear any update on this.
Well your errors seem to start with a "Unable to delete directory" message ; could be permissions / operating system locks related?
( some previous threads on here with that error indicated manually removing thongs might help ).