-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
Unable to import a Dashboard from a dockerized Superset v 2.1.0 deployment to another (same version) #26130
Comments
Any updates? I am facing this issue as well |
Hi @nayanmshah, |
Any updates on that. I'm currently facing the same issue. |
If the superset installation from which you exported was a docker-container
installation, the one where you import it also needs to be a
docker-container installation and (not locally installed superset). That
solved my issue. Also have the database secret be the same as the original
one. I just made it identical just to make sure that it was not the reason
for failure.
Thanks,
NS.
…On Wed, Jan 31, 2024 at 10:45 AM Gonzalo Ramos Farinho < ***@***.***> wrote:
Hi @nayanmshah <https://github.com/nayanmshah>, I have no updates from my
side. My intention is to try exporting/importing dashboards between two
production deployments from simple to more and more complex until discover
when it crashes to try catching the problem.... Have you better ideas...?
Any updates on that. I'm currently facing the same issue.
—
Reply to this email directly, view it on GitHub
<#26130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEFVINC6WWOTMAHNMYXDS7DYRKGNJAVCNFSM6AAAAAA77MBQ4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJZG4ZDAMJVHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Just to make sure, is VERSIONED_EXPORT turned on in both instances? |
Thanks @nayanmshah , both installations (from which I'm exporting and from which I'm exporting) are dockerized. |
No, that flag is not turned on in the instances. I'm checking it and let you now. Thanks @rusackas . |
Hi @rusackas : superset_app log: 2024-02-14 09:36:57,953:INFO:superset.dashboards.commands.importers.dispatcher:Command failed validation
CommandException
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1517, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/site-packages/flask/app.py", line 1503, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/usr/local/lib/python3.8/site-packages/flask_appbuilder/security/decorators.py", line 95, in wraps
return f(self, *args, **kwargs)
File "/app/superset/views/base_api.py", line 122, in wraps
raise ex
File "/app/superset/views/base_api.py", line 113, in wraps
duration, response = time_function(f, self, *args, **kwargs)
File "/app/superset/utils/core.py", line 1586, in time_function
response = func(*args, **kwargs)
File "/app/superset/utils/log.py", line 266, in wrapper
value = f(*args, **kwargs)
File "/app/superset/views/base_api.py", line 100, in wraps
return f(self, *args, **kwargs)
File "/app/superset/dashboards/api.py", line 1060, in import_
command.run()
File "/app/superset/dashboards/commands/importers/dispatcher.py", line 64, in run
raise exc
File "/app/superset/dashboards/commands/importers/dispatcher.py", line 57, in run
command.run()
File "/app/superset/commands/importers/v1/__init__.py", line 64, in run
self.validate()
File "/app/superset/commands/importers/v1/__init__.py", line 98, in validate
raise exception
superset.commands.exceptions.CommandInvalidError: Error importing dashboard No errros on superset_db logs. Is there any other log I should check? |
Not sure about where to dig in the logs (@betodealmeida might know). While we ought to find a way to resolve this, we can't do much digging as we don't support Superset 2.x any more. There's also a CLI tool that might help as well. |
Understood. |
OK, well... good luck and let us know if we can help. Closing for now, but happy to revisit or reopen if/when needed. |
Thanks a lot for your time and this amazing app!!
15 feb 2024, 18:14 por ***@***.***:
…
OK, well... good luck and let us know if we can help. Closing for now, but happy to revisit or reopen if/when needed.
—
Reply to this email directly, > view it on GitHub <#26130 (comment)>> , or > unsubscribe <https://github.com/notifications/unsubscribe-auth/BDST7Z5BDZFDN63LODWYBIDYTY67FAVCNFSM6AAAAAA77MBQ4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWGYZTOMZTGU>> .
You are receiving this because you authored the thread.> Message ID: > <apache/superset/issues/26130/1946637335> @> github> .> com>
|
Hi All,
|
Thanks for the trick!!!! Expand all the fields of the HTTP response JSON is the key ;) |
On Superset v 2.1.0, I can't import a finished dashboard exported from an existing deployment on Superset v 2.1.0.
How to reproduce the bug
Expected results
Importing dashboards from a installation of Superset to another of same version (2.1.0 in this case) should work properly.
Actual results
The import fails
Screenshots
Environment
Mozilla Firefox 115.5.0esr (64-bit)
24.0.4
23.0.1
Docker Compose version v2.19.1
2.1.0
Python 3.8.16
16.9.1
- FEATURE_FLAGS
Checklist
Make sure to follow these steps before submitting your issue - thank you!
v2 .1.0
for production)Additional context
Docker containers:
python stacktraces
The text was updated successfully, but these errors were encountered: