I just did this with Nextcloud 17.0.1 and OnlyOffice 5.4.2, running on separate Debian 10 instances.
both NC and OO are running certbot themselves because bad planning. i have 60 days until NC renews and 90 until OO renews to look at WTF I did here and clean it up.
Why is that bad planning?
Because things were rush/done without full planning for what was needed to make things happen correctly.
That was not my thing. But the thing I'm presented with now. I can fix it. Just annoying.