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

Upgrade from 0.8.1 to 0.9.1 from file isn't working #1196

Closed
erik78se opened this issue Dec 9, 2021 · 7 comments · Fixed by #1197
Closed

Upgrade from 0.8.1 to 0.9.1 from file isn't working #1196

erik78se opened this issue Dec 9, 2021 · 7 comments · Fixed by #1197
Assignees
Labels

Comments

@erik78se
Copy link

erik78se commented Dec 9, 2021

I upgraded a controller juju-dashboard from 0.8.1 -> 0.9.1

$ juju upgrade-dashboard ./juju-dashboard-0.9.1.tar.bz2
Juju Dashboard switched to version 0.9.1

But the juju dashboard is just blank white. No error message. White page. Nothing.

Switching back, with

juju upgade-dashboard

makes 0.8.1 come back and it works again.

The release doesn't work?

controller-model-version: 2.9.18
client version: 2.9.21-ubuntu-amd64

@hatched
Copy link
Contributor

hatched commented Dec 9, 2021

Thanks for filing this issue, I'll investigate. While I do that would you be able to clear your browser cache after doing the update (or try another browser) just to rule that out.

@erik78se
Copy link
Author

erik78se commented Dec 9, 2021

I opened up a new "private window" in firefox and tried again. No effect. Same blank page,

@hatched
Copy link
Contributor

hatched commented Dec 9, 2021

Thanks, I'm digging into it now.

@hatched
Copy link
Contributor

hatched commented Dec 9, 2021

@erik78se You should be good to go with 0.9.2 now, sorry about that.

The upgrade-dashboard command is pulling from streams which I haven't yet updated (which is why it gets you 0.8.1). If this release works well for you then I'll push this up to streams.

@erik78se
Copy link
Author

erik78se commented Dec 9, 2021

I've tried the 0.9.2 version and it seems to work now.

However, when I run "run-action" from the GUI, the output seems limited to the "message" somehow.

Would you consider showing more of the data bag returned from the action or is it deliberately not showing the full action output? This seems fairly arbitrary and less of an experience from someone using the GUI imo.

@hatched
Copy link
Contributor

hatched commented Dec 9, 2021

Yes this is a limitation of the current implementation, the full design actually has all the various outputs available (even for download) We won't be able to start on this full implementation for a number of months yet though.

Here is a mockup:
III  Action logs - Default view

@erik78se
Copy link
Author

erik78se commented Dec 9, 2021

What should I set to show a string now then? I use this for now, but I don't get anything

        event.set_results(results={'session-key': key})

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

Successfully merging a pull request may close this issue.

2 participants