Bug 41793 - Wrong redirect to umc instead of system activation after setup finishes (with external browser)
Wrong redirect to umc instead of system activation after setup finishes (with...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Setup wizard
UCS 4.0
Other Linux
: P5 normal (vote)
: UCS 4.1-2-errata
Assigned To: Alexander Kläser
Erik Damrose
:
Depends on:
Blocks: 40006
  Show dependency treegraph
 
Reported: 2016-07-14 13:33 CEST by Alexander Kläser
Modified: 2016-09-29 17:31 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.309
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2016-07-14 13:33:51 CEST
At the moment r63097 leads to an error when redirecting the browser at the end. I realized this using an external browser and switching the IP address from *.130 to *.131 during the setup. The JavaScript code redirects to *.131/univention-management-console?username=Administrator, however, the apache REDIRECT rule had been commented out due to other problems.

AFAIS, this is a blocker.

+++ This bug was initially created as a clone of Bug #39159 +++

Tested with chromium 43.0.2357.130 and firefox 39.0.3 on a UCS 4.0-3 univention-app.

If i upload a license file on the activation page, the loading animation plays and an empty red error box appears. I do not get redirected. Browser stays on 2nd 'step' of the wizard.

system-activation-error.log:
[Wed Aug 12 16:30:18 2015] [notice] Graceful restart requested, doing restart
[Wed Aug 12 16:30:18 2015] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)

The activation seems to work, if i access http://<ucs-ip>/, the ucs-overview is presented.
Comment 1 Alexander Kläser univentionstaff 2016-07-14 15:08:41 CEST
I fixed the behavior by checking whether system activation is installed on a machine. Note that for roles other than DC master, the system activation service will not be enabled as they may only join into a domain with an already activated license.

I added a random query string in order to avoid caching problems which I experienced when redirection with an external browser from *.131/umc... to *.130/ . The last caching problem I did not debug in detail.

univention-system-setup (9.0.4-31):
r71000 | Bug #41793: consider system activation for the redirect at the wizard end

univention-system-setup.yaml:
r71001 | Bug #41793: added entry to YAML file
Comment 2 Erik Damrose univentionstaff 2016-08-02 17:21:50 CEST
OK: redirect after system setup with external browser
OK: yaml
Verified
Comment 3 Janek Walkenhorst univentionstaff 2016-08-03 15:56:55 CEST
<http://errata.software-univention.de/ucs/4.1/234.html>