Nexcloud problem with Onlyoffice
Posted by mrga
1st of all , when I go to overview in Nextcloud , I get ton of errors There are some errors regarding your setup. WebSocket server URL is not configured. Real-time collaboration requires a separate WebSocket server. Basic whiteboard functionality works without it. For more details see the documentation ↗. Detected some missing optional indices. Occasionally new indices are added (by Nextcloud or installed applications) to improve database performance. Adding indices can sometimes take awhile and temporarily hurt performance so this is not done automatically during upgrades. Once the indices are added, queries to those tables should be faster. Use the command occ db:add-missing-indices to add them. Missing indices: "mailmessagesstrucanalyzidx" in table "mailmessages", "mailaccprovidx" in table "mailaccounts", "mailaliasaccididx" in table "mailaliases", "tablesrowsleevestid" in table "tablesrowsleeves", "systagbyobjectid" in table "systemtagobjectmapping", "mailmessagesmbiduiduidx" in table "mailmessages", "mailsmimecertsuidemailidx" in table "mailsmimecertificates", "mailtrustedsendersidx" in table "mailtrustedsenders", "mailcollidx" in table "mailcolladdresses". For more details see the documentation ↗. SQLite is currently being used as the backend database. For larger installations we recommend that you switch to a different database backend. This is particularly recommended when using the desktop client for file synchronisation. To migrate to another database use the command line tool: "occ db:convert-type". For more details see the documentation ↗. Your web server is not properly set up to resolve .well-known URLs, failed on: /.well-known/webfinger For more details see the documentation ↗. 911 errors in the logs since 1 September 2026, 10:37:12 Server has no maintenance window start time configured. This means resource intensive daily background jobs will also be executed during your main usage time. We recommend to set it to a time of low usage, so users are less impacted by the load caused from these heavy tasks. For more details see the documentation ↗. One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command occ maintenance:repair --include-expensive to perform the migrations. Some headers are not set correctly on your instance - The Strict-Transport-Security HTTP header is not set (should be at least 15552000 seconds). For enhanced security, it is recommended to enable HSTS. For more details see the documentation ↗. And ofc , error that The version you are running is not maintained any more. Please make sure to update to a supported version as soon as possible. I installed onlyoffice , because I want to have shared filed for team , but when I am trying to open file , it start to open on OnlOffice, but with error Error Failed to open the requested file.
1 replies
Chris wrote:
Hi mrga — one thing up front: that block of text on the Overview page is Nextcloud's admin housekeeping list, and none of it is what's breaking OnlyOffice. Let me separate the two. Why OnlyOffice can't open the file The "ONLYOFFICE" app you added inside Nextcloud is only the connector. Opening or editing a document still needs a separate OnlyOffice Document Server — an engine that actually loads, renders and saves the file. SparkBox doesn't install an office document server with the Cloud module (and there's no module for one), so there's nothing behind the app to talk to. When you click the file, the editor hands off to a document server that isn't running on your setup — that's exactly what "Failed to open the requested file" means. No dashboard or Nextcloud settings page can fix that on its own. The two realistic paths 1. Team sharing without OnlyOffice — works right now. Nextcloud shares files and folders natively: pick a file or folder, use the Share action, and either add team members or create a link. They can preview images/PDFs right in the browser and download the rest to edit in their own Office app. If "shared files for team" is the real goal, this is the supported path and needs no extra install. 2. Editing in the browser needs a real document server — you would run an OnlyOffice Document Server (or Collabora) yourself as a separate service, reachable over https, and enter its address plus a matching secret in Nextcloud → Administration Settings → ONLYOFFICE. That's a manual Docker deployment, not a SparkBox toggle, so I'd only suggest it if the sharing path above isn't enough. On the warning list (not the cause) Two lines are worth knowing about; the rest are cosmetic admin tasks you can safely ignore for now (indices, mimetype migrations, maintenance window, HSTS, WebSocket). - "SQLite is currently being used" — SparkBox actually provisions a MariaDB server right next to Nextcloud; this message usually means the first-run setup left Nextcloud on SQLite. Worth fixing eventually (Nextcloud runs far better on MariaDB), but it is not why OnlyOffice fails. - "the version you are running is not maintained" — that's Nextcloud 30 being an older major branch. Nothing to do on your side; it normally clears when SparkBox ships a newer Nextcloud image in a future release. If you want, tell me whether the team needs individual logins or a single share link works, and I'll write out the exact sharing steps.