Forums

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

Error on installing 'atlassian-confluence-7.19.18-x64.bin'

Beat Muench
Contributor
January 16, 2024

I got this error while installing atlassian-confluence-7.19.18-x64.bin

sh /home/appl/$PKG
Waring: fontconfig is necessary to run with OpenJDK. Run the installer as root/sudo to install fontconfig.
Installing fontconfig and fonts
Root privileges are required to run this command.
Root privileges are required to run this command.
Root privileges are required to run this command.
Root privileges are required to run this command.
Regenerating the font cache
Fonts and fontconfig have been installed
Unpacking JRE ...
Starting Installer ...
You do not have administrator rights to this machine and as such, some installation options will not be available. Are you sure you want to continue?
Yes [y, Enter], No [n]
y

This will install Confluence 7.19.18 on your computer.
OK [o, Enter], Cancel [c]
o
Click Next to continue, or Cancel to exit Setup.

Choose the appropriate installation or upgrade option.
Please choose one of the following:
Express Install (uses default settings) [1],
Custom Install (recommended for advanced users) [2],
Upgrade an existing Confluence installation [3, Enter]
3
Existing installation directory:
[/appl/atlassian/confluence]


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], No [n, Enter]
n

Checking for local modifications.

List of modifications made within Confluence directories.

The following provides a list of file modifications within the confluence
directory.

Modified files:
conf/server.xml
jre/lib/security/cacerts
bin/setenv.sh
Removed files:
(none)
Added files:
confluence/WEB-INF/classes/log4j-diagnostic.properties
confluence/WEB-INF/lib/ojdbc7.jar
bin/setenv.sh-orig-7-19-17
conf/server.xml-orig-7-19-17

[Enter]


Checking if your instance of Confluence is running

Upgrade Checklist
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:
https://docs.atlassian.com/confluence/docs-719/Production+Backup+Strategy

Check app compatibility
Check that your non-bundled apps are compatible with Confluence 7.19.18.

For more information see our documentation at the following URL:
https://docs.atlassian.com/confluence/docs-719/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...
Backing up the Confluence installation directory

Deleting the previous Confluence installation directory...

Extracting files ...
bin/OS X - Run Confluence In Background.command
/appl/atlassian/confluence/bin/OS X - Run Confluence In Background.command
Could not create this file. Shall I try again?
Yes [y], Cancel [c]
y
/appl/atlassian/confluence/bin/OS X - Run Confluence In Background.command
Could not create this file. Shall I try again?
Yes [y], Cancel [c]
c
Rolling back changes ...

What can i do to make a correct installation ?

4 answers

3 votes
Beat Muench
Contributor
January 16, 2024
dberkowitzp
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2024

I can not see your ticket... if they say "we fixed it"... if you could echo back here, it would be greatly appreciated!

Beat Muench
Contributor
January 16, 2024

Thats the workarond i got from support

As per the Upgrade steps using installer method, could you please follow the below steps after downloading the installer file

Change to the directory where you downloaded Confluence then execute this command to make the installer executable:

1$ chmod a+x atlassian-confluence-X.X.X-x64.bin
Where X.X.X is the Confluence version you downloaded.

Next, run the installer – we recommend using sudo to run the installer:

1$ sudo ./atlassian-confluence-X.X.X-x64.bin
Now you can continue the upgrade as usual

I am checking this internally with the team, meanwhile, you may use the below commands to reset permissions for your confluence user.

1sudo chown -R <confluence-user> <confluence-install-folder> 2sudo chown -R <confluence-user> <confluence-home-folder> 3sudo chown -R <confluence-user> <confluence-shared-home-folder> 4sudo chmod -R u=rwx,g=rx,o=rx <confluence-install-folder> 5sudo chmod -R u=rwx,g=rx,o=rx <confluence-home-folder> 6sudo chmod -R u=rwx,g=rx,o=rx <confluence-shared-home-folder>
Replace <confluence-user> with the dedicated user account that runs the Confluence process, and <confluence-install-folder> and <confluence-home-folder> with the appropriate values.

 

But i'm not happy with this workaround with root rights.

The whole installation has after this kind of installatin other ownership and permissions than all otrher versions before 7.9.18

dberkowitzp
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 18, 2024

Also, the blank chmod -R adding execute to every file feels dirty. I tried the install as root then chmod, and without the chmod +w a bunch of stuff gets messed up. This seems like the incorrect path.

2 votes
Remo Siegwart
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 16, 2024

We are experiencing the exact same error when trying to upgrade from Confluence Data Center 8.5.4 to 8.5.5 using the following installer: atlassian-confluence-8.5.5-x64.bin

It looks like all binary installers are currently broken...

SYSGO GmbH
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 17, 2024

Same here with Confluence 8.5.5.

1 vote
Beat Muench
Contributor
January 17, 2024

