Forums

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

I got 'Cannot add user, all the user directories are read-only.' during installing

文艺中年
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!
November 13, 2018

I'm installing atlassian-jira-software-7.12.3.tar.gz for evaluation.  my env is : Ubuntu 16+ JDK1.8 + MySql 5.7.23

I have ran into step : "Set up administrator account", fill out the username & password, click "Next", I got the error: Cannot add user, all the user directories are read-only.'

I'm sure I have enough Mysql privilege , because I'm using root account to operate it.

I even try installing my own mac for many times, I always got the exact same error, confused. any helper is appreciate.

 

 

 

 

3 answers

0 votes
lee February 23, 2020

Hi,@文艺中年,,I had the same Problem with you . Did you have fixed the problem?

Windows 10
Jira 7.41
MySQL 8.0.12

mysql-connector-java-5.1.48-bin.jar
Java 1.8.0_241

lee February 23, 2020

not win10,but centos 7.6.1810

lee February 24, 2020

i fixed it, mysql5.7 will be ok.

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 15, 2018

I have seen this error before.  It happens because Jira can't create the admin account.  There are potentially different reasons for that.  But in an initial setup of Jira like this, it usually tends to be that either the database Jira is using is setup incorrectly, OR that Jira's configuration to use that database (dbconfig.xml) is misconfigured.

To confirm this, if you can recreate this error, and then immediately go to either:

  • $JIRAHOME/log/atlassian-jira.log   OR
  • $JIRAINSTALL/logs/catalina.out

Either one of these should provide more details about the error itself and give us some help to understand how to correct this.

Please let us know the results.  And if you wish to also share with us your $JIRAHOME/dbconfig.xml (no need to share the database credentials in cleartext there), that too might help us understand how Jira is configured here.

0 votes
Deleted user November 13, 2018

Hi @文艺中年,

Try to follow the approach mentioned in this document by upgrading the MySQL JDBC.

The following guide has the steps needed and the link to the JDBC version that is recommended.

https://confluence.atlassian.com/adminjiraserver072/connecting-jira-applications-to-mysql-828787562.html

Hope this helps!!

Regards,

Priyanka

文艺中年
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!
November 15, 2018

I tried it , It doesn't work. Even if I use built-in database, I got the exact same error.

YY Brother
Community Champion
March 5, 2022

yeah, the same to me even if i use built-in database

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events