Linux Mint Confluence server installation failing


I am trying to install (Custom or Express) Confluence server on my Linux Mint (17.3) Dell E6530 laptop.  Installation raises a few failures, and I cannot connect to Confluence via the browser.

A log of a typical installation attempt is shown below.

I am a complete newbie to Confluence, and haven't used Linux for about 20 years, so I'm sure it's something pretty simple!  The /confluence (Home) directory was empty, so I set permissions on it to anyone in case I was trtying to do this as the wrong user, but that didn't make any difference.



anthony@anthony-Latitude-E6530 ~/Downloads $ chmod a+x atlassian-confluence-6.3.1-x64.bin
anthony@anthony-Latitude-E6530 ~/Downloads $ sudo ./atlassian-confluence-6.3.1-x64.bin
[sudo] password for anthony:
Unpacking JRE ...
Starting Installer ...
Aug 01, 2017 2:23:31 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.

This will install Confluence 6.3.1 on your computer.
OK [o, Enter], Cancel [c]
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, Enter],
Upgrade an existing Confluence installation [3]
See where Confluence will be installed and the settings that will be used.
Installation Directory:
Home Directory: /var/atlassian/application-data/confluence
HTTP Port: 8090
RMI Port: 8000
Install as service: Yes
Install [i, Enter], Exit [e]

Extracting files ...

com.install4j.runtime.beans.actions.misc.RunExecutableAction failed

Ignore [i, Enter], Quit [q]

Please wait a few moments while we configure Confluence.
Installation of Confluence 6.3.1 is complete
Start Confluence now?
Yes [y, Enter], No [n]

Please wait a few moments while Confluence starts up.
Launching Confluence ...
Installation of Confluence 6.3.1 is complete
Your installation of Confluence 6.3.1 is now ready and can be accessed via
your browser.
Confluence 6.3.1 can be accessed at http://localhost:8090
In action "Write Modz Registry [Run script]" (screen "Custom Finish Screen [Configurable banner form]"), property "Script":
java.lang.IllegalArgumentException: appBaseDir '/confluence' is not a readable directory
at com.atlassian.inception.modz.ModificationHelper.checkReadableDir(
at com.atlassian.inception.modz.ModificationHelper.<init>(
at com.atlassian.inception.modz.ConfluenceModificationHelper.<init>(
at com.atlassian.inception.modz.ModificationHelper.createConfluenceHelper(
at I4jScript_Internal_125.eval(
at I4jScript_Internal_125.evaluate(
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(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.install4j.runtime.launcher.Launcher.main(Unknown Source)
Unable to register filesystem for installer modification checking.
Finishing installation ...
anthony@anthony-Latitude-E6530 ~/Downloads $

1 answer

0 vote

It looks like the confluence user does not have full ownership/permissions on the directories it needs.

It looked like that to me as well, but I installed Mint under the name 'Anthony', was logged in as that when installing and I didn't see any 'sudo' or (for example) su root in the installation instruction so assumed user Anthony would have the appropriate privileges.

Suggestions welcome!  Happy to chmod/own any directories to try and get it to work, but as yet don't know which directories I should investigate because I don't know Confluence.

I did manage to install PostgreSQL beforehand under that user name, and that was relatively trouble free except for needing to change directory references to (as I recall) 9.3 instead of 9.4.

Keen to have a look at Confluence!



Ok, it's likely to be installed as you, but possibly not configured to run as you!  Look in <install>/bin for the shell scripts that set the user (I think there's only one) and check who is in there.

If it's your account, then everything should be owned by you in the installation and home directories, so check that, and then we'll have to dig deeper.

If it's not you, then either change it, or set up the named user and change the ownership to that (generally, we recommend using a separate user, not a real human who logs in)

Hi again, well, I wish I could give some better guidance! Apologies, I've been away for some days and so am only now getting back to this (it's for my own personal interest and possible product development).

I checked the installation directory, which is as in the manual - /var/atlassian/application-data/confluence.  All looked OK, did a chmod 777 . to ensure anyone could do anything - but actually that was the same setting as before anyway.  Checked the download directory for my own user - rwxr-xr-x 1 anthony anthony 604450053 Jul 31 19:21 atlassian-confluence-6.3.1-x64.bin

All OK?  Did sudo, (its good for me to be learning all this stuff!) as root, ran through the installation process, with identical results.

The installation directory after 'install' was completely empty, not a single file in it!  I'm assuming the <install>/bin scripts you mention would be in the installation directory?

This seems such an impressive faiure to install that I must be doing very impressively wrong, or looking in the wrong place? 

Apologies for being so new to this, but as I say it is at least getting me back into Unix after many years.  I also wanted to install Confluence/Jira locally so that I could understand what was under the bonnet.  In that I think I shall succeed:)




I am thinking of installing confluence on Linux Mint today.
Did you manage to resolve your issue ?

Does Confluence work on Linux Mint ?


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...

2,941 views 27 12
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