Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-3201

Investigate why Jira goes down with a 503

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Situation: Jira keeps going down with a 503.

      Task: Determine why Jira is going down.

      Note:

      To restart the Jira server:

      • log into the jira host using ssh as user "ec2-user"
      • change to root user (sudo su)
      • change to the "bin" directory, located here: /home/ec2-user/jira/atlassian-jira-software-7.0.11-standalone/bin
      • let the server shut down properly, just in case it is still running, by executing the "stop jira" script: stop-jira.sh

      Note that if the server has crashed, probably there is still a "stale" PID file. If so, when you attempt to stop jira, the script will print that there is a stale PID file.

      • Restart jira by running the "start jira" script: start-jira.sh

      To enable Nowlan Freese to carry out the above workflow I did this:

      • Added his public key to the authorized hosts on jira.bioviz.org
      • Modifed the EC2 and its attached security group "jira3" to enable him to restart the the EC2 and also modify its security group
      • Used the IAM policy simulator on AWS to check if his user name can edit the security group, which confirmed that he can do it.

        Attachments

          Activity

          nfreese Nowlan Freese created issue -
          nfreese Nowlan Freese made changes -
          Field Original Value New Value
          Epic Link IGBF-2323 [ 18477 ]
          ann.loraine Ann Loraine made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          ann.loraine Ann Loraine made changes -
          Description Situation: Jira keeps going down with a 503.

          Task: Determine why Jira is going down.
          Situation: Jira keeps going down with a 503.

          Task: Determine why Jira is going down.

          Note:

          To restart the Jira server:

          * log into the jira host using ssh as user "ec2-user"
          * change to root user (sudo su)
          * change to the "bin" directory, located here: /home/ec2-user/jira/atlassian-jira-software-7.0.11-standalone/bin
          * let the server shut down properly, just in case it is still running, by executing the "stop jira" script: stop-jira.sh

          Note that if the server has crashed, probably there is still a "stale" PID file. If so, when you attempt to stop jira, the script will print that there is a stale PID file.

          * Restart jira by running the "start jira" script: start-jira.sh

          ann.loraine Ann Loraine made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ann.loraine Ann Loraine made changes -
          Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
          ann.loraine Ann Loraine made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          ann.loraine Ann Loraine made changes -
          Description Situation: Jira keeps going down with a 503.

          Task: Determine why Jira is going down.

          Note:

          To restart the Jira server:

          * log into the jira host using ssh as user "ec2-user"
          * change to root user (sudo su)
          * change to the "bin" directory, located here: /home/ec2-user/jira/atlassian-jira-software-7.0.11-standalone/bin
          * let the server shut down properly, just in case it is still running, by executing the "stop jira" script: stop-jira.sh

          Note that if the server has crashed, probably there is still a "stale" PID file. If so, when you attempt to stop jira, the script will print that there is a stale PID file.

          * Restart jira by running the "start jira" script: start-jira.sh

          Situation: Jira keeps going down with a 503.

          Task: Determine why Jira is going down.

          Note:

          To restart the Jira server:

          * log into the jira host using ssh as user "ec2-user"
          * change to root user (sudo su)
          * change to the "bin" directory, located here: /home/ec2-user/jira/atlassian-jira-software-7.0.11-standalone/bin
          * let the server shut down properly, just in case it is still running, by executing the "stop jira" script: stop-jira.sh

          Note that if the server has crashed, probably there is still a "stale" PID file. If so, when you attempt to stop jira, the script will print that there is a stale PID file.

          * Restart jira by running the "start jira" script: start-jira.sh

          To enable [~nfreese] to carry out the above workflow I did this:

          * Added his public key to the authorized hosts on jira.bioviz.org
          * Modifed the EC2 and its attached security group "jira3" to enable him to restart the the EC2 and also modify its security group
          * Used the IAM policy simulator on AWS to check if his user name can edit the security group, which confirmed that he can do it.

          ann.loraine Ann Loraine made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          ann.loraine Ann Loraine made changes -
          Assignee Ann Loraine [ aloraine ]
          nfreese Nowlan Freese made changes -
          Assignee Nowlan Freese [ nfreese ]
          nfreese Nowlan Freese made changes -
          Sprint Fall 4 2022 Oct 10 [ 156 ] Fall 4 2022 Oct 10, Fall 5 2022 Oct 24 [ 156, 157 ]
          nfreese Nowlan Freese made changes -
          Rank Ranked higher
          nfreese Nowlan Freese made changes -
          Assignee Nowlan Freese [ nfreese ] Ann Loraine [ aloraine ]
          nfreese Nowlan Freese made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          nfreese Nowlan Freese made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          nfreese Nowlan Freese made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          nfreese Nowlan Freese made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          nfreese Nowlan Freese made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          nfreese Nowlan Freese made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          nfreese Nowlan Freese made changes -
          Resolution Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
          ann.loraine Ann Loraine made changes -
          Resolution Done [ 10000 ]
          Status Closed [ 6 ] To-Do [ 10305 ]
          ann.loraine Ann Loraine made changes -
          Sprint Fall 4 2022 Oct 10, Fall 5 2022 Oct 24 [ 156, 157 ] Fall 4 2022 Oct 10, Fall 5 2022 Oct 24, Spring 6 2023 Mar 20 [ 156, 157, 166 ]
          ann.loraine Ann Loraine made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          ann.loraine Ann Loraine made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ann.loraine Ann Loraine made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          ann.loraine Ann Loraine made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          ann.loraine Ann Loraine made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          ann.loraine Ann Loraine made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          ann.loraine Ann Loraine made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          ann.loraine Ann Loraine made changes -
          Resolution Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]

            People

            • Assignee:
              ann.loraine Ann Loraine
              Reporter:
              nfreese Nowlan Freese
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: