Unable to upgrade Confluence Server from 6.9.1 to 6.15.1
Asked by Tawfeq Shahin:

Hello,

i want to upgrade confluence from 6.9.1 to 6.15.1 with installer "atlassian-confluence-6.15.1-x64.bin"

and get the following error

"com.install4j.runtime.beans.actions.files.CreateZipFileAction failed

Ignore \[i, Enter\], Quit \[q\] "

and i have q selected to quit from upgrade process \& back to old version!

can you please share what is the solution?

Regards,


Answers:
author: Daniel Eads
body: Hey Tawfeq,

We typically see this error when the user running the installer doesn't have permission to write to the directory above Confluence's install directory. When the installer starts an upgrade, it first creates a zipped backup of your current install directory and writes it at the same level as the install directory.

For example, if you have these directories:

* **Confluence home**: /opt/atlassian/confluence-home
* **Confluence install**: /opt/atlassian/confluence

The installer will try to write the backup to a .zip file at **/opt/atlassian** - you'll see the error you described if the user running the installer doesn't have **write** permissions in that directory. To correct it, add write permissions to that parent directory for the user running the installer (we recommend running the installer as sudo / root).

Let me know if you need further help setting the permissions or have any other questions related to your upgrade!

Cheers,  
Daniel

comments: author: Tawfeq Shahin
body: Hi Daniel,

i get the error, when i ran the installer as root

Regards,


author: Tawfeq Shahin
body: Hi Daniel,

i have change the Group Ownership of confluence Home also to confluence Group and run the installer as root and the upgrade was successful.

Regards,


author: Kiran Dandempalli
body: Hi [@Tawfeq Shahin](/t5/user/viewprofilepage/user-id/1534643) ,

I'm facing the same issue that you had earlier, Can you give me the suggestions about how to over come the issue.

Currently I'm trying to upgrade the Confluence from 6.7.0 to 6.15.8.

I ran the installer as the root with executable permissions but still I'm facing this issue!

Can you please assist me Tawfeq ?

[@Daniel Eads](/t5/user/viewprofilepage/user-id/1527694)

If you don't mind, could you please have a look on it ?

Thank you both of you!

Regards,

Kiran


author: Tawfeq Shahin
body: [@Kiran Dandempalli](/t5/user/viewprofilepage/user-id/3572358)

Hi,

try to do the following steps:

1. show Confluence Home Diretory (confluence.home)

cat /opt/atlassian/confluence/confluence/WEB-INF/classes/confluence-init.properties

(**default: confluence.home = /var/atlassian/application-data/confluence**)

2. Run chown on Confluence Home Directory as a root

chown -R confluence:confluence **/var/atlassian/application-data/confluence or**(/path/to/hom/directory)

3. Run Upgrade again

Regards


author: Kiran Dandempalli
body: [@Tawfeq Shahin](/t5/user/viewprofilepage/user-id/1534643)

Hi,

Thanks for your reply! I've followed your steps, even though I'm getting the same error while upgrading. Is there any other option to over come from that issue?

Please assist me!

Regards

Kiran


author: Tawfeq Shahin
body: [@Kiran Dandempalli](/t5/user/viewprofilepage/user-id/3572358)

Hi,

can you post the Logs/Output of the Upgrade Process?

Regards


author: moziauddin
body: We were upgrading from 8.5.5 to 8.5.8.

For us this was caused by a file called **classes.jpa** in **/opt/atlassian/confluence/jre/lib/server** . We had to move the file out to **/tmp** so that the upgrade will progress.


author: Mounica
body: Hello There,

I got the same error and it was because zip utility wasn't installed on my linux machine.

Got rid of this error after installing it with yum install zip command.

Hope this helps.

Thanks,

Mounica Harish