Shivangi Nayak commented:

Dear Beat,

I would like to share an update, that the below Bug has been created to address the issue

0 votes
Ales Janzekovic January 17, 2024

Hi,

I have installed Conf version 7.19.18. The installation directory is missing write permission on the folders and files. In comparison to version 7.19.17 there is a difference in permissions.

INSTAL DIR permisson on 7.19.18

dr-xr-x--- 3 confluence confluence 4096 Jan 17 13:37 bin
-r-xr-x--- 1 confluence confluence 20577 Jan 16 05:17 BUILDING.txt
dr-xr-x--- 3 confluence confluence 4096 Jan 17 13:36 conf
dr-xr-x--- 26 confluence confluence 4096 Jan 17 13:36 confluence
-r-xr-x--- 1 confluence confluence 6375 Jan 16 05:17 CONTRIBUTING.md
-rw-r--r-- 1 confluence confluence 122432 Jan 17 13:38 install.reg
dr-xr-x--- 7 confluence confluence 4096 Jan 17 13:36 jre
dr-xr-x--- 2 confluence confluence 4096 Jan 17 13:36 lib
-r-xr-x--- 1 confluence confluence 58153 Jan 16 05:17 LICENSE
dr-xr-x--- 2 confluence confluence 77824 Jan 17 13:36 licenses
drwx------ 2 confluence confluence 4096 Jan 16 05:17 logs
-r-xr-x--- 1 confluence confluence 2401 Jan 16 05:17 NOTICE
-r-xr-x--- 1 confluence confluence 2297 Jan 16 05:17 README.html
-r-xr-x--- 1 confluence confluence 3479 Jan 16 05:17 README.md
-r-xr-x--- 1 confluence confluence 1206 Jan 16 05:17 README.txt
-r-xr-x--- 1 confluence confluence 7075 Jan 16 05:17 RELEASE-NOTES
-r-xr-x--- 1 confluence confluence 16982 Jan 16 05:17 RUNNING.txt
dr-xr-x--- 4 confluence confluence 4096 Jan 17 13:36 synchrony-proxy
drwx------ 2 confluence confluence 4096 Jan 17 13:36 temp
-rwx------ 1 confluence confluence 13586 Jan 16 05:17 uninstall
dr-xr-x--- 2 confluence confluence 4096 Jan 16 05:17 webapps
drwx------ 2 confluence confluence 4096 Jan 16 05:17 work


INSTAL DIR permisson on 7.19.17

drwxr-xr-x. 3 jira jira 4096 Jan 17 10:31 bin
-rw-r--r--. 1 jira jira 20577 Jan 17 10:31 BUILDING.txt
drwxr-xr-x. 3 jira jira 4096 Jan 17 10:31 conf
drwxr-xr-x. 26 jira jira 4096 Jan 17 10:31 confluence
-rw-r--r--. 1 jira jira 6375 Jan 17 10:31 CONTRIBUTING.md
-rw-r--r--. 1 jira jira 122226 Jan 17 10:31 install.reg
drwxr-xr-x. 7 jira jira 86 Jan 17 10:31 jre
drwxr-xr-x. 2 jira jira 4096 Jan 17 10:31 lib
-rw-r--r--. 1 jira jira 58153 Jan 17 10:31 LICENSE
drwxr-xr-x. 2 jira jira 61440 Jan 17 10:31 licenses
drwx------. 2 jira jira 4096 Jan 17 10:31 logs
-rw-r--r--. 1 jira jira 2401 Jan 17 10:31 NOTICE
-rw-r--r--. 1 jira jira 2297 Jan 17 10:31 README.html
-rw-r--r--. 1 jira jira 3479 Jan 17 10:31 README.md
-rw-r--r--. 1 jira jira 1206 Jan 17 10:31 README.txt
-rw-r--r--. 1 jira jira 7075 Jan 17 10:31 RELEASE-NOTES
-rw-r--r--. 1 jira jira 16982 Jan 17 10:31 RUNNING.txt
drwxr-xr-x. 4 jira jira 53 Jan 17 10:31 synchrony-proxy
drwx------. 4 jira jira 4096 Jan 17 10:31 temp
-rwx------. 1 jira jira 13586 Jan 17 10:31 uninstall
drwxr-xr-x. 2 jira jira 6 Jan 17 10:31 webapps
drwx------. 3 jira jira 23 Jan 17 10:31 work

Luisa Falk January 17, 2024

Documentation detailing the permissions can be found at: 5. Enhance directory security 

I have already contacted support regarding this issue and received the following response:

One of our key objectives with this upgrade is to enhance the security of the Confluence install folder. 

We have adjusted the permissions for the installation directory to "read" and "execute" only. This means that users can run programs or files and read the contents of the directory, but they cannot modify, delete, or create new files.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events