Univention Bugzilla – Bug 45787
Portal: no blog entry after installing from DVD
Last modified: 2021-05-25 16:02:53 CEST
during the setup "something" triggers the blog portal entry ucr handler, but the handler fails at this point 28.11.17 16:20:23.394 LISTENER ( WARN ) : initializing module license_uuid W: The config registry variable 'uuid/license' does not exist LDAP Error: No such object Traceback (most recent call last): ... subprocess.CalledProcessError: Command '['univention-directory-manager', 'settings/portal_entr ... returned non-zero exit status 3 At least one problem might be, that 33univention-portal is called at a later stage! 2017-11-28 16:21:19.532102992+01:00 (in joinscript_save_current_version) __MSG__:Configure 33univention-portal Configure /usr/lib/univention-install/33univention-portal.inst 2017-11-28 16:21:19.834778392+01:00 (in joinscript_init) Object created: cn=portal,cn=univention,dc=test,dc=local Object created: cn=portal,cn=custom attributes,cn=univention,dc=test,dc=local ... => no blog entry in portal after DVD installation of UCS master!
Created attachment 9291 [details] setup.log
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
I see this traceback every time I look into Jenkins.
The reason is that in this early state no joinscripts have run, so that cn=portal,cn=univention does not yet exists. Either add it to the base.ldif (no really preferred) or ignore the error and re-register the UCR module in the joinscript where this object is created. Configure 15univention-directory-notifier-post.inst Wed Jul 8 13:23:47 CEST 2020 08.07.20 13:23:56.182 LISTENER ( WARN ) : initializing module license_uuid W: The config registry variable 'uuid/license' does not exist Create license/base Module: univention_blog Exception: Modifying blog entry failed: 3: LDAP Error: No such object ['univention-directory-manager', 'settings/portal_entry', 'create', '--ignore_exists', '--position', 'cn=portal,cn=univention,dc=AutoTest091,dc=local', '--set', 'name=univentionblog', '--set', 'activated=TRUE', …]
univention-portal (4.0.0-2) Bug #45787: prevent traceback in UCR handler if system is not yet joined univention-portal (4.0.0-5) Bug #45787: re-create univention-blog portal entry changelog-5.0-0.xml Changelog Bug #45787
What I tested: Installed a ucs 5 system -> Blog related join.log error is gone :) -> Blog entry is created after setup -> Verified
*** Bug 47823 has been marked as a duplicate of this bug. ***
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".