Univention Bugzilla – Bug 39048
Redirect to UMC after completing setup wizard is not working
Last modified: 2015-08-06 17:52:51 CEST
I configured an EC2 UCS instance for which I updated all packages before executing the setup wizard. At the last page, when hitting "Continue", the browser hang in the progress animation "Restarting server components". On the JavaScript console, I received the following error: > TypeError: prim.ip4 is undefined > Stack trace: > ._getNewIpAddress@https://.../univention-management-console/js_$20153007063526$/umc/modules/setup.js:338:8 > ._redirectBrowser@https://.../univention-management-console/js_$20153007063526$/umc/modules/setup.js:380:16 > ._renderWizard/</<@https://.../univention-management-console/js_$20153007063526$/umc/modules/setup.js:244:7 > ... When looking at the return values, the in the code requested value for values.interfaces[values['interfaces/primary']] would be: { name: "eth0", interfaceType: "Ethernet", ip4dynamic: true } It seems as if there is a problem with the current JavaScript code.
I have corrected this problem now. IP addresses are also returned if a DHCP setting is configured. AFAIS, this problem should have been around for a while now. @QA: Please verify the behaviour in a dynamic + static network setup and make sure that the additional addresses do not affect the UCR variables that are being set by the setup scripts. univention-system-setup (8.1.69-23): r62538 | Bug #39048: return IP also for DHCP for redirection after setup wizard 2015-07-30-univention-system-setup.yaml: r62539 | Bug #39048: added YAML entry
Merged into 4.1-0. univention-system-setup (9.0.1-1): r62542 | Bug #39048: return IP also for DHCP for redirection after setup wizard
Tested with dhcp and dhcp + static ip, both is working. I found no conflict after install, everything seems fine. Fix: OK YAML: OK
<http://errata.univention.de/ucs/4.0/274.html>