Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      0.5
    • Sprint:
      Spring 2019 Sprint 5, Spring 2019 Sprint 6, Summer 2019 Sprint 7, Summer 2019 Sprint 8

      Description

      Now that testappstore.bioviz.org is set up, need to configure apache to only accept https requests

        Attachments

          Activity

          Hide
          ann.loraine Ann Loraine added a comment -

          Dr. Loraine has certificates.

          Show
          ann.loraine Ann Loraine added a comment - Dr. Loraine has certificates.
          Hide
          ann.loraine Ann Loraine added a comment -

          I just reviewed the Google doc for how to set up https. I added some comments and questions. Can you take a look and update the Google doc as needed? Thank you!

          Show
          ann.loraine Ann Loraine added a comment - I just reviewed the Google doc for how to set up https. I added some comments and questions. Can you take a look and update the Google doc as needed? Thank you!
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          [~aloraine]

          I have updated the document with all the changes required, you can find the document below:

          https://docs.google.com/document/d/1_9C03q6TD5wjLqfVLKsuDsIEQ4-qrS0JhONO5VBOwaA/edit?ts=5ce56b5e

          It would be great if I have another EC2 Instance setup for this so that I can do the setup again and test the steps documented.

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - [~aloraine] I have updated the document with all the changes required, you can find the document below: https://docs.google.com/document/d/1_9C03q6TD5wjLqfVLKsuDsIEQ4-qrS0JhONO5VBOwaA/edit?ts=5ce56b5e It would be great if I have another EC2 Instance setup for this so that I can do the setup again and test the steps documented.
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          [~aloraine]

          I was going through the whole setup procedure from the Documentation below and we face some permission issues while we set it up on Prutha Kulkarni Instance.

          I have updated the Document which solves all the permission related issues and Static Content issues[Will Create a JIRA Ticket for this small change]

          Note:
          Issues Not Solved:
          I am facing problem while Rebuilding Indexes which is a Django feature and I'm not sure what is causing the same. I have found out an ugly fix for that but I am not rooting in for that. Maybe Sai Charan Reddy Vallapureddy can help me with that.

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - [~aloraine] I was going through the whole setup procedure from the Documentation below and we face some permission issues while we set it up on Prutha Kulkarni Instance. I have updated the Document which solves all the permission related issues and Static Content issues [Will Create a JIRA Ticket for this small change] Note: Issues Not Solved: I am facing problem while Rebuilding Indexes which is a Django feature and I'm not sure what is causing the same. I have found out an ugly fix for that but I am not rooting in for that. Maybe Sai Charan Reddy Vallapureddy can help me with that.
          Hide
          svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment -

          These steps might help you. Sameer Shanbhag

          rm /var/www/vhosts/appstore/apps/migrations/0001_initial.py
          rm /var/www/vhosts/appstore/download/migrations/0001_initial.py
          rm /var/www/vhosts/appstore/submit_app/migrations/0001_initial.py

          -->Remove content in the database by removing the file

          rm dbsqlite3(make a backup)

          --> load tables and load data

          python manage.py makemigrations
          python manage.py migrate
          python manage.py loaddata appsDB.json
          python manage.py rebuild_index

          --> Give write permissions to the newly created dbsqlite3 file

          sudo su
          chmod 664 /var/www/vhosts/appstore/db.sqlite3
          chown :www-data /var/www/vhosts/appstore/db.sqlite3
          chown :www-data /var/www/vhosts/appstore

          --> Give write permissions to the newly created whoosh_index file

          sudo chown -R www-data:www-data whoosh_index

          --> Restart Apache

          sudo service apache2 restart

          Show
          svallapu Sai Charan Reddy Vallapureddy (Inactive) added a comment - These steps might help you. Sameer Shanbhag rm /var/www/vhosts/appstore/apps/migrations/0001_initial.py rm /var/www/vhosts/appstore/download/migrations/0001_initial.py rm /var/www/vhosts/appstore/submit_app/migrations/0001_initial.py -->Remove content in the database by removing the file rm dbsqlite3(make a backup) --> load tables and load data python manage.py makemigrations python manage.py migrate python manage.py loaddata appsDB.json python manage.py rebuild_index --> Give write permissions to the newly created dbsqlite3 file sudo su chmod 664 /var/www/vhosts/appstore/db.sqlite3 chown :www-data /var/www/vhosts/appstore/db.sqlite3 chown :www-data /var/www/vhosts/appstore --> Give write permissions to the newly created whoosh_index file sudo chown -R www-data:www-data whoosh_index --> Restart Apache sudo service apache2 restart
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          Done that Sai Charan Reddy Vallapureddy was facing a different error while rebuilding indexes. The document is ready for the Final Review.

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - Done that Sai Charan Reddy Vallapureddy was facing a different error while rebuilding indexes. The document is ready for the Final Review.
          Hide
          ann.loraine Ann Loraine added a comment -

          Add a note to google doc regarding change needed for haystack.

          Show
          ann.loraine Ann Loraine added a comment - Add a note to google doc regarding change needed for haystack.
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          Added the Haystack edit Hack to the Document. The Document is ready to be tested.

          https://docs.google.com/document/d/1_9C03q6TD5wjLqfVLKsuDsIEQ4-qrS0JhONO5VBOwaA/edit?ts=5ce56b5e

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - Added the Haystack edit Hack to the Document. The Document is ready to be tested. https://docs.google.com/document/d/1_9C03q6TD5wjLqfVLKsuDsIEQ4-qrS0JhONO5VBOwaA/edit?ts=5ce56b5e
          Hide
          prutha Prutha Kulkarni (Inactive) added a comment -

          The app store is working on https. Functional testing has been done for the same. tested sorting and other functionalities along with submit app flow.
          Everything is working fine.

          Show
          prutha Prutha Kulkarni (Inactive) added a comment - The app store is working on https. Functional testing has been done for the same. tested sorting and other functionalities along with submit app flow. Everything is working fine.

            People

            • Assignee:
              sameer Sameer Shanbhag (Inactive)
              Reporter:
              ann.loraine Ann Loraine
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: