WARN: Plugins error has to restart the server

Do you mean this one? Community Document Server - Apps - App Store - Nextcloud
If so, please note that we can’t troubleshoot it. This app was created by Nextcloud team (they used old build of Document server and changed source code). We have description of the situation here: Community Document Server app in Nextcloud 18
We recommend to use the latest official version of Document server.