Bug 47514 - [4.3] The HTTP API doesn't start on fresh installations due to wrong file rights
[4.3] The HTTP API doesn't start on fresh installations due to wrong file rights
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: HTTP-API (Kelvin)
UCS@school 4.2
Other Linux
: P5 normal (vote)
: UCS@school 4.3 v5
Assigned To: Daniel Tröder
Jürn Brodersen
:
: 47473 47610 (view as bug list)
Depends on: 47472
Blocks:
  Show dependency treegraph
 
Reported: 2018-08-08 14:42 CEST by Daniel Tröder
Modified: 2018-09-11 11:34 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 7: Crash: Bug causes crash or data loss
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.320
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:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Tröder univentionstaff 2018-08-08 14:42:49 CEST
+++ This bug was initially created as a clone of Bug #47472 +++

The HTTP API doesn't start on fresh installations due to wrong file rights

I had to call:
chown -R uas-import:uas-import /var/log/univention/ucs-school-import/
otherwise the gunicorn service wouldn't start.

We should really add a basic test for the http api.

ucsschool version: 4.2 v10
Comment 1 Jürn Brodersen univentionstaff 2018-08-08 14:45:21 CEST
*** Bug 47473 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Tröder univentionstaff 2018-08-08 14:49:08 CEST
[4.3] 623bf0140 Bug #47514: set file permissions on initial installation
[4.3] 1fbe44471 Bug #47514: advisory

ucs-school-import (16.0.2-35)
Comment 3 Jürn Brodersen univentionstaff 2018-08-14 12:17:02 CEST
OK
What I tested:
Installed http-api -> service now starts out of the box -> OK

yaml -> ok

-> Verified
Comment 4 Daniel Tröder univentionstaff 2018-08-17 15:19:32 CEST
*** Bug 47610 has been marked as a duplicate of this bug. ***
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2018-09-11 11:34:19 CEST
UCS@school 4.3 v5 has been released.

https://docs.software-univention.de/changelog-ucsschool-4.3v5-de.html

If this error occurs again, please clone this bug.