Our Onlyoffice server crached so decided to test the built-in code server and Nextcloud Office.
They are installed on the same server (no docker) and Nextcloud Office reaches the code server (at least it gives a green light). When clicking on a document it does not open, only download. No error in the log.
Sadly enough your post is missing almost all specific technical information. Thanks for your post, but please take a little time to get acquainted with the forum and make a stronger effort to troubleshoot. It is the least you can do when asking others to help you:
Search your question as keywords on this forum. If you find something useful, link it directly into this post.
Search the internet using your issue as generic keywords. Specificity is king:
php modules missing Ubuntu Snap update
If you have an error message, repeat this process to search for your error on the forum and internet.
If you do not find an answer, you are likely using the wrong keywords. Try simplifying your search on the forum and internet even more.
nextcloud php modules missing
Once you’ve done this you should be able to edit and update your post with specific technical information we can use to help you.