Univention Bugzilla – Bug 39974
Appliance mode: Reload popup after clicking on finish
Last modified: 2015-12-09 16:47:56 CET
Created attachment 7303 [details]
In Appliance mode: After clicking on finish, the cleanup_pre scripts are executed - the last step is to restart umc-server and -web-server.
The cleanup_post scripts now do the rest, like stopping the browser and rebooting the system.
If the cleanup_post step takes more than ~10 seconds, a popup shows up in firefox, see screenshot.
It does not matter if you click it or not, as after some time a script will stop firefox and system setup is completed. However, this is not a very nice user experience.
The listener and notifier restart took to long and caused the popup
Also happened in EC2. I did not click on the Reload button and was redirected to the UMC login page after a short time. It is unclear what happens if Reload is clicked...
This wouldn't have happened if we used the suggested patch at Bug 38455 comment 2 ^^.
The patch is easy: add this in ApplianceWizard.js: tools.status('ignorePageReload', true)
I will apply this patch next week when Jürn is back.
diff --git a/base/univention-system-setup/umc/js/setup/ApplianceWizard.js b/base/univention-system-setup/umc/js/setup/ApplianceWizard.js
index 2a40361..82f97b1 100644
@@ -2047,6 +2047,9 @@ define([
// being adjusted in 40_ssl/10ssl (cf., Bug #38455)
+ // make sure no page reload is requested
+ tools.status('ignorePageReload', true);
// send save command to server
this._progressBar.reset(_('Initialize the configuration process ...'));
It would be more robust to wait explicitly for the UMC restart with actively checking the UMC connection (we do this when rebooting a system).
r65852 | Bug #39974: don't display reload pop up on success page
r65853 | YAML Bug #39974 Bug #39156