Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This covers common troubleshooting for when the site cannot be reached.

Step-by-step guide

  1. Check the site to see if there is an error message
    1. If there was a deployment recently in Slack, try rolling back the deployment.
    2. If you see an error about SSL certificates go to the SSL section below
    3. If there is no message at all, you may have a firewall error
      1. Go to AWS and check the EC2 page
      2. Select the app box
      3. In the Description tab at the bottom of the page check the Security Groups
        1. It should have CHF-Access-Web (staging) or Public-Access-Web (production)
        2. If it does not, select the box, go to Actions→Networking→Change Security Groups and add the group for a quick fix
        3. Then go to your machine with Ansible and check the variables for the security groups to be automatically applied
          1. The file to check will be app_TIER_override as app's security groups always differ from the other machines
          2. Make sure the box has the Management-Access group and the Temp and internal networking groups for its tier as well as the Access-Web group above
          3. Save edits, commit the changes and push them. This will put them in the automatic updates to avoid the problem in the future
    4. If there is an Apache error follow the rest of the guide
  2. SSH into the app box(es) you wish to check
  3. Check /opt/sufia-project/current/log/production.log for Sufia errors that might explain the problem
  4. If no problems appear there, check /var/log/apache2/error.log or /var/log/apache2/other_vhosts_access.log to find errors or access requests
  5. If the problem appears to be a Passenger error or an Apache error, try a quick sudo service apache2 restart to fix things. Apache restarts also restart Passenger
    1. If Apache does not restart, check the apache error.log for the details

SSL Errors

A SSL error is one of the more likely issues, you should see a notice about the site no longer being trusted. Staging uses Let's Encrypt certificates while Production uses a GoDaddy certificate that IT manages.


 

Filter by label

There are no items with the selected labels at this time.



  • No labels