Unable to upgrade Confluence Server from 6.9.1 to 6.15.1

Tawfeq Shahin March 19, 2019

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,

2 answers

1 accepted

1 vote
Answer accepted
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 19, 2019

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

Tawfeq Shahin March 20, 2019

Hi Daniel,

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

 

Regards,

Tawfeq Shahin March 20, 2019

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,

Kiran Dandempalli October 11, 2019

Hi @Tawfeq Shahin ,

 

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

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

 

Thank you both of you!

 

Regards,

Kiran

Tawfeq Shahin October 11, 2019

@Kiran Dandempalli

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

Kiran Dandempalli October 13, 2019

@Tawfeq Shahin 

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

Tawfeq Shahin October 14, 2019

@Kiran Dandempalli

Hi,

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

 

Regards

0 votes
Mounica May 29, 2022

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events