Bug 44865

Summary: Portal is empty on unjoined system
Product: UCS Reporter: Richard Ulmer <ulmer>
Component: PortalAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Richard Ulmer <ulmer>
Severity: normal    
Priority: P5 CC: best, grandjean
Version: UCS 4.2   
Target Milestone: UCS 4.2-1-errata   
Hardware: Other   
OS: Linux   
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?: 2: Will only affect a few installed domains How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.206 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:

Description Richard Ulmer univentionstaff 2017-06-26 16:43:30 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.
Comment 1 Michael Grandjean univentionstaff 2017-06-26 22:14:13 CEST
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.
Comment 2 Florian Best univentionstaff 2017-06-27 12:31:51 CEST
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
Comment 3 Richard Ulmer univentionstaff 2017-06-27 13:00:13 CEST
I can now get to the UMC via the Portal page, when logging in as root. -> Verified
Comment 4 Janek Walkenhorst univentionstaff 2017-06-28 15:33:42 CEST
<http://errata.software-univention.de/ucs/4.2/65.html>