You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/06/04 08:37:17 UTC

[GitHub] [incubator-superset] SamuelMarks edited a comment on issue #7637: Unable to login to new server?

SamuelMarks edited a comment on issue #7637: Unable to login to new server?
URL: https://github.com/apache/incubator-superset/issues/7637#issuecomment-498577177
 
 
   Okay, so I've removed the previous env var; upgrade extracted the relevant env from Circus; updated to f99ae1ad247298c8b8df3721768f69b13152aef0
   
   Wrote this little shell script to do this:
   
   ```bash
   #!/usr/bin/env bash
   
   declare desired_env="${DESIRED_ENV:-'superset'}";
   declare -i in_desired_env=0;
   
   while read -r line; do
     if [[ "${line:0:5}" =~ '[env:'  ]]; then
       [[ "$line" =~ "$desired_env"  ]]; in_desired_env=$?;
     else
       if [ "$in_desired_env" = 1 ]; then
         echo "$line";
       fi
     fi
   done</etc/circus/conf.d/circus.ini
   ```
   
   ```bash
   $ while read -r line; do
     [[ "${line:0:5}" =~ 'SHELL' || "${line:0:4}" =~ 'TERM' || "${line:0:4}" =~ 'HOME' ]] || export "$line";
   done< <( ~/repos/a.bash)
   ```
   
   Went through all the steps of https://apache-superset.readthedocs.io/en/latest/installation.html#superset-installation-and-initialization
   
   Still left with the same login screen as before, no progress.
   
   ---
   ```
   $ pip freeze
   alembic==1.0.0
   amqp==2.3.2
   apache-superset==0.999.0.dev0
   apispec==1.2.0
   asn1crypto==0.24.0
   attrs==19.1.0
   Babel==2.6.0
   billiard==3.5.0.4
   bleach==3.0.2
   celery==4.2.0
   certifi==2018.8.24
   cffi==1.11.5
   chardet==3.0.4
   click==6.7
   colorama==0.3.9
   contextlib2==0.5.5
   croniter==0.3.29
   cryptography==2.4.2
   decorator==4.3.0
   defusedxml==0.5.0
   Flask==1.0.2
   Flask-AppBuilder==2.0.0
   Flask-Babel==0.11.1
   Flask-Caching==1.4.0
   Flask-Compress==1.4.0
   Flask-JWT-Extended==3.18.1
   Flask-Login==0.4.1
   Flask-Migrate==2.1.1
   Flask-OpenID==1.2.5
   Flask-SQLAlchemy==2.3.2
   flask-talisman==0.6.0
   Flask-WTF==0.14.2
   geopy==1.11.0
   gunicorn==19.8.0
   humanize==0.5.1
   idna==2.6
   isodate==0.6.0
   itsdangerous==0.24
   Jinja2==2.10.1
   jsonschema==3.0.1
   kombu==4.2.1
   Mako==1.0.7
   Markdown==3.0
   MarkupSafe==1.0
   marshmallow==2.19.2
   marshmallow-enum==1.4.1
   marshmallow-sqlalchemy==0.16.2
   numpy==1.15.2
   pandas==0.23.4
   parsedatetime==2.0
   pathlib2==2.3.0
   pkg-resources==0.0.0
   polyline==1.3.2
   prison==0.1.0
   py==1.7.0
   pycparser==2.19
   pydruid==0.5.3
   PyJWT==1.7.1
   pyrsistent==0.14.11
   python-dateutil==2.6.1
   python-dotenv==0.10.1
   python-editor==1.0.3
   python-geohash==0.8.5
   python3-openid==3.1.0
   pytz==2018.5
   PyYAML==5.1
   requests==2.22.0
   retry==0.9.2
   selenium==3.141.0
   simplejson==3.15.0
   six==1.11.0
   SQLAlchemy==1.3.1
   SQLAlchemy-Utils==0.33.11
   sqlparse==0.2.4
   urllib3==1.24.3
   vine==1.1.4
   webencodings==0.5.1
   Werkzeug==0.14.1
   WTForms==2.2.1
   WTForms-JSON==0.3.
   ```
   
   ```
   => SELECT relname,n_live_tup FROM pg_stat_user_tables ORDER BY n_live_tup DESC;
            relname         | n_live_tup 
   -------------------------+------------
    ab_role                 |          2
    ab_user_role            |          0
    ab_permission_view_role |          0
    ab_user                 |          0
    ab_permission           |          0
    ab_register_user        |          0
    ab_view_menu            |          0
    ab_permission_view      |          0
   (8 rows)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org