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 2020/03/09 10:30:07 UTC

[GitHub] [incubator-superset] srikark16 opened a new issue #9260: Migrating Superset from version 0.22.1 to version 0.35.0

srikark16 opened a new issue #9260: Migrating Superset from version  0.22.1 to version 0.35.0
URL: https://github.com/apache/incubator-superset/issues/9260
 
 
   We are currently running on superset 0.22.1 with python 2.7 on Ubuntu 16.04 LTS.
   We are planning to upgrade superset to 0.35.0 version with python 3.6.9 on Ubuntu 18.04.3 LTS.
   Can you kindly let us know whether we can use old superset 0.22.1 dashboards after upgrading to superset 0.35.0 ?
   OR
   Should we build all the superset dashboards from scratch after upgrading to 0.35.0 version ? 
   
   ### Environment
   
   - OS: Ubuntu 16.04 LTS
   - superset version:  0.22.1
   - python version:  2.7
   
   

----------------------------------------------------------------
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


[GitHub] [incubator-superset] willbarrett commented on issue #9260: Migrating Superset from version 0.22.1 to version 0.35.0

Posted by GitBox <gi...@apache.org>.
willbarrett commented on issue #9260: Migrating Superset from version  0.22.1 to version 0.35.0
URL: https://github.com/apache/incubator-superset/issues/9260#issuecomment-596643659
 
 
   Hi @srikark16, thanks for the question! 0.22.1 is certainly an older version at this point. I can't tell you with certainty that everything will work. Superset is pre-1.0 so breaking changes are not out of the question at this point.
   
   My recommendation for an upgrade that substantial would be to duplicate Superset's metadata database, set up a new install of Superset configured to point at the copy, and perform the upgrade on that. You'll then be able to check on your charts and dashboards in the new version to determine the best approach for your organization. I hope that's helpful!

----------------------------------------------------------------
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


[GitHub] [incubator-superset] WenQiangW commented on issue #9260: Migrating Superset from version 0.22.1 to version 0.35.0

Posted by GitBox <gi...@apache.org>.
WenQiangW commented on issue #9260: Migrating Superset from version  0.22.1 to version 0.35.0
URL: https://github.com/apache/incubator-superset/issues/9260#issuecomment-600026866
 
 
   @srikark16 @willbarrett  Hi,  How do I upgrade? Now, I want Migrate Superset from version 0.30.1 to version 0.35.0,  I backed up the Database , use 0.35.0 connect copy database,  then commnd:superset db upgrade,  the error :ERROR [root] Error: Can't locate revision identified by 'e96dbf2cfef0'

----------------------------------------------------------------
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


[GitHub] [incubator-superset] srikark16 closed issue #9260: Migrating Superset from version 0.22.1 to version 0.35.0

Posted by GitBox <gi...@apache.org>.
srikark16 closed issue #9260: Migrating Superset from version  0.22.1 to version 0.35.0
URL: https://github.com/apache/incubator-superset/issues/9260
 
 
   

----------------------------------------------------------------
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


[GitHub] [incubator-superset] sazary commented on issue #9260: Migrating Superset from version 0.22.1 to version 0.35.0

Posted by GitBox <gi...@apache.org>.
sazary commented on issue #9260: Migrating Superset from version  0.22.1 to version 0.35.0
URL: https://github.com/apache/incubator-superset/issues/9260#issuecomment-605625295
 
 
   same happening here. what can i do?

----------------------------------------------------------------
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


[GitHub] [incubator-superset] srikark16 commented on issue #9260: Migrating Superset from version 0.22.1 to version 0.35.0

Posted by GitBox <gi...@apache.org>.
srikark16 commented on issue #9260: Migrating Superset from version  0.22.1 to version 0.35.0
URL: https://github.com/apache/incubator-superset/issues/9260#issuecomment-596919124
 
 
   Thank you @willbarrett 

----------------------------------------------------------------
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


[GitHub] [incubator-superset] sazary edited a comment on issue #9260: Migrating Superset from version 0.22.1 to version 0.35.0

