Specify user to install confluence

Anybody know how to specify what user to install confluence? I'm running into issues with Confluence and chose to reinstall to start at a known baseline. Everytime I run the Confluence installation (.bin file) it creates a new user "ConfluenceX" where X is an auto-incrementing number. How do I specify, to the installation, to use an existing user rather than creating a new one?

2 answers

Confluence runs as the user it is invoked under

https://confluence.atlassian.com/display/DOC/Creating+a+Dedicated+User+Account+on+the+Operating+System+to+Run+Confluence

You wil need to login/su to the account for the confluence user. You can also use a sticky bit or sudo on 'nix systems.

0 vote

You can also delete the users that the old installation created. All it's doing is going through the list of users and looking for the first free one called "confluence".

Also, it only does this when you install as root - if you swap to a user you want to install as, it won't try to create new users. You do need to be careful to prepare any directories you want to install under though - it needs full read/write/execute to all installation directories for the current user

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

388 views 21 10
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