question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

superset upgrade failed from v0.27 to v0.35

See original GitHub issue

Hi :

I upgraded my software according to the manual, from v0.27 to v0.35. After upgrading, I found that the Sources was not available, but the Security and manage were OK. The error message as follows:

ERROR: {"error": "Connection failed!\n\nThe error message returned was:\n(sqlite3.OperationalError) no such column: dbs.allow_run_sync [SQL: 'SELECT dbs.created_on AS dbs_created_on, dbs.changed_on AS dbs_changed_on, dbs.id AS dbs_id, dbs.verbose_name AS dbs_verbose_name, dbs.database_name AS dbs_database_name, dbs.sqlalchemy_uri AS dbs_sqlalchemy_uri, dbs.password AS dbs_password, dbs.cache_timeout AS dbs_cache_timeout, dbs.select_as_create_table_as AS dbs_select_as_create_table_as, dbs.expose_in_sqllab AS dbs_expose_in_sqllab, dbs.allow_run_sync AS dbs_allow_run_sync, dbs.allow_run_async AS dbs_allow_run_async, dbs.allow_ctas AS dbs_allow_ctas, dbs.allow_dml AS dbs_allow_dml, dbs.force_ctas_schema AS dbs_force_ctas_schema, dbs.allow_multi_schema_metadata_fetch AS dbs_allow_multi_schema_metadata_fetch, dbs.extra AS dbs_extra, dbs.perm AS dbs_perm, dbs.impersonate_user AS dbs_impersonate_user, dbs.created_by_fk AS dbs_created_by_fk, dbs.changed_by_fk AS dbs_changed_by_fk \\nFROM dbs \\nWHERE dbs.database_name = ?\\n LIMIT ? OFFSET ?'] [parameters: ('kylin', 1, 0)] (Background on this error at: http://sqlalche.me/e/e3q8)"}

some body please help me,thanks!

Screenshots

image

Environment

  • superset version: 0.35.2
  • python version: 3.6.4
  • flask version: 1.1.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
zhaoyongjiecommented, Mar 20, 2020

@jsynl What database are you using? Superset will use SQLite as the database by default. If there is no special config, it will be saved in

~ / .superset / superset.db

If you need to reinstall and there is no important data, you can try removing superset.db

0reactions
stale[bot]commented, May 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

superset upgrade failed from v0.27 to v0.35 #9204 - GitHub
27 to v0.35. After upgrading, I found that the Sources was not available, but the Security and manage were OK. The error message...
Read more >
Upgrading Superset
Updating Superset Manually​. To upgrade superset in a native installation, run the following commands: pip install apache-superset ...
Read more >
airbnb/superset - Gitter
i am using hdp 3.0 my cluster is kerberized , configured superset ,here iam unable to integrate with hive , iam facting this...
Read more >
Updating Superset
Updating Superset. This file documents any backwards-incompatible changes in Superset and assists people when migrating to a new version.
Read more >
NG.133 Cloud Infrastructure Reference Architecture managed ...
GSMA in accordance with the provisions set out in GSMA AA.35 ... 27. 2.2.6. Cloud Infrastructure Security Requirements ... at least 320.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found