Just wondering: Is this the same issue as (in German) [gelöst] Nextcloud und OnlyOffice in einer UCS Domäne, in Verbindung mit einem Hetzner Mietserver mit Debian und ProxMox VE, einer OPNsense Firewall, und einem Nginx reverseProxy (solved) ?
The relevant part should be the script at the bottom hat gets executed on each reboot.