Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds default username and password created at installation to documen… #9263

Merged

Conversation

willbarrett
Copy link
Member

…tation

CATEGORY

Choose one

  • Bug Fix
  • Enhancement (new features, refinement)
  • Refactor
  • Add tests
  • Build / Development Environment
  • Documentation

SUMMARY

Adds missing information to the install documentation, as raised by #7336

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

  • Has associated issue:
  • Changes UI
  • Requires DB Migration.
  • Confirm DB Migration upgrade and downgrade tested.
  • Introduces new feature or API
  • Removes existing feature or API

REVIEWERS

@craig-rueda

@codecov-io
Copy link

Codecov Report

Merging #9263 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff           @@
##           master   #9263   +/-   ##
======================================
  Coverage    58.9%   58.9%           
======================================
  Files         373     373           
  Lines       12026   12026           
  Branches     2953    2953           
======================================
  Hits         7084    7084           
  Misses       4763    4763           
  Partials      179     179

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8a5b898...ee23476. Read the comment docs.

@villebro villebro merged commit 9924222 into apache:master Mar 10, 2020
@toshovski
Copy link

toshovski commented Mar 14, 2020

Today I cloned the master, executed docker-compose up, but I'm not able to login with admin/admin credentials as described in the documentation.

Also the docker-init script returns an error:

Caching: CACHE_TYPE is set to null, "
Recognized Database Authentications.
ERROR:flask_appbuilder.security.sqla.manager:Error adding new user to database. (psycopg2.ProgrammingError) relation "ab_user_role" does not exist
LINE 1: INSERT INTO ab_user_role (id, user_id, role_id) VALUES (next...
^

[SQL: INSERT INTO ab_user_role (id, user_id, role_id) VALUES (nextval('ab_user_role_id_seq'), %(user_id)s, %(role_id)s) RETURNING ab_user_role.id]
[parameters: {'user_id': 12, 'role_id': 1}]
(Background on this error at: http://sqlalche.me/e/f405)
No user created an error occured

@willbarrett
Copy link
Member Author

@toshovski that is not surprising given the error you posted. Please try recreating the containers and volumes from scratch. If that fails, open an issue and we can help you debug further.

@toshovski
Copy link

yes, this fixed the issue. I stopped everything and cleaned all unused resources. Then it worked.

@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.36.0 labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/XS 🚢 0.36.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants