Fresh install can't open office documents and pdfs

The Basics

  • Nextcloud Server version:
    • 30.0.2
  • Operating system and version:
    • Linux Mint 22
  • Web server and version:
    • Apache/2.4.62
  • Reverse proxy and version:
    • nginx 1.24.0
  • PHP version:
    • 8.2.25
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using Cloudflare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Hello dear community.
I am installing Nextcloud for the first time using AIO container. I don’t change any options, just install default selection including Collabora and Imaginary.
The Nextcloud seems to work fine, but I can’t open any document or pdf file, and can not create a new document.
I run reverse proxy, and I will also include nginx config and logs.
I see a lot of errors both in nginx and Nextcloud logs, which I can’t understand.

Log entries

Nextcloud

Web server / Reverse Proxy

Reverse proxy errors log:

Reverse proxy configuration:

Configuration

Nextcloud

Hi, can you follow How to debug problems with Collabora and/or Talk · nextcloud/all-in-one · Discussion #1358 · GitHub?

Hi szaimen, thank you for your answer.

I go through those steps, and observe the following: when I input 0.0.0.0/0 into Allow list for WOPI requests and click the arrow, all control elements on that page get grayed out. If I switch to other settings tab and then return to Office, I can see no 0.0.0.0/0 in the list.
The cURL output from inside the container:

I have solved the issue. It was the problem in connectivity between reverse proxy and nextcloud server. They are connected using Wireguard, and WG has set default MTU of 1420 on one side and 8920 on another.

I have explicitly set MTU to 1200, which I consider “safe”, and now Nextcloud is able to open every file, and the Nextcloud Hub is now much faster.

It is really strange that before Nextcloud everything seemed to work fine.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.