Synology AIO Docker Collabora not working/no file preview

Hey guys,

I just tried and installed the Docker AIO on my Synology and everything works fine, just the collabora/NextCloud Office is not working.

I tried to do everything from the debug discussion here:

/etc/hosts:

127.0.0.1       localhost
::1     localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
192.168.32.8    4abbc647afe4

Collabora logs:

wsd-00001-00035 2023-03-07 08:37:28.464419 +0100 [ prisoner_poll ] TRC  #20: Pong received: 290 microseconds| net/WebSocketHandler.hpp:374
wsd-00001-00035 2023-03-07 08:37:28.464448 +0100 [ prisoner_poll ] TRC  #19: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:28.464455 +0100 [ prisoner_poll ] TRC  #20: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:28.464461 +0100 [ prisoner_poll ] TRC  ppoll start, timeoutMicroS: 5000000 size 2| net/Socket.cpp:338
wsd-00001-00001 2023-03-07 08:37:31.180136 +0100 [ coolwsd ] INF  Waiting for a new child for a max of 20000ms| wsd/COOLWSD.cpp:5507
wsd-00001-00035 2023-03-07 08:37:33.468037 +0100 [ prisoner_poll ] TRC  Poll completed with 0 live polls max (5000000us)(timedout)| net/Socket.cpp:357
wsd-00001-00035 2023-03-07 08:37:33.468242 +0100 [ prisoner_poll ] TRC  #20: Starting handling poll results of prisoner_poll at index 1 (of 2): 0| net/Socket.cpp:436
wsd-00001-00035 2023-03-07 08:37:33.468254 +0100 [ prisoner_poll ] TRC  #20: Revents: 0x0| net/Socket.hpp:1301
wsd-00001-00035 2023-03-07 08:37:33.468286 +0100 [ prisoner_poll ] TRC  #19: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:33.468295 +0100 [ prisoner_poll ] TRC  #20: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:33.468301 +0100 [ prisoner_poll ] TRC  ppoll start, timeoutMicroS: 5000000 size 2| net/Socket.cpp:338
wsd-00001-00035 2023-03-07 08:37:38.472670 +0100 [ prisoner_poll ] TRC  Poll completed with 0 live polls max (5000000us)(timedout)| net/Socket.cpp:357
wsd-00001-00035 2023-03-07 08:37:38.472762 +0100 [ prisoner_poll ] TRC  #19: Starting handling poll results of prisoner_poll at index 0 (of 2): 0| net/Socket.cpp:436
wsd-00001-00035 2023-03-07 08:37:38.472773 +0100 [ prisoner_poll ] TRC  #20: Revents: 0x0| net/Socket.hpp:1301
wsd-00001-00035 2023-03-07 08:37:38.472785 +0100 [ prisoner_poll ] TRC  #19: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:38.472792 +0100 [ prisoner_poll ] TRC  #20: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:38.472797 +0100 [ prisoner_poll ] TRC  ppoll start, timeoutMicroS: 5000000 size 2| net/Socket.cpp:338
wsd-00001-00035 2023-03-07 08:37:43.476459 +0100 [ prisoner_poll ] TRC  Poll completed with 0 live polls max (5000000us)(timedout)| net/Socket.cpp:357
wsd-00001-00035 2023-03-07 08:37:43.476529 +0100 [ prisoner_poll ] TRC  #20: Starting handling poll results of prisoner_poll at index 1 (of 2): 0| net/Socket.cpp:436
wsd-00001-00035 2023-03-07 08:37:43.476538 +0100 [ prisoner_poll ] TRC  #20: Revents: 0x0| net/Socket.hpp:1301
wsd-00001-00035 2023-03-07 08:37:43.476549 +0100 [ prisoner_poll ] TRC  #19: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:43.476556 +0100 [ prisoner_poll ] TRC  #20: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:43.476561 +0100 [ prisoner_poll ] TRC  ppoll start, timeoutMicroS: 2987580 size 2| net/Socket.cpp:338
wsd-00001-00035 2023-03-07 08:37:46.465680 +0100 [ prisoner_poll ] TRC  Poll completed with 0 live polls max (2987580us)(timedout)| net/Socket.cpp:357
wsd-00001-00035 2023-03-07 08:37:46.465751 +0100 [ prisoner_poll ] TRC  #19: Starting handling poll results of prisoner_poll at index 0 (of 2): 0| net/Socket.cpp:436
wsd-00001-00035 2023-03-07 08:37:46.465784 +0100 [ prisoner_poll ] TRC  #20: Revents: 0x0| net/Socket.hpp:1301
wsd-00001-00035 2023-03-07 08:37:46.465794 +0100 [ prisoner_poll ] TRC  #20: Sending  ping.| net/WebSocketHandler.hpp:580
wsd-00001-00035 2023-03-07 08:37:46.465804 +0100 [ prisoner_poll ] TRC  WebSocketHandler: Writing 1 bytes to #20 in addition to 0 bytes buffered| net/WebSocketHandler.hpp:761
wsd-00001-00035 2023-03-07 08:37:46.465835 +0100 [ prisoner_poll ] TRC  #19: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:46.465843 +0100 [ prisoner_poll ] TRC  #20: setupPollFds getPollEvents: 0x5| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:46.465872 +0100 [ prisoner_poll ] TRC  ppoll start, timeoutMicroS: 5000000 size 2| net/Socket.cpp:338
wsd-00001-00035 2023-03-07 08:37:46.465882 +0100 [ prisoner_poll ] TRC  Poll completed with 1 live polls max (5000000us)| net/Socket.cpp:357
wsd-00001-00035 2023-03-07 08:37:46.465890 +0100 [ prisoner_poll ] TRC  #20: Starting handling poll results of prisoner_poll at index 1 (of 2): 4| net/Socket.cpp:436
wsd-00001-00035 2023-03-07 08:37:46.465898 +0100 [ prisoner_poll ] TRC  #20: Revents: 0x4| net/Socket.hpp:1301
wsd-00001-00035 2023-03-07 08:37:46.465924 +0100 [ prisoner_poll ] TRC  #20: Wrote 3 bytes of 3 buffered data| net/Socket.hpp:1447
wsd-00001-00035 2023-03-07 08:37:46.465961 +0100 [ prisoner_poll ] TRC  #19: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:46.465968 +0100 [ prisoner_poll ] TRC  #20: setupPollFds getPollEvents: 0x1| net/Socket.hpp:862
wsd-00001-00035 2023-03-07 08:37:46.465976 +0100 [ prisoner_poll ] TRC  ppoll start, timeoutMicroS: 5000000 size 2| net/Socket.cpp:338
wsd-00001-00035 2023-03-07 08:37:46.466039 +0100 [ prisoner_poll ] TRC  Poll completed with 1 live polls max (5000000us)| net/Socket.cpp:357
wsd-00001-00035 2023-03-07 08:37:46.466095 +0100 [ prisoner_poll ] TRC  #19: Starting handling poll results of prisoner_poll at index 0 (of 2): 0| net/Socket.cpp:436
wsd-00001-00035 2023-03-07 08:37:46.466109 +0100 [ prisoner_poll ] TRC  #20: Revents: 0x1| net/Socket.hpp:1301
wsd-00001-00035 2023-03-07 08:37:46.466121 +0100 [ prisoner_poll ] TRC  #20: Read 3 bytes in addition to 0 buffered bytes| net/Socket.hpp:1150
wsd-00001-00035 2023-03-07 08:37:46.466134 +0100 [ prisoner_poll ] TRC  #20: Incoming data buffer 3 bytes, read result: 3, events: 0x1 (not closed)| net/Socket.hpp:1323
wsd-00001-00035 2023-03-07 08:37:46.466144 +0100 [ prisoner_poll ] TRC  #20: Incoming WebSocket data of 3 bytes: 8A 01 00  | ...| net/WebSocketHandler.hpp:335
wsd-00001-00035 2023-03-07 08:37:46.466157 +0100 [ prisoner_poll ] TRC  #20: Incoming WebSocket frame code 10, fin? true, mask? false, payload length: 1, residual socket data: 0 bytes.| net/WebSocketHandler.hpp:349

I can’t change the settings for WOPI IPs:

When using the Synology build in reverse proxy
image

I get this when running curl -vvv https://$NC_DOMAIN:443/hosting/discovery

bash-5.1# curl -vvv https://$NC_DOMAIN:443/hosting/discovery
exit
*   Trying XX.XXX.XX.XX:443...
* Connected to sub.domain.com (XX.XXX.XX.XX) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=domain.com
*  start date: Jan  5 12:43:16 2023 GMT
*  expire date: Apr  5 12:43:15 2023 GMT
*  subjectAltName: host "sub.domain.com" matched cert's "*.domain.com"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: GET]
* h2h3 [:path: /hosting/discovery]
* h2h3 [:scheme: https]
* h2h3 [:authority: sub.domain.com]
* h2h3 [user-agent: curl/7.83.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x7fc8da73a1b0)
> GET /hosting/discovery HTTP/2
> Host: sub.domain.com
> user-agent: curl/7.83.1
> accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 504 
< date: Tue, 07 Mar 2023 07:49:29 GMT
< content-type: text/html
< content-length: 11939
< etag: "62a83cc4-2ea3"
< 
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style>body{font-family:Arial,Helvetica,sans-serif;font-size:12px;text-align:center}h1{color:#06C;font-size:25px;line-height:60px;margin-top:56px}img{margin-top:40px}
</style>
</head>
<body>
<img src="data:image/jpg;base64,/9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAQEB
AQEBAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/2wBDAQEBAQEBAQICAgICAgICAgICAgIC
AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgL/wAARCAAzAMgDAREA
AhEBAxEB/8QAHwAAAgIDAAMBAQAAAAAAAAAAAAkICgEGBwQFCwMC/8QARBAAAAYCAAUCBQIDAwYP
...
...
...
"/>
<h1 id="a"></h1>
<hr>
<p>&copy; 2022 <a href="http://www.synology.com">Synology Inc.</a></p>
</body>
<script type ="text/javascript">
/* Copyright (c) 2022 Synology Inc. All rights reserved. */

(function(){var a={en:"Sorry, the page you are looking for is not found.",zh:"\u62b1\u6b49\uff0c\u60a8\u6240\u6307\u5b9a\u7684\u9875\u9762\u4e0d\u5b58\u5728\u3002",it:"La pagina richiesta non \u00e8 stata trovata.","zh-HK":"\u62b1\u6b49\uff0c\u60a8\u6240\u6307\u5b9a\u7684\u9801\u9762\u4e0d\u5b58\u5728\u3002",cs:"Hledan\u00e1 str\u00e1nka nebyla nalezena.",es:"Lo sentimos, no se encuentra la p\u00e1gina que est\u00e1 buscando.",ru:"\u0418\u0437\u0432\u0438\u043d\u0438\u0442\u0435, \u0438\u0441\u043a\u043e\u043c\u0430\u044f \u0432\u0430\u043c\u0438 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u0430.",nl:"Sorry, de pagina die u zoekt kan niet weergegeven worden.",pt:"Desculpe, a p\u00e1gina que procura n\u00e3o foi encontrada.",no:"Beklager, siden du leter etter finnes ikke.",nb:"Beklager, siden du leter etter finnes ikke.",tr:"\u00dczg\u00fcn\u00fcz, arad\u0131\u011f\u0131n\u0131z sayfa bulunamad\u0131.",pl:"Przepraszamy, nie znaleziono strony, kt\u00f3rej szukasz.",fr:"D\u00e9sol\u00e9, la page que vous recherchez est introuvable.",de:"Es tut uns Leid, die von Ihnen gesuchte Seite konnte nicht gefunden werden.",da:"Desv\u00e6rre, den side, du leder efter, kunne ikke findes.","pt-BR":"Desculpe, a p\u00e1gina que procura n\u00e3o foi encontrada.","zh-MO":"\u62b1\u6b49\uff0c\u60a8\u6240\u6307\u5b9a\u7684\u9801\u9762\u4e0d\u5b58\u5728\u3002",hu:"Eln\u00e9z\u00e9st, a keresett oldal nem tal\u00e1lhat\u00f3.",ja:"\u7533\u3057\u8a33\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u635c\u3057\u3066\u3044\u308b\u30da\u30fc\u30b8\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093",nn:"Beklager, siden du leter etter finnes ikke.","zh-TW":"\u62b1\u6b49\uff0c\u60a8\u6240\u6307\u5b9a\u7684\u9801\u9762\u4e0d\u5b58\u5728\u3002",ko:"\uc8c4\uc1a1\ud569\ub2c8\ub2e4. \ucc3e\uace0\uc790 \ud558\ub294 \ud398\uc774\uc9c0\ub97c \ubc1c\uacac\ud558\uc9c0 \ubabb\ud588\uc2b5\ub2c8\ub2e4.",sv:"Sidan du s\u00f6ker hittades inte."};var b=window.navigator.browserLanguage||window.navigator.language;if(-1==["zh-TW","zh-MO","zh-HK","pt-BR"].indexOf(b)){b=b.split("-",1)}document.getElementById("a").innerHTML=a[b]||a.en})();
</script>
</html>
* Connection #0 to host sub.domain.com left intact
exit

I added a .conf to /etc/nginx/conf.d/ with the following :

map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}

