airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (JIRA)" <>
Subject [jira] [Commented] (AIRAVATA-2581) Manually deploy Django version of dev seagrid
Date Tue, 07 Nov 2017 17:43:00 GMT


Marcus Christie commented on AIRAVATA-2581:

h2. Update code

Updated code to version without the apache.airavata package name for the
generated code.

h2. Invalid HTTP_HOST header: ‘’. You may need to add ‘’

Add this to

    ALLOWED_HOSTS = ['']

Restarting mod_wsgi by touch file.

    [pga@pga-scigap-develop django-airavata-gateway]$ touch django_airavata/ 

h2. OperationalError at /auth/handle_login: attempt to write a readonly database

Making database and directory writeable

    $ pwd
    $ chmod a+w db.sqlite3 
    $ chmod a+w .

The same with SELinux

    # semanage fcontext -a -t httpd_sys_rw_content_t /var/www/portals/django-seagrid/django-airavata-gateway/db.sqlite3

    # restorecon /var/www/portals/django-seagrid/django-airavata-gateway/db.sqlite3
    # semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/portals/django-seagrid/django-airavata-gateway(/.*)?"
    # restorecon -R /var/www/portals/django-seagrid/django-airavata-gateway/

h2. Fixing logout

Added the following VALID REDIRECT URIS to the PGA client at


> Manually deploy Django version of dev seagrid
> ---------------------------------------------
>                 Key: AIRAVATA-2581
>                 URL:
>             Project: Airavata
>          Issue Type: Sub-task
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie

This message was sent by Atlassian JIRA

View raw message