目标:我的目标是从超集中导出所有仪表板,以便我可以将它们保存为备份,并确保我可以导入它们。
现有设置:我从 git 克隆超集并用于docker-compose -f docker-compose-non-dev.yml up
设置和运行超集(遵循本文档)
问题:使用 superset CLI:我使用此文档
连接到正在运行 superset 的现有 docker 映像,然后运行它,superset export-dashboards但它会引发以下错误:
Loaded your LOCAL configuration at [/app/docker/pythonpath_dev/superset_config.py]
logging was configured successfully
2021-10-20 06:54:49,727:INFO:superset.utils.logging_configurator:logging was configured successfully
2021-10-20 06:54:49,732:INFO:root:Configured event logger of type <class 'superset.utils.log.DBEventLogger'>
/usr/local/lib/python3.8/site-packages/flask_caching/__init__.py:201: UserWarning: Flask-Caching: CACHE_TYPE is set to null, caching is effectively disabled.
warnings.warn(
Starting export
2021-10-20 06:54:50,962:INFO:superset.utils.dashboard_import_export:Starting export
Traceback (most recent call last):
File "/usr/local/bin/superset", line 33, in <module>
sys.exit(load_entry_point('apache-superset', 'console_scripts', 'superset')()) …Run Code Online (Sandbox Code Playgroud)