Bug 42095 - There is no module available for the authenticated user __systemsetup__.
There is no module available for the authenticated user __systemsetup__.
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: System setup
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-3-errata
Assigned To: Erik Damrose
Alexander Kläser
:
: 42010 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-08-23 14:19 CEST by Daniel Tröder
Modified: 2016-09-29 17:31 CEST (History)
7 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.091
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2016-08-23 14:19:59 CEST
After installing incl. S4 + updates, using ucs-kt-get on frosta (98) [UCS: 4.1-0 amd64 - generic], after the successful run of system-setup I ended up with a popup "There is no module available for the authenticated user __systemsetup__."

I couldn't do anything in the window anymore except CTRL+W. The system seems to be perfectly installed and fine.
Comment 1 Michael Grandjean univentionstaff 2016-08-24 15:43:46 CEST
Also reported by customer via phone call.
Customer installed with UCS 4.1-3 ISO, "update at end of installation" was checked.
Comment 2 Stefan Gohmann univentionstaff 2016-08-24 15:57:21 CEST
Please have a look.
Comment 3 Erik Damrose univentionstaff 2016-08-25 10:39:33 CEST
This is a regression introduced by http://errata.software-univention.de/ucs/4.1/234.html

The way firefox was closed after system-setup-boot is finished has been changed. Before errata 234, a cleanup script kills the firefox process and the welcome screen shows up. This was changed, so the installation that was started with system-setup-boot < 9.0.4-33.977.201607221051 has the old JS frontend, which just waits to be killed after clicking on finish.

System should be fully useable afterwards, just the firefox process is still running.

(In reply to Michael Grandjean from comment #1)
> Customer installed with UCS 4.1-3 ISO, "update at end of installation" was
> checked.

This had to be another install medium, as the 4.1-3 ISO contains the correct system-setup-boot package
Comment 4 Alexander Kläser univentionstaff 2016-08-25 12:57:26 CEST
AFAIS, there should no reload dialog be displayed... umc.tools.status('ignorePageReload', true) is set in the setup module. If the error occurs, it would be interesting to get the output of umc.tools.status('ignorePageReload'), it should return true as value being set.
Comment 5 Erik Damrose univentionstaff 2016-08-29 11:13:30 CEST
I added a check to the u-s-s-boot postinst, which sets system/setup/boot/legacyfrontend to true, if the package is updated from an old version that will break system setup. If the variable is set, firefox will be stopped "the old way" by killing the process in 95_remove_setup_status_file.

r71983 univention-system-setup 9.0.4-37
r71984 yaml
Comment 6 Erik Damrose univentionstaff 2016-08-31 11:27:00 CEST
r72101 merge to ucs 4.2
Comment 7 Alexander Kläser univentionstaff 2016-08-31 13:30:33 CEST
Changes: OK
Merge to 4.2-0: OK
YAML file: I adapted the entry to be less technical [r72116]
Comment 8 Alexander Kläser univentionstaff 2016-08-31 13:35:30 CEST
(In reply to Alexander Kläser from comment #7)
> Changes: OK
> Merge to 4.2-0: OK
> YAML file: I adapted the entry to be less technical [r72116]

Wrong bug :) ... 

As discussed, this bug needs to be reopened. For 20-30sec the dialog with a hint for reloading the browser page is still visible. Although the browser session is killed afterwards, this is still somewhat irritating.

As discussed, the reason seems to be that the UMC server is restarted. The local firefox browser can login automatically again, however, then it is checked whether the UMC files have been updated. We could create js_$...$ symlinks with older values (read from /var/log/apache2/access.log) via an appliance hook to avoid the message being shown.
Comment 9 Erik Damrose univentionstaff 2016-08-31 16:27:15 CEST
r72135 added appliance-hooks.d/10_add_legacy_systemsetup_javascript_links
r72136 yaml version 9.0.4-39.983.201608311622
r72137 merge to ucs4.2
Comment 10 Erik Damrose univentionstaff 2016-09-01 12:17:42 CEST
r72168: Added plymouth stop call to enable univention-welcome-screen
r72169: yaml
r72170: merge to ucs4.2
Comment 11 Alexander Kläser univentionstaff 2016-09-01 17:51:06 CEST
(In reply to Alexander Kläser from comment #8)
> [...]
> As discussed, this bug needs to be reopened. For 20-30sec the dialog with a
> hint for reloading the browser page is still visible. Although the browser
> session is killed afterwards, this is still somewhat irritating.

This is working fine now, great. I checked it successfully with a 4.1-0 UCS appliance image and with 4.1-3 as well as 4.1-2 installation DVDs. I experienced problems when directly adding the errata-test-repository into /etc/apt/sources.list on the 4.1-0 appliance. However, when adding the repo right at the beginning of the update routine from 4.1-2 to 4.1-3, it worked just fine. The update with an external browser seems fine, too.

Changes: OK
Merge to 4.2-0: OK
YAML file: I adapted the entry to be less technical [r72116]
Comment 12 Alexander Kläser univentionstaff 2016-09-01 17:52:12 CEST
Just to be precise, the reload popup does not occur, the welcome screen is shown properly, and the internal firefox browser is killed.
Comment 13 Alexander Kläser univentionstaff 2016-09-07 14:27:57 CEST
*** Bug 41920 has been marked as a duplicate of this bug. ***
Comment 14 Janek Walkenhorst univentionstaff 2016-09-07 18:41:55 CEST
<http://errata.software-univention.de/ucs/4.1/244.html>
Comment 15 Alexander Kläser univentionstaff 2016-09-21 10:00:38 CEST
*** Bug 42010 has been marked as a duplicate of this bug. ***