Cannot install Jira












0














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.










share|improve this question



























    0














    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.










    share|improve this question

























      0












      0








      0







      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.










      share|improve this question













      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






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 10 at 17:07









      Philipp Ploder

      612618




      612618
























          1 Answer
          1






          active

          oldest

          votes


















          1














          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.






          share|improve this answer





















          • thank you, this was the problem
            – Philipp Ploder
            Nov 11 at 21:24











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          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

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          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.






          share|improve this answer





















          • thank you, this was the problem
            – Philipp Ploder
            Nov 11 at 21:24
















          1














          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.






          share|improve this answer





















          • thank you, this was the problem
            – Philipp Ploder
            Nov 11 at 21:24














          1












          1








          1






          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.






          share|improve this answer












          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.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 11 at 15:22









          Scott Dudley

          2,56011125




          2,56011125












          • 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




          thank you, this was the problem
          – Philipp Ploder
          Nov 11 at 21:24


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          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





















































          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







          這個網誌中的熱門文章

          Xamarin.form Move up view when keyboard appear

          Post-Redirect-Get with Spring WebFlux and Thymeleaf

          Anylogic : not able to use stopDelay()