Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Java IO errors on upgrading Confluence Server

Deleted user September 17, 2018

Attempting to upgrade Confluence server from 6.7.1 to 6.11.1 on Windows 10 (1803).

Following instructions from here provided by Atlassian Support.

 

Example:

java.lang.RuntimeException: java.io.IOException: write failed
    at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeOther(HelperCommunication.java:323)
    at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeActionInt(HelperCommunication.java:258)
    at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeAction(HelperCommunication.java:223)
    at com.install4j.runtime.installer.InstallerContextImpl.rollbackActionIntStatic(InstallerContextImpl.java:177)
    at com.install4j.runtime.installer.InstallerContextImpl.rollbackActionInt(InstallerContextImpl.java:171)
    at com.install4j.runtime.installer.ContextImpl.rollbackAction(ContextImpl.java:1136)
    at com.install4j.runtime.installer.controller.Controller.rollbackActions(Controller.java:333)
    at com.install4j.runtime.installer.controller.Controller.rollback(Controller.java:305)
    at com.install4j.runtime.installer.controller.Controller.handleCommand(Controller.java:214)
    at com.install4j.runtime.installer.controller.Controller.start(Controller.java:106)
    at com.install4j.runtime.installer.Installer.runInProcess(Installer.java:58)
    at com.install4j.runtime.installer.Installer.main(Installer.java:45)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:85)
    at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:94)
    at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:25)
Caused by: java.io.IOException: write failed
    at com.install4j.runtime.installer.helper.comm.HelperCommunication.sendObject(HelperCommunication.java:506)
    at com.install4j.runtime.installer.helper.comm.HelperCommunication.executeOther(HelperCommunication.java:286)
    ... 18 more

 

According to Programs & Features, Java is not installed but we already have 6.7.1 working so I'm assuming it's not needed.

There's some other error logs as well.

 

Can anyone shed any light on this please?

 

Thanks in advance.

 

2 answers

1 accepted

0 votes
Answer accepted
Charlie Misonne
Community Champion
September 17, 2018

I don't think the error is related to your java installation.

the error is: java.lang.RuntimeException: java.io.IOException: write failed

This can be caused by multiple things so it's difficult to say what's going on.

A few things to check:

  • Is the disk not full?
  • Does Confluence have the correct permissions to write to your install directory?

 

Remember you can always contact Atlassian Support for upgrade issues. They will ask you for the full log file.

 

EDIT: the solution was to stop Confluence before

Deleted user September 18, 2018

Hi Charlie, thanks for your response.

Yes, Java is not installed on either machine so it cannot relate to this. There is 72.6 GB free disk space and the account being used to run this installation (logged in user) has full control over the installation directory.

How would I ensure that Confluence has the correct permissions? There is already version 6.7.1 installed so I'm assuming Confluence would already have the permissions required from this original installation?

Thanks

Charlie Misonne
Community Champion
September 18, 2018

Hi

Another question: did you stop the existing Confluence instance when performing the upgrade?

I suggest you contact Atlassian support and provide them more log files.

Deleted user September 18, 2018

Hi Charlie,

No, the upgrade instructions provided by Atlassian said nothing about stopping the existing instance. I've provided the link to the instructions I was given.

I have raised a support ticket with them and am waiting for a response but I was wondering if anyone here could shed any light on this problem in the meantime.

Thanks

0 votes
Deleted user September 19, 2018

Stop the Confluence service from the Windows Start menu entry and run the installer.

Atlassian Support advised that the installer would handle all of this automatically but this was not the case.

Thanks Charlie Misonne for your correct diagnosis!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events