Bug 48827 - portal.json not available on fresh system
Summary: portal.json not available on fresh system
Status: CLOSED DUPLICATE of bug 48358
Alias: None
Product: UCS
Classification: Unclassified
Component: Portal
Version: UCS 4.4
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 4.4
Assignee: UMC maintainers
QA Contact: UMC maintainers
URL:
Keywords:
: 48869 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-03-01 09:13 CET by Ole Schwiegert
Modified: 2019-03-12 13:40 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 4: Will affect most installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.343
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Schwiegert univentionstaff 2019-03-01 09:13:55 CET
After setting up a new 4.4 machine with the provided image I got the following traceback in the portal:

 30006 server       19-03-01 08:59:45 [    INFO]: firing up portal server at port 8095
 30006 user         19-03-01 09:06:30 [   DEBUG]: searching user for d068d65d-4db9-4a3b-b26c-5588e936d9cf
 30006 user         19-03-01 09:06:30 [ WARNING]: session unknown!
 30006 user         19-03-01 09:06:30 [   DEBUG]: no user found
 30006 cache        19-03-01 09:06:30 [    INFO]: refreshing cache
 30006 cache        19-03-01 09:06:30 [   ERROR]: Error during refresh
Traceback (most recent call last):
  File "/usr/bin/univention-portal-server", line 159, in refresh
    localhost = self.udm.obj_by_dn(ldap_hostdn)
  File "/usr/lib/pymodules/python2.7/univention/udm/udm.py", line 239, in obj_by_dn
    raise NoObject(dn=dn)
NoObject: No object found at DN None.
 30006 cache        19-03-01 09:06:30 [    INFO]: loading cache file
 30006 cache        19-03-01 09:06:30 [    INFO]: refreshing cache
 30006 cache        19-03-01 09:06:30 [   ERROR]: Error during refresh
Traceback (most recent call last):
  File "/usr/bin/univention-portal-server", line 159, in refresh
    localhost = self.udm.obj_by_dn(ldap_hostdn)
  File "/usr/lib/pymodules/python2.7/univention/udm/udm.py", line 239, in obj_by_dn
    raise NoObject(dn=dn)
NoObject: No object found at DN None.
 30006 cache        19-03-01 09:06:30 [    INFO]: loading cache file
 30006 server       19-03-01 09:06:30 [   ERROR]: Error during service
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/tornado/web.py", line 1467, in _execute
    result = method(*self.path_args, **self.path_kwargs)
  File "/usr/bin/univention-portal-server", line 407, in get
    portal_content = answer['portal'] = self._get_portal(username, admin_mode)
  File "/usr/bin/univention-portal-server", line 313, in _get_portal
    portal = cache.get('portal')
  File "/usr/bin/univention-portal-server", line 136, in get
    return self._get_portal(name)
  File "/usr/bin/univention-portal-server", line 151, in _get_portal
    self.load()
  File "/usr/bin/univention-portal-server", line 129, in load
    with open(self.PORTAL_CACHE) as fd:
IOError: [Errno 2] No such file or directory: '/var/cache/univention-portal/portal.json'
Comment 1 Ole Schwiegert univentionstaff 2019-03-01 09:43:01 CET
The error is reproducible
Comment 2 Ole Schwiegert univentionstaff 2019-03-01 10:07:18 CET

*** This bug has been marked as a duplicate of bug 48358 ***
Comment 3 Florian Best univentionstaff 2019-03-06 18:16:50 CET
*** Bug 48869 has been marked as a duplicate of this bug. ***
Comment 4 Stefan Gohmann univentionstaff 2019-03-08 14:42:11 CET
OK, duplicate
Comment 5 Florian Best univentionstaff 2019-03-12 13:40:28 CET
UCS 4.4 has been released:
 https://docs.software-univention.de/release-notes-4.4-0-en.html
 https://docs.software-univention.de/release-notes-4.4-0-de.html

If this error occurs again, please use "Clone This Bug".