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

End of update #46

Closed
jancelin opened this issue May 26, 2020 · 5 comments
Closed

End of update #46

jancelin opened this issue May 26, 2020 · 5 comments
Labels
enhancement New feature or request

Comments

@jancelin
Copy link
Contributor

know when the update is finished

image

@Stefal
Copy link
Owner

Stefal commented May 26, 2020

I think it's not possible. An update restart the web server so the connexion is lost.
But i could add a hard-coded countdown and force a refresh.

@Stefal Stefal added the enhancement New feature or request label May 26, 2020
@jancelin
Copy link
Contributor Author

A idea :

  • Monitor the download of the new version.
  • When the download is finished wait a defined time (estimate deployment time)
  • Notify the user and suggest a page reload.

@jancelin
Copy link
Contributor Author

Another:

  • Update bouton open another web service on port 5050
  • Validated update
  • Monitoring download
  • Monitoring install
  • Display finish update
  • Return to :80 with reload.

@Stefal
Copy link
Owner

Stefal commented Jan 12, 2021

I should read this in details, it could help: socketio/socket.io#2476

@Stefal
Copy link
Owner

Stefal commented May 14, 2021

Contrary to what I was thinking, after a rtkbase reboot, the client (firefox in my case) seems to receive the informations from the socket. So I should be able to add some code to refresh the page.

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

No branches or pull requests

2 participants