Posted by GitBox <gi...@apache.org>.
sazary edited a comment on issue #9260: Migrating Superset from version  0.22.1 to version 0.35.0
URL: https://github.com/apache/incubator-superset/issues/9260#issuecomment-605627212
 
 
   current revision:
   
   ```
   superset=> select * from alembic_version
   superset-> ;
    version_num
   --------------
    f959a6652acd
   (1 row)
   ```
   
   I can confirm that the `e96dbf2cfef0` revision doesn't exist:
   
   ```
   (superset) superset@caravel:~$ ls /home/superset/.env/superset/lib/python3.6/site-packages/superset/migrations/versions/
   0b1f1ab473c0_add_extra_column_to_query.py                         45e7da7cfeba_.py                                          a2d606a761d9_adding_favstar_model.py                             d6db5a5cdb5d_.py
   0c5070e96b57_add_user_attributes_table.py                         46ba6aaaac97_.py                                          a33a03f16c4a_add_extra_column_to_savedquery.py                   d6ffdf31bdd4_add_published_column_to_dashboards.py
   11c737c17cc6_deprecate_restricted_metrics.py                      46f444d8b9b7_remove_coordinator_from_druid_cluster_.py    a61b40f9f57f_remove_allow_run_sync.py                            d7c1a0d6f2da_remove_limit_used_from_query_model.py
   1226819ee0e3_fix_wrong_constraint_on_table_columns.py             472d2f73dfd4_.py                                          a65458420354_add_result_backend_time_logging.py                  d827694c7555_css_templates.py
   1296d28ec131_druid_exports.py                                     4736ec66ce19_.py                                          a6c18f869a4e_query_start_running_time.py                         d8bc074f7aad_add_new_field_is_restricted_to_.py
   12d55656cbca_is_featured.py                                       4ce8df208545_migrate_time_range_for_default_filters.py    a99f2f7c195a_rewriting_url_from_shortner_with_new_.py            d94d33dbe938_form_strip.py
   130915240929_is_sqllab_viz_flow.py                                4e6a06bad7a8_init.py                                      a9c47e2c1547_add_impersonate_user_to_dbs.py                      db0c65b146bd_update_slice_model_json.py
   1495eb914ad3_time_range.py                                        4fa88fe24e94_owners_many_to_many.py                       ab3d66c4246e_add_cache_timeout_to_druid_cluster.py               db527d8c4c78_add_db_verbose_name.py
   18dc26817ad2_.py                                                  525c854f0005_log_this_plus.py                             ab8c66efdd01_resample.py                                         ddd6ebdd853b_annotations.py
   18e88e1cc004_making_audit_nullable.py                             55179c7f25c7_sqla_descr.py                                ad4d656d92bc_add_avg_metric.py                                   de021a1ca60d_.py
   190188938582_adding_unique_constraint_on_dashboard_slices_tbl.py  55e910a74826_add_metadata_column_to_annotation_model_.py  ad82a75afd82_add_query_model.py                                  def97f26fdfb_add_index_to_tagged_object.py
   19a814813610_adding_metric_warning_text.py                        5a7bad26f2a7_.py                                          afb7730f6a9c_remove_empty_filters.py                             e3970889f38e_.py
   1a1d627ebd8e_position_json.py                                     5ccf602336a0_.py                                          afc69274c25a_alter_sql_column_data_type_in_query_mysql_table.py  e46f2d27a08e_materialize_perms.py
   1a48a5411020_adding_slug_to_dash.py                               5e4a03ef0bf0_add_request_access_model.py                  b318dfe5fb6c_adding_verbose_name_to_druid_column.py              e502db2af7be_add_template_params_to_tables.py
   1d2ddd543133_log_dt.py                                            6414e83d82b7_.py                                          b347b202819b_.py                                                 e553e78e90c5_add_druid_auth_py_py.py
   1d9e835a84f9_.py                                                  65903709c321_allow_dml.py                                 b4456560d4f3_change_table_unique_constraint.py                   e68c4473c581_allow_multi_schema_metadata_fetch.py
   1e2841a4128_.py                                                   67a6ac9b727b_update_spatial_params.py                     b46fa1b0b39e_add_params_to_tables.py                             e866bd2d4976_smaller_grid.py
   21e88bc06c02_annotation_migration.py                              6c7537a6004a_models_for_email_reports.py                  b4a38aa87893_deprecate_database_expression.py                    e9df189e5c7e_update_base_metrics.py
   258b5280a45e_form_strip_leading_and_trailing_whitespace.py        705732c70154_.py                                          b6fa807eac07_make_names_non_nullable.py                          ea033256294a_.py
   2591d77e9831_user_id.py                                           732f1c06bcbf_add_fetch_values_predicate.py                bb51420eaf83_add_schema_to_table_model.py                        ec1f88a35cc6_.py
   27ae655e4247_make_creator_owners.py                               7467e77870e4_remove_aggs.py                               bcf3126872fc_add_keyvalue.py                                     eca4694defa7_sqllab_setting_defaults.py
   289ce07647b_add_encrypted_password_field.py                       763d4b211ec9_fixing_audit_fk.py                           bddc498dd179_adhoc_filters.py                                    ef8843b41dac_.py
   2929af7925ed_tz_offsets_in_data_sources.py                        7dbf98566af7_slice_description.py                         bebcf3fed1fe_convert_dashboard_v1_positions.py                   f0fbf6129e13_adding_verbose_name_to_tablecolumn.py
   2fcdcb35e487_saved_queries.py                                     7e3ddad2a00b_results_key_to_query.py                      bf706ae5eb46_cal_heatmap_metric_to_metrics.py                    f162a1dea4c4_d3format_by_metric.py
   30bb17c0dc76_.py                                                  7f2635b51f5d_update_base_columns.py                       c18bd4186f15_.py                                                 f18570e03440_add_query_result_key_index.py
   315b3f4da9b0_adding_log_model.py                                  7fcdcde0761c_.py                                          c3a8f8611885_materializing_permission.py                         f1f2d4af5b90_.py
   33d996bcc382_update_slice_model.py                                80a67c5192fa_single_pie_chart_metric.py                   c5756bec8b47_time_grain_sqla.py                                  f231d82b9b26_.py
   3b626e2a6783_sync_db_with_models.py                               80aa3f04bc82_add_parent_ids_in_dashboard_layout.py        c611f2b591b8_dim_spec.py                                         f959a6652acd_.py
   3c3ffe173e4f_add_sql_string_to_table.py                           836c0bf75904_cache_timeouts.py                            c617da68de7d_form_nullable.py                                    fb13d49b72f9_better_filters.py
   3dda56f1c4c6_migrate_num_period_compare_and_period_.py            867bf4f117f9_adding_extra_field_to_database_model.py      c829ff0b37d0_.py                                                 fbd55e0f83eb_.py
   3e1b21cd94a4_change_owner_to_m2m_relation_on_.py                  8b70aa3d0f87_.py                                          c82ee8a39623_add_implicit_tags.py                                fc480c87706c_.py
   41f6a59a61f2_database_options_for_sql_lab.py                      8e80a26a31db_.py                                          c9495751e314_.py                                                 fee7b758c130_.py
   430039611635_log_more.py                                          937d04c16b64_update_datasources.py                        ca69c70ec99b_tracking_url.py                                     __pycache__
   43df8de3a5f4_dash_json.py                                         956a063c52b3_adjusting_key_length.py                      cefabc8f7d38_increase_size_of_name_column_in_ab_view_.py
   4451805bbaa1_remove_double_percents.py                            960c69cb1f5b_.py                                          d2424a248d63_.py
   4500485bde7d_allow_run_sync_async.py                              979c03af3341_.py                                          d39b1e37131d_.py
   ```

----------------------------------------------------------------
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


[GitHub] [incubator-superset] sazary commented on issue #9260: Migrating Superset from version 0.22.1 to version 0.35.0

Posted by GitBox <gi...@apache.org>.
sazary commented on issue #9260: Migrating Superset from version  0.22.1 to version 0.35.0
URL: https://github.com/apache/incubator-superset/issues/9260#issuecomment-605627212
 
 
   current revision:
   
   ```
   superset=> select * from alembic_version
   superset-> ;
    version_num
   --------------
    f959a6652acd
   (1 row)
   ```

----------------------------------------------------------------
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