Univention Bugzilla – Bug 41793
Wrong redirect to umc instead of system activation after setup finishes (with external browser)
Last modified: 2016-09-29 17:31:25 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.
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
OK: redirect after system setup with external browser OK: yaml Verified
<http://errata.software-univention.de/ucs/4.1/234.html>