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

Data sources migration doesn't work #86

Closed
yu-iskw opened this issue Oct 20, 2021 · 3 comments
Closed

Data sources migration doesn't work #86

yu-iskw opened this issue Oct 20, 2021 · 3 comments
Assignees

Comments

@yu-iskw
Copy link

yu-iskw commented Oct 20, 2021

Issue

I executed redash-migrate data_sources to migrate data sources for BigQuery from the hosted redash to the self-hosted redash. In reality, I am able to see the list of data sources on the self-hosted environment. But, the connection tests don't work.

Data-Sources (1)

Data-Sources

It seems that redash-migrate check_data_sources looks good.

$ redash-migrate check_data_sources
You have entered 7 data sources into meta.json. Your source instance contains 7 data sources.

Check complete. OK
Saving meta...

Expected behaviors

The migrated data sources work without re-registering the credentials.

@susodapop
Copy link
Collaborator

Hi @yu-iskw

Expected behaviors: The migrated data sources work without re-registering the credentials.

This is not the expected behavior. The data_sources command only creates stubs of your data sources. You will need to re-enter your auth credentials manually. I will open a PR that makes this clear in the README.

It's not possible to completely migrate the data sources including the credentials because redash-migrate uses the API, and the API never sends credentials in the clear.

@susodapop
Copy link
Collaborator

Closing this issue now. Would appreciate your eyes on #89 before it merges in case more information / clarity is needed.

@yu-iskw
Copy link
Author

yu-iskw commented Oct 21, 2021

@susodapop I understand. And that make sense due to the security. Thank you for updating the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants