nextcloud / nextcloud/documentserver_community

Errors when opening documents

Open
#368 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
142
Forks
32
Avg merge
23h 13m
Merged PRs (30d)
15

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

1.Install OnlyOffice
2.Install DocumentServer_Comunity
3.Open an Office document

Expected behaviour

The document should be opened and no error should be reported

Actual behaviour

The document opens with no problem, but in the logs, I get several entries of the following two errors:

ServerException Server error: GET https://<domain>/index.php/apps/documentserver_community/open/0//convert.jpeg resulted in a 500 Internal Server Error response: <head (truncated...)

NotFoundException /appdata_ockxfncyepuy/documentserver_community/doc_0/convert.jpeg

ClientException Client error: POST https://<domain>/index.php/apps/documentserver_community/converter?shardKey=thumb_881458191 resulted in a 404 Not Found response: <head (truncated...)

If I check in the folders mentioned in the errors, the listed files are indeed not existing ones.

Server configuration

I have the NC instance running on Cloudamo hosting services, installed with the one-click installer.

**Nextcloud version: 32.0.6
OnlyOffice version: 9.12.0
DocumentServer_Ccomunity version: 0.2.1

I have another NC older instance with NC 28.0.4/OnlyOffice 9.5.0/DocumentServer_Ccomunity 0.1.20 which does not show those errors even if those files mentioned in the errors neither exist...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the document-opening flow with Nextcloud 32.0.6, OnlyOffice 9.12.0, and DocumentServer_Ccomunity 0.2.1, then inspect the logs and the /open/0//convert.jpeg and /converter endpoints mentioned in the report. Compare the failing behavior with the older working version; done means opening a document no longer produces the reported 500, 404, and missing-file errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.