Univention Bugzilla – Bug 44865
Portal is empty on unjoined system
Last modified: 2017-06-28 15:33:42 CEST
This bug was probably introduced in UCS4.2 . When I create a slave, but don't join during the setup I cannot join the domain via the UMC. I can't login as the Administrator. I can't get to the "Domain join"-module as root, since the root is redirected to the empty portal after login.
One attendee of the technical training last week hit this, too. Joining after the initial setup via the UMC is not possible for Backup/Slave/Member because of the portal redirection. Workaround is to SSH into the box and run "univention-join" on the commandline.
The problem was that /usr/share/univention-portal/portal.join did not exists yet (it gets written by a listener after the join). I added a default portal in /usr/share/univention-portal/portal-unjoined.join and copy it in the postinst to /usr/share/univention-portal/portal.join, if the file does not exist yet. Therefore the file is not associated with any package and doesn't get overridden on updates. Previously existing portals aren't touched. univention-portal.yaml: r80508 | YAML Bug #44865 univention-portal (1.0.12-3): r80507 | Bug #44865: Add default portal entries on unjoined systems
I can now get to the UMC via the Portal page, when logging in as root. -> Verified
<http://errata.software-univention.de/ucs/4.2/65.html>