Tune onlyoffice livelinessprobe to catch installation error
Onlyoffice has 3 seperate status pages where installation success can be read:
-
/welcome
: Human friendly page -
/healthcheck
: short page, content eitherfalse
ortrue
-
/index.html
: Always i.e.Server is functioning normally. Version: 6.2.2. Build: 21
The first two indicate an installation error by the content of the page. The last shows Server is functioning
even when the first two indicate an error.
All return a 200 status code, even on installation errors. See openappstack#897 as well.
We need to find a way for the liveliness probe to catch an installation error, because right now, it succeeds even in case on an error.
Edited by Varac