server {
    listen 80;
    listen [::]:80;            # comment to disable IPv6

    if ($scheme = "http") {
        return 301 https://$host$request_uri;
    }

    listen 443 ssl http2;
    listen [::]:443 ssl http2; # comment to disable IPv6

    server_name sub.domain.com;

    location / {
        resolver localhost; # Note: you need to set a valid dns resolver here or use 127.0.0.1 / [::1] instead of localhost in the line below. See https://stackoverflow.com/a/49642310 for a better explanation
        proxy_pass http://localhost:11000$request_uri; # Note: you need to change localhost to 127.0.0.1 or [::1], if you don't use a valid dns resolver in the line above

        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Port $server_port;
        proxy_set_header Early-Data $ssl_early_data;
        proxy_set_header X-Forwarded-Scheme $scheme;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header Accept-Encoding "";
        proxy_set_header Host $host;
    
        client_body_buffer_size 512k;
        proxy_read_timeout 86400s;
        client_max_body_size 0;

        # Websocket
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
    }

    ssl_certificate /usr/syno/etc/certificate/_archive/eH24dC/fullchain.pem;   # managed by certbot on host machine
    ssl_certificate_key /usr/syno/etc/certificate/_archive/eH24dC/privkey.pem; # managed by certbot on host machine

    ssl_early_data on;
    ssl_session_timeout 1d;
    ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
    ssl_session_tickets off;

    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
    ssl_prefer_server_ciphers off;
}

Now there is no error page with the lookup:

