Nextcloud 18 - Problems with Community document server and OnlyOffice

seemingly the same issue as here

plus there seems to be a solution.