Cannot install Jira
up vote
0
down vote
favorite
I am setting up a Bitbucket/Jira machine (CentOS VM). I am running Bitbucket on port 8080 and it's working fine. When trying to install Jira (HTTP: 8081, control: 8006) I go through the console installer and then to the web interface to complete the installation. However, the interface redirects me to /secure/errors.jsp (with a 302 redirect) and that page then returns a 503.
I have tried changing permissions as described here with:
sudo chown -R jira:jira /var/atlassian/application-data/
sudo chown -R jira:jira /opt/atlassian/jira/
Here I have uploaded all the logs generated when installing and starting.
installation centos jira atlassian
add a comment |
up vote
0
down vote
favorite
I am setting up a Bitbucket/Jira machine (CentOS VM). I am running Bitbucket on port 8080 and it's working fine. When trying to install Jira (HTTP: 8081, control: 8006) I go through the console installer and then to the web interface to complete the installation. However, the interface redirects me to /secure/errors.jsp (with a 302 redirect) and that page then returns a 503.
I have tried changing permissions as described here with:
sudo chown -R jira:jira /var/atlassian/application-data/
sudo chown -R jira:jira /opt/atlassian/jira/
Here I have uploaded all the logs generated when installing and starting.
installation centos jira atlassian
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am setting up a Bitbucket/Jira machine (CentOS VM). I am running Bitbucket on port 8080 and it's working fine. When trying to install Jira (HTTP: 8081, control: 8006) I go through the console installer and then to the web interface to complete the installation. However, the interface redirects me to /secure/errors.jsp (with a 302 redirect) and that page then returns a 503.
I have tried changing permissions as described here with:
sudo chown -R jira:jira /var/atlassian/application-data/
sudo chown -R jira:jira /opt/atlassian/jira/
Here I have uploaded all the logs generated when installing and starting.
installation centos jira atlassian
I am setting up a Bitbucket/Jira machine (CentOS VM). I am running Bitbucket on port 8080 and it's working fine. When trying to install Jira (HTTP: 8081, control: 8006) I go through the console installer and then to the web interface to complete the installation. However, the interface redirects me to /secure/errors.jsp (with a 302 redirect) and that page then returns a 503.
I have tried changing permissions as described here with:
sudo chown -R jira:jira /var/atlassian/application-data/
sudo chown -R jira:jira /opt/atlassian/jira/
Here I have uploaded all the logs generated when installing and starting.
installation centos jira atlassian
installation centos jira atlassian
asked Nov 10 at 17:07
Philipp Ploder
612618
612618
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
The problem is visible here in your catalina.out:
2018-11-10 17:24:50,218 JIRA-Bootstrap WARN [o.o.c.entity.jdbc.DatabaseUtil] Entity "Action" has no table in the database
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] Could not create table "jira.jiraaction"
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] SQL Exception while executing the following:
CREATE TABLE jira.jiraaction (ID NUMERIC(18,0) NOT NULL, issueid NUMERIC(18,0), AUTHOR VARCHAR(255), actiontype VARCHAR(255), actionlevel VARCHAR(255), rolelevel NUMERIC(18,0), actionbody TEXT, CREATED TIMESTAMPTZ, UPDATEAUTHOR VARCHAR(255), UPDATED TIMESTAMPTZ, actionnum NUMERIC(18,0), CONSTRAINT PK_jiraaction PRIMARY KEY (ID))
Error was: org.postgresql.util.PSQLException: ERROR: schema "jira" does not exist
It appears that you have configured the Jira database to use a schema named jira which does not exist.
One option is to create it and ensure that the appropriate permissions are granted to the Postgres user that you're using to access the database.
An alternative is to simply reset the schema back to the default of public (in your /var/atlassian/application-data/jira/dbconfig.xml). You are already using a separate database for Jira anyway, and at least on Postgres, having a distinct schema is unnecessary.
thank you, this was the problem
– Philipp Ploder
Nov 11 at 21:24
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
The problem is visible here in your catalina.out:
2018-11-10 17:24:50,218 JIRA-Bootstrap WARN [o.o.c.entity.jdbc.DatabaseUtil] Entity "Action" has no table in the database
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] Could not create table "jira.jiraaction"
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] SQL Exception while executing the following:
CREATE TABLE jira.jiraaction (ID NUMERIC(18,0) NOT NULL, issueid NUMERIC(18,0), AUTHOR VARCHAR(255), actiontype VARCHAR(255), actionlevel VARCHAR(255), rolelevel NUMERIC(18,0), actionbody TEXT, CREATED TIMESTAMPTZ, UPDATEAUTHOR VARCHAR(255), UPDATED TIMESTAMPTZ, actionnum NUMERIC(18,0), CONSTRAINT PK_jiraaction PRIMARY KEY (ID))
Error was: org.postgresql.util.PSQLException: ERROR: schema "jira" does not exist
It appears that you have configured the Jira database to use a schema named jira which does not exist.
One option is to create it and ensure that the appropriate permissions are granted to the Postgres user that you're using to access the database.
An alternative is to simply reset the schema back to the default of public (in your /var/atlassian/application-data/jira/dbconfig.xml). You are already using a separate database for Jira anyway, and at least on Postgres, having a distinct schema is unnecessary.
thank you, this was the problem
– Philipp Ploder
Nov 11 at 21:24
add a comment |
up vote
1
down vote
accepted
The problem is visible here in your catalina.out:
2018-11-10 17:24:50,218 JIRA-Bootstrap WARN [o.o.c.entity.jdbc.DatabaseUtil] Entity "Action" has no table in the database
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] Could not create table "jira.jiraaction"
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] SQL Exception while executing the following:
CREATE TABLE jira.jiraaction (ID NUMERIC(18,0) NOT NULL, issueid NUMERIC(18,0), AUTHOR VARCHAR(255), actiontype VARCHAR(255), actionlevel VARCHAR(255), rolelevel NUMERIC(18,0), actionbody TEXT, CREATED TIMESTAMPTZ, UPDATEAUTHOR VARCHAR(255), UPDATED TIMESTAMPTZ, actionnum NUMERIC(18,0), CONSTRAINT PK_jiraaction PRIMARY KEY (ID))
Error was: org.postgresql.util.PSQLException: ERROR: schema "jira" does not exist
It appears that you have configured the Jira database to use a schema named jira which does not exist.
One option is to create it and ensure that the appropriate permissions are granted to the Postgres user that you're using to access the database.
An alternative is to simply reset the schema back to the default of public (in your /var/atlassian/application-data/jira/dbconfig.xml). You are already using a separate database for Jira anyway, and at least on Postgres, having a distinct schema is unnecessary.
thank you, this was the problem
– Philipp Ploder
Nov 11 at 21:24
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
The problem is visible here in your catalina.out:
2018-11-10 17:24:50,218 JIRA-Bootstrap WARN [o.o.c.entity.jdbc.DatabaseUtil] Entity "Action" has no table in the database
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] Could not create table "jira.jiraaction"
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] SQL Exception while executing the following:
CREATE TABLE jira.jiraaction (ID NUMERIC(18,0) NOT NULL, issueid NUMERIC(18,0), AUTHOR VARCHAR(255), actiontype VARCHAR(255), actionlevel VARCHAR(255), rolelevel NUMERIC(18,0), actionbody TEXT, CREATED TIMESTAMPTZ, UPDATEAUTHOR VARCHAR(255), UPDATED TIMESTAMPTZ, actionnum NUMERIC(18,0), CONSTRAINT PK_jiraaction PRIMARY KEY (ID))
Error was: org.postgresql.util.PSQLException: ERROR: schema "jira" does not exist
It appears that you have configured the Jira database to use a schema named jira which does not exist.
One option is to create it and ensure that the appropriate permissions are granted to the Postgres user that you're using to access the database.
An alternative is to simply reset the schema back to the default of public (in your /var/atlassian/application-data/jira/dbconfig.xml). You are already using a separate database for Jira anyway, and at least on Postgres, having a distinct schema is unnecessary.
The problem is visible here in your catalina.out:
2018-11-10 17:24:50,218 JIRA-Bootstrap WARN [o.o.c.entity.jdbc.DatabaseUtil] Entity "Action" has no table in the database
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] Could not create table "jira.jiraaction"
2018-11-10 17:24:50,222 JIRA-Bootstrap ERROR [o.o.c.entity.jdbc.DatabaseUtil] SQL Exception while executing the following:
CREATE TABLE jira.jiraaction (ID NUMERIC(18,0) NOT NULL, issueid NUMERIC(18,0), AUTHOR VARCHAR(255), actiontype VARCHAR(255), actionlevel VARCHAR(255), rolelevel NUMERIC(18,0), actionbody TEXT, CREATED TIMESTAMPTZ, UPDATEAUTHOR VARCHAR(255), UPDATED TIMESTAMPTZ, actionnum NUMERIC(18,0), CONSTRAINT PK_jiraaction PRIMARY KEY (ID))
Error was: org.postgresql.util.PSQLException: ERROR: schema "jira" does not exist
It appears that you have configured the Jira database to use a schema named jira which does not exist.
One option is to create it and ensure that the appropriate permissions are granted to the Postgres user that you're using to access the database.
An alternative is to simply reset the schema back to the default of public (in your /var/atlassian/application-data/jira/dbconfig.xml). You are already using a separate database for Jira anyway, and at least on Postgres, having a distinct schema is unnecessary.
answered Nov 11 at 15:22
Scott Dudley
2,55011125
2,55011125
thank you, this was the problem
– Philipp Ploder
Nov 11 at 21:24
add a comment |
thank you, this was the problem
– Philipp Ploder
Nov 11 at 21:24
thank you, this was the problem
– Philipp Ploder
Nov 11 at 21:24
thank you, this was the problem
– Philipp Ploder
Nov 11 at 21:24
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53241352%2fcannot-install-jira%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown