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

[Rockon] When Rockon requires no environment variables, summary screen is not shown before installation #2934

Closed
Hooverdan96 opened this issue Dec 10, 2024 · 6 comments

Comments

@Hooverdan96
Copy link
Member

During test installations of a submitted Rockon (and observed but ignored before), the symptom appears that if he "last" screen to configure is not the environment variables screen in the configuration wizard, no summary page is shown at all.

For example (for the adguard-home Rockon):
When reaching the ports screen:
image

and then select Next, the expected behavior would be the summary page (as no environment variables need to be defined). Instead, nothing happens. When pressing the Next button a second time, the installation is immediately initiated, instead of showing the summary screen:
image

Once the installation is complete/successful, the summary page can still be viewed the normal way.
image

Note: I don't think this is a high priority issue to be addressed, since, aside from the pending adguard-home Rockon, I don't believe we currently have any other Rockons with that configuration, but wanted to report it regardless.

@FroggyFlox
Copy link
Member

Nice find, @Hooverdan96 !

To be honest, I'm surprised we haven't encountered something like that sooner as I've always found the way the page counter for the rock on install wizard a bit fragile. My best guess is something that has not accounted for missing "objects" (devices, ports, env,...) in the corresponding view:

RockonInstallWizardView = WizardView.extend({

By curiosity, what error do you see in the browser developer console when clicking the "Next" button the first time (when nothing happens)?

@Hooverdan96
Copy link
Member Author

I'll try that again and check. I'll get back to you

@Hooverdan96
Copy link
Member Author

Uncaught TypeError: Cannot convert undefined or null to object           https://<Rockstor address>/static/storageadmin/js/storageadmin.js
    at Function.entries (<anonymous>)
    at child.render (storageadmin.js:13951:58)
    at child.renderCurrentPage (storageadmin.js:665:54)
    at child.incrementPage (storageadmin.js:643:18)
    at Object.<anonymous> (storageadmin.js:624:19)
    at c (jquery-1.9.1.min.js:3:7857)
    at Object.add [as done] (jquery-1.9.1.min.js:3:8167)
    at child.nextPage (storageadmin.js:623:17)
    at HTMLDivElement.dispatch (jquery-1.9.1.min.js:3:28337)
    at v.handle (jquery-1.9.1.min.js:3:25042)

@phillxnet
Copy link
Member

@Hooverdan96 is this not a duplicate of:

Or at least this may have narrowed down the/a possible cause.

@Hooverdan96
Copy link
Member Author

I think you are correct, since the OpenVPN has a similar setup with no environment variables surfaced for user interaction. I will close this one and we can keep the original Issue open.

@Hooverdan96
Copy link
Member Author

Added comment to #2913, closing this issue.

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

No branches or pull requests

3 participants