bash-5.1# curl -vvv https://$NC_DOMAIN:443/hosting/discovery
*   Trying XX.XXX.XX.XX:443...
* Connected to sub.domain.com (XX.XXX.XX.XX) port 443 (#0)
* ALPN: offers h2
* ALPN: offers http/1.1
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=domain.com
*  start date: Jan  5 12:43:16 2023 GMT
*  expire date: Apr  5 12:43:15 2023 GMT
*  subjectAltName: host "sub.domain.com" matched cert's "*.domain.com"
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify ok.
* Using HTTP2, server supports multiplexing
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* h2h3 [:method: GET]
* h2h3 [:path: /hosting/discovery]
* h2h3 [:scheme: https]
* h2h3 [:authority: sub.domain.com]
* h2h3 [user-agent: curl/7.83.1]
* h2h3 [accept: */*]
* Using Stream ID: 1 (easy handle 0x7f2fce75d1b0)
> GET /hosting/discovery HTTP/2
> Host: sub.domain.com
> user-agent: curl/7.83.1
> accept: */*
> 
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 502 
< date: Tue, 07 Mar 2023 08:01:23 GMT
< content-length: 0
< 
* Connection #0 to host sub.domain.com left intact
bash-5.1# 

Does anybody have an idea what might be wrong?

Hi, is it working after you restart your containers? also can you post the nextcloud container logs here?

I did a restart/update between switching the RP without a change.

nextcloud-aio-nextcloud logs:

2023-03-07T08:36:16.284525779Z               now              
2023-03-07T08:36:16.285058476Z -------------------------------
2023-03-07T08:36:16.285113127Z  2023-03-07 09:36:16.283774+01
2023-03-07T08:36:16.285149096Z (1 row)
2023-03-07T08:36:16.285182373Z 
2023-03-07T08:36:16.360272681Z + '[' -f /dev-dri-group-was-added ']'
2023-03-07T08:36:16.360566330Z ++ find /dev -maxdepth 1 -mindepth 1 -name dri
2023-03-07T08:36:16.361340976Z + '[' -n '' ']'
2023-03-07T08:36:16.361467994Z + set +x
2023-03-07T08:36:16.368961050Z Installing imagemagick via apk...
2023-03-07T08:36:20.538098504Z Enabling Imagick...
2023-03-07T08:36:25.598809708Z Configuring Redis as session handler...
2023-03-07T08:36:25.600488415Z Setting php max children...
2023-03-07T08:36:26.788001943Z Checking connection to appstore
2023-03-07T08:36:27.613186876Z Appstore is reachable
2023-03-07T08:36:39.037127713Z Maintenance mode already disabled
2023-03-07T08:36:39.054690381Z Getting and backing up the status of apps for later, this might take a while...
2023-03-07T08:36:39.056493611Z Disabling apps before the update in order to make the update procedure more safe. This can take a while...
2023-03-07T08:36:40.591853797Z deck 1.8.3 disabled
2023-03-07T08:36:42.169712428Z tasks 0.14.5 disabled
2023-03-07T08:36:43.661183534Z calendar 4.2.4 disabled
2023-03-07T08:36:44.919677163Z contacts 5.1.0 disabled
2023-03-07T08:36:46.427512739Z notify_push 0.6.0 disabled
2023-03-07T08:36:47.860409294Z richdocuments 7.1.1 disabled
2023-03-07T08:36:49.460111629Z fulltextsearch 25.0.0 disabled
2023-03-07T08:36:51.019595509Z fulltextsearch_elasticsearch 25.0.0 disabled
2023-03-07T08:36:52.401477171Z files_fulltextsearch 25.0.0 disabled
2023-03-07T08:36:53.462609555Z No such app enabled: mail
2023-03-07T08:36:54.582540272Z snappymail 2.26.4 disabled
2023-03-07T08:36:55.748204261Z recognize 3.5.0 disabled
2023-03-07T08:36:56.867602493Z previewgenerator 5.2.1 disabled
2023-03-07T08:37:00.668327719Z recognize new version available: 3.6.1
2023-03-07T08:37:55.124927668Z recognize updated
2023-03-07T08:37:57.422686408Z Initializing nextcloud 25.0.4.1 ...
2023-03-07T08:38:44.491487809Z Initializing finished
2023-03-07T08:38:44.493394774Z Upgrading nextcloud from 25.0.3.2 to 25.0.4.1...
2023-03-07T08:38:44.949885494Z Nextcloud or one of the apps require upgrade - only a limited number of commands are available
2023-03-07T08:38:44.950349540Z You may use your browser or the occ upgrade command to do the upgrade
2023-03-07T08:38:45.018184364Z Setting log level to debug
2023-03-07T08:38:45.042229919Z Turned on maintenance mode
2023-03-07T08:38:47.207319399Z Updating database schema
2023-03-07T08:38:47.216791096Z Updated database
2023-03-07T08:38:47.693203947Z Updating <related_resources> ...
2023-03-07T08:38:48.175216930Z Updated <related_resources> to 1.0.4
2023-03-07T08:38:57.003627734Z Starting code integrity check...
2023-03-07T08:39:15.052568361Z Finished code integrity check
2023-03-07T08:39:15.054117513Z Update successful
2023-03-07T08:39:15.076471449Z Turned off maintenance mode
2023-03-07T08:39:15.076747153Z Resetting log level
2023-03-07T08:39:15.598499515Z SchmidtCloud 25.0.4
2023-03-07T08:39:16.133099413Z Posting notifications to users that are admins...
2023-03-07T08:39:17.918367398Z Posting 'Nextcloud update to 25.0.4.1 successful!' to: oschmidt
2023-03-07T08:39:19.572689160Z Done!
2023-03-07T08:39:20.132715136Z Restoring the status of apps. This can take a while...
2023-03-07T08:39:20.132880515Z Enabling deck...
2023-03-07T08:39:21.493337220Z Enabling calendar...
2023-03-07T08:39:22.543318184Z Enabling notify_push...
2023-03-07T08:39:23.302816624Z Enabling richdocuments...
2023-03-07T08:39:24.250634000Z Enabling recognize...
2023-03-07T08:40:09.276400973Z Enabling tasks...
2023-03-07T08:40:11.444138114Z Enabling previewgenerator...
2023-03-07T08:40:12.930866040Z Enabling snappymail...
2023-03-07T08:40:13.958594219Z Enabling contacts...
2023-03-07T08:40:15.471863737Z Enabling files_fulltextsearch...
2023-03-07T08:40:16.345213675Z Enabling fulltextsearch_elasticsearch...
2023-03-07T08:40:17.321056487Z Enabling fulltextsearch...
2023-03-07T08:40:19.135002507Z Doing some optimizations...
2023-03-07T08:40:19.740541635Z  - Repair MySQL collation
2023-03-07T08:40:19.740810397Z      - Not a mysql database -> nothing to do
2023-03-07T08:40:19.740872930Z  - Repair mime types
2023-03-07T08:40:19.740909950Z  - Clean tags and favorites
2023-03-07T08:40:19.746083226Z      - 0 tags of deleted users have been removed.
2023-03-07T08:40:19.749739412Z      - 0 tags for delete files have been removed.
2023-03-07T08:40:19.750613276Z      - 0 tag entries for deleted tags have been removed.
2023-03-07T08:40:19.751374136Z      - 0 tags with no entries have been removed.
2023-03-07T08:40:19.751568646Z  - Repair invalid shares
2023-03-07T08:40:19.754125036Z  - Move .step file of updater to backup location
2023-03-07T08:40:19.754276662Z  - Add move avatar background job
2023-03-07T08:40:19.754322649Z      - Repair step already executed
2023-03-07T08:40:19.754355564Z  - Add preview cleanup background jobs
2023-03-07T08:40:19.754388328Z  - Migrate oauth2_clients table to nextcloud schema
2023-03-07T08:40:20.927732361Z      - Update the oauth2_access_tokens table schema.
2023-03-07T08:40:22.121327625Z      - Update the oauth2_clients table schema.
2023-03-07T08:40:24.422544468Z  - Fix potential broken mount points
2023-03-07T08:40:24.424665699Z      - No mounts updated
2023-03-07T08:40:24.424776360Z  - Repair language codes
2023-03-07T08:40:24.424815447Z  - Add log rotate job
2023-03-07T08:40:24.494996833Z  - Clear frontend caches
2023-03-07T08:40:24.495329189Z      - Image cache cleared
2023-03-07T08:40:24.520782624Z      - JS cache cleared
2023-03-07T08:40:24.520924586Z  - Clear every generated avatar on major updates
2023-03-07T08:40:24.520968004Z  - Add preview background cleanup job
2023-03-07T08:40:24.912243085Z  - Queue a one-time job to cleanup old backups of the updater
2023-03-07T08:40:25.128748444Z  - Cleanup invalid photocache files for carddav
2023-03-07T08:40:25.128821948Z  - Add background job to cleanup login flow v2 tokens
2023-03-07T08:40:25.328867511Z  - Remove potentially over exposing share links
2023-03-07T08:40:25.329132385Z      - No need to remove link shares.
2023-03-07T08:40:25.329196932Z  - Clear access cache of projects
2023-03-07T08:40:25.329241614Z  - Reset generated avatar flag
2023-03-07T08:40:25.329273441Z  - Keep legacy encryption enabled
2023-03-07T08:40:25.329304157Z  - Check encryption key format
2023-03-07T08:40:25.329333774Z  - Remove old dashboard app config data
2023-03-07T08:40:25.329364858Z  - Add job to cleanup the bruteforce entries
2023-03-07T08:40:25.553090597Z  - Queue a one-time job to check for user uploaded certificates
2023-03-07T08:40:25.553302410Z  - Repair DAV shares
2023-03-07T08:40:25.553340943Z  - Add background job to set the lookup server share state for users
2023-03-07T08:40:25.761412083Z  - Add token cleanup job
2023-03-07T08:40:25.819632430Z  - Clean up abandoned apps
2023-03-07T08:40:25.820824617Z  - Add possibly missing system config
2023-03-07T08:40:25.820975472Z  - Upgrading Circles App
2023-03-07T08:40:26.052891808Z  - Fix component of birthday calendars
2023-03-07T08:40:26.327887694Z      - 2 birthday calendars updated.
2023-03-07T08:40:26.328042545Z  - Regenerating birthday calendars to use new icons and fix old birthday events without year
2023-03-07T08:40:26.328117798Z      - Repair step already executed
2023-03-07T08:40:26.328155813Z  - Fix broken values of calendar objects
2023-03-07T08:40:26.684315073Z     0 [>---------------------------]
2023-03-07T08:40:26.684784461Z  - Registering building of calendar search index as background job
2023-03-07T08:40:26.684871905Z      - Repair step already executed
2023-03-07T08:40:26.684904779Z  - Register building of social profile search index as background job
2023-03-07T08:40:26.831106816Z      - Add background job
2023-03-07T08:40:27.211098485Z  - Registering background jobs to update cache for webcal calendars
2023-03-07T08:40:27.241756035Z      - Added 0 background jobs to update webcal calendars
2023-03-07T08:40:27.241909351Z  - Registering building of calendar reminder index as background job
2023-03-07T08:40:27.241954828Z      - Repair step already executed
2023-03-07T08:40:27.241989527Z  - Clean up orphan event and contact data
2023-03-07T08:40:27.271484797Z      - 0 events without a calendar have been cleaned up
2023-03-07T08:40:27.496202568Z      - 0 properties without an events have been cleaned up
2023-03-07T08:40:27.561121036Z      - 0 changes without a calendar have been cleaned up
2023-03-07T08:40:27.565346366Z      - 0 cached events without a calendar subscription have been cleaned up
2023-03-07T08:40:27.669162453Z      - 2 changes without a calendar subscription have been cleaned up
2023-03-07T08:40:27.822626571Z      - 0 contacts without an addressbook have been cleaned up
2023-03-07T08:40:27.881883842Z      - 0 properties without a contact have been cleaned up
2023-03-07T08:40:27.939880254Z      - 0 changes without an addressbook have been cleaned up
2023-03-07T08:40:27.940025841Z  - Remove activity entries of private events
2023-03-07T08:40:28.209093823Z      - Removed 0 activity entries
2023-03-07T08:40:28.209241150Z  - Clean up old calendar subscriptions from deleted users that were not cleaned-up
2023-03-07T08:40:28.210713481Z  0/2 [>---------------------------]   0%
2023-03-07T08:40:28.210839028Z  2/2 [============================] 100%
2023-03-07T08:40:28.210986172Z      - 0 calendar subscriptions without an user have been cleaned up
2023-03-07T08:40:28.211043144Z  - Remove invalid object properties
2023-03-07T08:40:28.252199493Z      - 0 invalid object properties removed.
2023-03-07T08:40:28.252328727Z  - Fix the share type of guest shares when migrating from ownCloud
2023-03-07T08:40:28.252378169Z  - Copy the share password into the dedicated column
2023-03-07T08:40:28.252465745Z  - Set existing shares as accepted
2023-03-07T08:40:28.252500358Z  - Set binary permissions
2023-03-07T08:40:28.252533836Z  - Update OAuth token expiration times
2023-03-07T08:40:28.282089853Z  - Install dependencies
2023-03-07T08:40:47.804747521Z  - Setup SnappyMail
2023-03-07T08:40:47.838438395Z  - Switches from default updater server to the customer one if a valid subscription is available
2023-03-07T08:40:47.838597028Z      - Repair step already executed
2023-03-07T08:40:47.838637231Z  - Send an admin notification if monthly report is disabled
2023-03-07T08:40:47.921824637Z  - Initialize migration of background images from dashboard to theming app
2023-03-07T08:40:48.439204261Z  - Add background job to check for backup codes
2023-03-07T08:40:48.615997555Z  - Populating added database structures for workflows
2023-03-07T08:40:49.259218493Z Check indices of the share table.
2023-03-07T08:40:50.283009487Z Check indices of the filecache table.
2023-03-07T08:40:50.283169738Z Check indices of the twofactor_providers table.
2023-03-07T08:40:50.283212340Z Check indices of the login_flow_v2 table.
2023-03-07T08:40:50.283247990Z Check indices of the whats_new table.
2023-03-07T08:40:50.283278641Z Check indices of the cards table.
2023-03-07T08:40:50.283309937Z Check indices of the cards_properties table.
2023-03-07T08:40:50.283342262Z Check indices of the calendarobjects_props table.
2023-03-07T08:40:50.283376337Z Check indices of the schedulingobjects table.
2023-03-07T08:40:50.283415462Z Check indices of the oc_properties table.
2023-03-07T08:40:50.283466535Z Check indices of the oc_jobs table.
2023-03-07T08:40:50.283496167Z Check indices of the oc_direct_edit table.
2023-03-07T08:40:50.283525236Z Check indices of the oc_preferences table.
2023-03-07T08:40:50.283553097Z Check indices of the oc_mounts table.
2023-03-07T08:40:50.283584030Z Done.
2023-03-07T08:40:50.852209829Z Check columns of the comments table.
2023-03-07T08:40:51.891013480Z Done.
2023-03-07T08:40:52.536790616Z Check primary keys.
2023-03-07T08:40:53.628862360Z Done.
2023-03-07T08:40:55.324857672Z All tables already up to date!
2023-03-07T08:40:55.894948167Z mimetypelist.js is updated
2023-03-07T08:40:56.632469459Z Added mimetype "video/3gpp" to database
2023-03-07T08:40:57.275238523Z Added mimetype "application/x-7z-compressed" to database
2023-03-07T08:40:57.523642081Z Added mimetype "application/msaccess" to database
2023-03-07T08:40:57.852857860Z Added mimetype "application/vnd.android.package-archive" to database
2023-03-07T08:40:57.969370818Z Added mimetype "image/x-dcraw" to database
2023-03-07T08:40:58.298744627Z Added mimetype "text/x-shellscript" to database
2023-03-07T08:40:58.382028768Z Added mimetype "application/x-msdos-program" to database
2023-03-07T08:40:58.669308636Z Added mimetype "application/x-bin" to database
2023-03-07T08:40:58.785720195Z Added mimetype "application/x-blender" to database
2023-03-07T08:40:59.019455031Z Added mimetype "image/bpg" to database
2023-03-07T08:40:59.094250984Z Added mimetype "application/x-bzip2" to database
2023-03-07T08:40:59.402857621Z Added mimetype "text/x-c" to database
2023-03-07T08:40:59.469278020Z Added mimetype "text/x-c++src" to database
2023-03-07T08:40:59.690278339Z Added mimetype "application/comicbook+7z" to database
2023-03-07T08:40:59.756816962Z Added mimetype "application/comicbook+ace" to database
2023-03-07T08:40:59.998674652Z Added mimetype "application/comicbook+rar" to database
2023-03-07T08:41:00.252243891Z Added mimetype "application/comicbook+tar" to database
2023-03-07T08:41:00.585380285Z Added mimetype "application/comicbook+truecrypt" to database
2023-03-07T08:41:00.673710914Z Added mimetype "application/comicbook+zip" to database
2023-03-07T08:41:00.932804972Z Added mimetype "application/coreldraw" to database
2023-03-07T08:41:01.151796916Z Added mimetype "application/java" to database
2023-03-07T08:41:01.485416488Z Added mimetype "application/cmd" to database
2023-03-07T08:41:01.601653619Z Added mimetype "application/x-cbr" to database
2023-03-07T08:41:01.809981432Z Added mimetype "application/x-deb" to database
2023-03-07T08:41:01.884899033Z Added mimetype "application/vnd.ms-word.document.macroEnabled.12" to database
2023-03-07T08:41:02.218544770Z Added mimetype "application/vnd.openxmlformats-officedocument.wordprocessingml.template" to database
2023-03-07T08:41:02.431834377Z Added mimetype "video/dv" to database
2023-03-07T08:41:02.673019020Z Added mimetype "application/vnd.ms-fontobject" to database
2023-03-07T08:41:02.742998148Z Added mimetype "application/epub+zip" to database
2023-03-07T08:41:02.968818239Z Added mimetype "application/x-fictionbook+xml" to database
2023-03-07T08:41:03.043014225Z Added mimetype "video/x-flv" to database
2023-03-07T08:41:03.317867201Z Added mimetype "application/vnd.oasis.opendocument.graphics-flat-xml" to database
2023-03-07T08:41:03.392807295Z Added mimetype "application/vnd.oasis.opendocument.presentation-flat-xml" to database
2023-03-07T08:41:03.568457112Z Added mimetype "application/vnd.oasis.opendocument.spreadsheet-flat-xml" to database
2023-03-07T08:41:03.642818887Z Added mimetype "application/vnd.oasis.opendocument.text-flat-xml" to database
2023-03-07T08:41:03.856172995Z Added mimetype "text/x-h" to database
2023-03-07T08:41:03.926253344Z Added mimetype "text/calendar" to database
2023-03-07T08:41:04.109581058Z Added mimetype "text/impress" to database
2023-03-07T08:41:04.192617924Z Added mimetype "text/x-java-source" to database
2023-03-07T08:41:04.417537099Z Added mimetype "image/jp2" to database
2023-03-07T08:41:04.497676621Z Added mimetype "application/x-kdbx" to database
2023-03-07T08:41:04.731113282Z Added mimetype "application/x-iwork-keynote-sffkey" to database
2023-03-07T08:41:05.341939996Z Added mimetype "application/km" to database
2023-03-07T08:41:05.342334913Z Added mimetype "application/vnd.google-earth.kml+xml" to database
2023-03-07T08:41:05.408804630Z Added mimetype "application/vnd.google-earth.kmz" to database
2023-03-07T08:41:05.667341333Z Added mimetype "application/x-krita" to database
2023-03-07T08:41:05.967043554Z Added mimetype "text/x-ldif" to database
2023-03-07T08:41:06.292091634Z Added mimetype "application/vnd.lotus-wordpro" to database
2023-03-07T08:41:06.566878083Z Added mimetype "video/mp2t" to database
2023-03-07T08:41:06.831085567Z Added mimetype "audio/mpegurl" to database
2023-03-07T08:41:07.108828137Z Added mimetype "audio/m4b" to database
2023-03-07T08:41:07.408552113Z Added mimetype "application/x-freemind" to database
2023-03-07T08:41:07.480841454Z Added mimetype "application/x-mobipocket-ebook" to database
2023-03-07T08:41:07.761248986Z Added mimetype "application/x-msi" to database
2023-03-07T08:41:07.838869375Z Added mimetype "application/vnd.oasis.opendocument.formula" to database
2023-03-07T08:41:08.072299871Z Added mimetype "application/msonenote" to database
2023-03-07T08:41:08.291528459Z Added mimetype "text/org" to database
2023-03-07T08:41:08.616665147Z Added mimetype "application/x-font" to database
2023-03-07T08:41:08.689080989Z Added mimetype "application/x-php" to database
2023-03-07T08:41:08.908260256Z Added mimetype "application/x-perl" to database
2023-03-07T08:41:09.208443598Z Added mimetype "audio/x-scpls" to database
2023-03-07T08:41:09.499760440Z Added mimetype "application/vnd.ms-powerpoint" to database
2023-03-07T08:41:09.724458399Z Added mimetype "application/vnd.ms-powerpoint.template.macroEnabled.12" to database
2023-03-07T08:41:10.024326998Z Added mimetype "application/vnd.openxmlformats-officedocument.presentationml.template" to database
2023-03-07T08:41:10.114202214Z Added mimetype "application/vnd.ms-powerpoint.addin.macroEnabled.12" to database
2023-03-07T08:41:10.324244707Z Added mimetype "application/vnd.ms-powerpoint.slideshow.macroEnabled.12" to database
2023-03-07T08:41:10.399107444Z Added mimetype "application/vnd.openxmlformats-officedocument.presentationml.slideshow" to database
2023-03-07T08:41:10.615771689Z Added mimetype "application/vnd.ms-powerpoint.presentation.macroEnabled.12" to database
2023-03-07T08:41:10.690775259Z Added mimetype "text/x-python" to database
2023-03-07T08:41:10.913774540Z Added mimetype "application/x-rar-compressed" to database
2023-03-07T08:41:11.132238384Z Added mimetype "text/reveal" to database
2023-03-07T08:41:11.482240887Z Added mimetype "application/rss+xml" to database
2023-03-07T08:41:11.548717845Z Added mimetype "application/sgf" to database
2023-03-07T08:41:11.740636089Z Added mimetype "image/sgi" to database
2023-03-07T08:41:11.814010951Z Added mimetype "application/x-shockwave-flash" to database
2023-03-07T08:41:12.057058898Z Added mimetype "application/x-compressed" to database
2023-03-07T08:41:12.131965895Z Added mimetype "application/x-tar" to database
2023-03-07T08:41:12.306920335Z Added mimetype "application/vnd.garmin.tcx+xml" to database
2023-03-07T08:41:12.373499599Z Added mimetype "application/x-tex" to database
2023-03-07T08:41:12.598877657Z Added mimetype "image/tga" to database
2023-03-07T08:41:12.665102711Z Added mimetype "application/internet-shortcut" to database
2023-03-07T08:41:12.873716790Z Added mimetype "video/dvd" to database
2023-03-07T08:41:13.138253089Z Added mimetype "application/vnd.visio" to database
2023-03-07T08:41:13.331612410Z Added mimetype "application/vnd.ms-visio.drawing.macroEnabled.12" to database
2023-03-07T08:41:13.438328758Z Added mimetype "application/vnd.ms-visio.drawing" to database
2023-03-07T08:41:13.658520802Z Added mimetype "application/vnd.ms-visio.stencil.macroEnabled.12" to database
2023-03-07T08:41:13.746310943Z Added mimetype "application/vnd.ms-visio.stencil" to database
2023-03-07T08:41:13.990013082Z Added mimetype "application/vnd.ms-visio.template.macroEnabled.12" to database
2023-03-07T08:41:14.223679910Z Added mimetype "application/vnd.ms-visio.template" to database
2023-03-07T08:41:14.539607971Z Added mimetype "audio/wav" to database
2023-03-07T08:41:14.614455221Z Added mimetype "image/webp" to database
2023-03-07T08:41:15.021470354Z Added mimetype "application/font-woff" to database
2023-03-07T08:41:15.548857565Z Added mimetype "application/vnd.wordperfect" to database
2023-03-07T08:41:15.673152001Z Added mimetype "application/x-gimp" to database
2023-03-07T08:41:15.748139076Z Added mimetype "application/vnd.ms-excel.addin.macroEnabled.12" to database
2023-03-07T08:41:15.996375868Z Added mimetype "application/vnd.ms-excel.sheet.binary.macroEnabled.12" to database
2023-03-07T08:41:16.215527959Z Added mimetype "application/vnd.ms-excel.sheet.macroEnabled.12" to database
2023-03-07T08:41:16.697495539Z Added mimetype "application/vnd.ms-excel.template.macroEnabled.12" to database
2023-03-07T08:41:16.896147145Z Added mimetype "application/vnd.openxmlformats-officedocument.spreadsheetml.template" to database
2023-03-07T08:41:17.197819331Z Added mimetype "application/vnd.xmind.workbook" to database
2023-03-07T08:41:17.297136044Z Added mimetype "application/yaml" to database
2023-03-07T08:41:17.323606785Z Added 101 new mimetypes
2023-03-07T08:41:17.323753955Z Updated 0 filecache rows
2023-03-07T08:41:17.923032229Z System config value tempdirectory set to string /mnt/ncdata/tmp/
2023-03-07T08:41:17.940537743Z Applying one-click-instance settings...
2023-03-07T08:41:18.493557130Z System config value one-click-instance set to boolean true
2023-03-07T08:41:19.076128417Z System config value one-click-instance.user-limit set to integer 100
2023-03-07T08:41:19.656970291Z System config value one-click-instance.link set to string https://nextcloud.com/all-in-one/
2023-03-07T08:41:20.222951356Z support already enabled
2023-03-07T08:41:20.240527221Z Adjusting log files...
2023-03-07T08:41:20.794445452Z System config value logfile set to string /var/www/html/data/nextcloud.log
2023-03-07T08:41:21.374567870Z Config value logfile for app admin_audit set to /var/www/html/data/audit.log
2023-03-07T08:41:21.391668271Z Applying network settings...
2023-03-07T08:41:21.945548019Z System config value trusted_domains => 1 set to string sub.domain.com
2023-03-07T08:41:22.516229165Z System config value overwrite.cli.url set to string https://sub.domain.com/
2023-03-07T08:41:23.158640374Z System config value htaccess.RewriteBase set to string /
2023-03-07T08:41:23.753039981Z .htaccess has been updated
2023-03-07T08:41:24.329453556Z System config value files_external_allow_create_new_local set to boolean true
2023-03-07T08:41:26.705629773Z System config value trusted_proxies => 0 set to string 127.0.0.1
2023-03-07T08:41:27.301412938Z System config value trusted_proxies => 1 set to string ::1
2023-03-07T08:41:27.944047432Z Config value base_endpoint for app notify_push set to https://sub.domain.com/push
2023-03-07T08:41:29.843077635Z Config value wopi_url for app richdocuments set to https://sub.domain.com/
2023-03-07T08:41:30.415101441Z System config value allow_local_remote_servers set to boolean true
2023-03-07T08:41:31.926897977Z Config value wopi_allowlist for app richdocuments set to XX.XXX.XX.XX,127.0.0.1/8,192.168.0.0/16,172.16.0.0/12,10.0.0.0/8,fd00::/8,::1,2a02:908:1081:de80:211:32ff:fed5:7805
2023-03-07T08:41:32.525131171Z System config value enabledPreviewProviders => 0 set to string OC\Preview\Imaginary
2023-03-07T08:41:33.123795654Z System config value preview_imaginary_url set to string http://nextcloud-aio-imaginary:9000
2023-03-07T08:41:37.324167537Z {
2023-03-07T08:41:37.324592718Z     "search_platform": "OCA\\FullTextSearch_Elasticsearch\\Platform\\ElasticSearchPlatform",
2023-03-07T08:41:37.324654308Z     "app_navigation": "0",
2023-03-07T08:41:37.324688554Z     "provider_indexed": "{\"test_provider\":\"0\",\"deck\":\"1\",\"files\":\"1\"}",
2023-03-07T08:41:37.324739008Z     "cron_err_reset": "1677746357",
2023-03-07T08:41:37.324812301Z     "tick_ttl": "1800",
2023-03-07T08:41:37.324844060Z     "collection_indexing_list": "50",
2023-03-07T08:41:37.324873769Z     "migration_24": "1"
2023-03-07T08:41:37.324901977Z }
2023-03-07T08:41:37.902137060Z {
2023-03-07T08:41:37.902262655Z     "elastic_host": "http:\/\/nextcloud-aio-fulltextsearch:9200",
2023-03-07T08:41:37.902309966Z     "elastic_index": "nextcloud-aio",
2023-03-07T08:41:37.902340896Z     "fields_limit": "10000",
2023-03-07T08:41:37.902374571Z     "es_ver_below66": "0",
2023-03-07T08:41:37.902402519Z     "analyzer_tokenizer": "standard"
2023-03-07T08:41:37.902457584Z }
2023-03-07T08:41:38.474245646Z {
2023-03-07T08:41:38.474371182Z     "files_local": "1",
2023-03-07T08:41:38.474407967Z     "files_external": "0",
2023-03-07T08:41:38.474481267Z     "files_group_folders": "0",
2023-03-07T08:41:38.474510810Z     "files_encrypted": "0",
2023-03-07T08:41:38.474538425Z     "files_federated": "0",
2023-03-07T08:41:38.474563764Z     "files_size": "20",
2023-03-07T08:41:38.474591485Z     "files_pdf": "1",
2023-03-07T08:41:38.474616638Z     "files_office": "1",
2023-03-07T08:41:38.474645206Z     "files_image": "0",
2023-03-07T08:41:38.474670144Z     "files_audio": "0"
2023-03-07T08:41:38.474694887Z }
2023-03-07T08:41:42.539687705Z [07-Mar-2023 09:41:42] NOTICE: fpm is running, pid 1059
2023-03-07T08:41:42.540144446Z [07-Mar-2023 09:41:42] NOTICE: ready to handle connections
2023-03-07T08:41:52.328103196Z Activating collabora config...
2023-03-07T08:41:52.941704018Z Failed to activate any config changes
2023-03-07T08:41:53.047174894Z Server error: `GET https://sub.domain.com/hosting/discovery` resulted in a `502 Bad Gateway` response:
2023-03-07T08:41:53.047268671Z <html>
2023-03-07T08:41:53.047308079Z <head><title>502 Bad Gateway</title></head>
2023-03-07T08:41:53.047342787Z <body>
2023-03-07T08:41:53.047381023Z <center><h1>502 Bad Gateway</h1></center>
2023-03-07T08:41:53.047414375Z <hr><center>ngin (truncated...)
2023-03-07T08:41:53.047461851Z 
2023-03-07T08:41:53.047488103Z #0 /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php(69): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response), NULL, Array, NULL)
2023-03-07T08:41:53.047546204Z #1 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
2023-03-07T08:41:53.047585888Z #2 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
2023-03-07T08:41:53.047626377Z #3 /var/www/html/3rdparty/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
2023-03-07T08:41:53.047662422Z #4 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true)
2023-03-07T08:41:53.047698274Z #5 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
2023-03-07T08:41:53.047736452Z #6 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
2023-03-07T08:41:53.047770322Z #7 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
2023-03-07T08:41:53.047808715Z #8 /var/www/html/3rdparty/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
2023-03-07T08:41:53.047890536Z #9 /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php(187): GuzzleHttp\Promise\Promise->wait()
2023-03-07T08:41:53.047927534Z #10 /var/www/html/lib/private/Http/Client/Client.php(218): GuzzleHttp\Client->request('get', 'https://next.os...', Array)
2023-03-07T08:41:53.047964975Z #11 /var/www/html/custom_apps/richdocuments/lib/WOPI/DiscoveryManager.php(94): OC\Http\Client\Client->get('https://next.os...', Array)
2023-03-07T08:41:53.048004139Z #12 /var/www/html/custom_apps/richdocuments/lib/WOPI/DiscoveryManager.php(66): OCA\Richdocuments\WOPI\DiscoveryManager->fetchFromRemote()
2023-03-07T08:41:53.048040302Z #13 /var/www/html/custom_apps/richdocuments/lib/WOPI/Parser.php(41): OCA\Richdocuments\WOPI\DiscoveryManager->get()
2023-03-07T08:41:53.048078298Z #14 /var/www/html/custom_apps/richdocuments/lib/Command/ActivateConfig.php(68): OCA\Richdocuments\WOPI\Parser->getUrlSrc('Capabilities')
2023-03-07T08:41:53.048117113Z #15 /var/www/html/custom_apps/recognize/vendor/symfony/console/Command/Command.php(298): OCA\RichDocuments\Command\ActivateConfig->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2023-03-07T08:41:53.048170581Z #16 /var/www/html/custom_apps/recognize/vendor/symfony/console/Application.php(1040): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2023-03-07T08:41:53.048215725Z #17 /var/www/html/custom_apps/recognize/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand(Object(OCA\RichDocuments\Command\ActivateConfig), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2023-03-07T08:41:53.048263521Z #18 /var/www/html/custom_apps/recognize/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2023-03-07T08:41:53.048304474Z #19 /var/www/html/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
2023-03-07T08:41:53.048347215Z #20 /var/www/html/console.php(100): OC\Console\Application->run()
2023-03-07T08:41:53.048381434Z #21 /var/www/html/occ(11): require_once('/var/www/html/c...')
2023-03-07T08:41:53.048432196Z #22 {main}

Can you change this to proxy_pass http://127.0.0.1:11000$request_uri; and try again?

BTW, is Nginx running on the host or in its own container?

Its running on the host.

Does this make it work?

Changed the proxy_pass to:

 location / {
        resolver localhost; # Note: you need to set a valid dns resolver here or use 127.0.0.1 / [::1] instead of localhost in the line below. See https://stackoverflow.com/a/49642310 for a better explanation
        proxy_pass http://127.0.0.1:11000$request_uri; # Note: you need to change localhost to 127.0.0.1 or [::1], if you don't use a valid dns resolver in the line above

But can’t see a different. No connection to collabora online-servers and its not possible to open files.

Do you still get the 502 error when running curl -vvv https://$NC_DOMAIN:443/hosting/discovery from inside the nextcloud container?

Forgot to check the connection but still 502:

* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 128)!
< HTTP/2 502 
< date: Tue, 07 Mar 2023 10:08:59 GMT
< content-length: 0
< 
* Connection #0 to host sub.domain.com left intact
bash-5.1# 

So this is then something that you need to fix in your infrastructure. Possibly your router is the culprit here or you need to adjust your firewall but no way for me to find out unfortunately because it works here on my test instance without any problem.

Okay…
I found the error/problem:
When checking the Githib Issus/discussions I found this thread/solution:

Maybe somebody should add -e COLLABORA_SECCOMP_DISABLED=true to the Synology how to:

I am not sure if seccomp really does not work any device of synology that is why it was not added there.

Ah okay, not sure either. I understood that all Synology models are affected.
Nevermind it is working and everything so much faster now.