Nextcloud + OnlyOffice: Some time after installation new file types disappear from "New file" and context menus

Hi everybody!

Could you assist us with this issue?

We tried full reinstall about 5 times already. Sometimes it disappears after 1 hour, sometimes after several days.
We still can open documents by direct link, for example: …/index.php/apps/onlyoffice/305#
It opens a corresponding onlyoffice app.

We use Docker installation with this composer script:
https://github.com/ONLYOFFICE/docker-onlyoffice-owncloud
Nextcloud 12.0.9
Onlyoffice 5.1.4.22

running on nextcloud server:
curl http://onlyoffice-document-server
response:

302 Found

302 Found

nginx

running on office server:
wget http://nginx-server/
response:
–2018-07-15 14:41:58-- http://nginx-server/
Resolving nginx-server (nginx-server)… 172.18.0.2
Connecting to nginx-server (nginx-server)|172.18.0.2|:80… connected.
HTTP request sent, awaiting response… 302 Found
Location: http://nginx-server/index.php/login [following]
–2018-07-15 14:41:58-- http://nginx-server/index.php/login
Reusing existing connection to nginx-server:80.
HTTP request sent, awaiting response… 200 OK
Length: 7047 (6.9K) [text/html]


And when I click “save” in settings, I get the following error: