upgrade confluence Problems reading the installation directory

When upgrading confuence from 4.0.3 to 5.4.3 I get we get the following errors, the permissions are correct on the installation directory so we don't know where to go wuth this error, if we ignore the initial error the script bombs out anyway. The original installation was using the exploded war running under tomcat5 log of installation as follows:

Problems reading the installation directory.

Ignore [i, Enter], Retry [r], Quit [q]

/usr/share/confluence-4.0.3/

Problems reading the installation directory.

Ignore [i, Enter], Retry [r], Quit [q]

i

Back Up Confluence Home

The upgrade process will automatically back up your Confluence Installation

Directory. You can also choose to back up your existing Confluence Home

Directory. Both directories are backed up as zip archive files in their

respective parent directory locations.

We strongly recommend choosing this option in the unlikely event that you

experience problems with the upgrade and may require these backups to

restore your existing Confluence installation.

If you have many attachments in your Confluence Home Directory, the zip

archive of this directory may consume a significant amount of disk space.

Back up Confluence home ?

Yes [y, Enter], No [n]

y

Checking for local modifications.

Checking if your instance of Confluence is running

In action "Run script" (screen "Check if Confluence is running [Display progress]"), property "Script":

java.lang.NullPointerException

at I4jScript_Internal_346.eval(I4jScript_Internal_346.java:20)

at I4jScript_Internal_346.evaluate(I4jScript_Internal_346.java:28)

at com.install4j.runtime.installer.helper.Script.evaluate(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)

at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(Unknown Source)

at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(Unknown Source)

at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.performAction(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.executeActions(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.handleCommand(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)

at com.install4j.runtime.installer.Installer.main(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.launcher.Launcher.main(Unknown Source)

Upgrade Check List

Back up your external database

We strongly recommend you back up your Confluence database if you have not

already done so.

Please refer to the following URL for back up guidelines:

http://docs.atlassian.com/confluence/docs-54/Production+Backup+Strategy

Check plugin compatibility

Check that your non-bundled plugins are compatible with Confluence 5.4.3.

For more information see our documentation at the following URL:

http://docs.atlassian.com/confluence/docs-54/Installing+and+Configuring+Plugins+using+the+Universal+Plugin+Manager

Please ensure you have read the above checklist before upgrading.

Your existing Confluence installation is about to be upgraded! Do you want to proceed?

Upgrade [u, Enter], Exit [e]

u

Your instance of Confluence is currently being upgraded.

Checking if Confluence has been shutdown...

In action "Check Confluence is shut [Run script]" (screen "Upgrade Actions [Display progress]"), property "Script":

java.lang.NullPointerException

at I4jScript_Internal_356.eval(I4jScript_Internal_356.java:20)

at I4jScript_Internal_356.evaluate(I4jScript_Internal_356.java:38)

at com.install4j.runtime.installer.helper.Script.evaluate(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.runScript(Unknown Source)

at com.install4j.runtime.beans.actions.control.RunScriptAction.execute(Unknown Source)

at com.install4j.runtime.beans.actions.SystemInstallOrUninstallAction.install(Unknown Source)

at com.install4j.runtime.installer.InstallerContextImpl.performActionInt(Unknown Source)

at com.install4j.runtime.installer.ContextImpl.performAction(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.executeActions(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.handleCommand(Unknown Source)

at com.install4j.runtime.installer.controller.Controller.start(Unknown Source)

at com.install4j.runtime.installer.Installer.main(Unknown Source)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

at com.install4j.runtime.launcher.Launcher.main(Unknown Source)

Rolling back changes ...

[root@localhost Downloads]#

1 answer

Hi,

The link below may be helpful with this issue. Even though the KB describes the issue for JIRA you can still follow the resolution for your Confluence instance.

https://confluence.atlassian.com/display/JIRAKB/Unable+to+Upgrade+to+JIRA+4.4+due+to+Problems+Reading+the+Installation+Directory

Cheers.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,716 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you