502 Bad Gateway nginx

Hi,
I have already followed both Github installations instructions for both Nextcloud and OnlyOffice snap methods, I still think that there are only steps to do but no explanation about why we need to type in certain commands and the outcome of them.
So I have again installed first Onlyoffice, with the self signed certificate which is not recognaized by Nextcloud settings, nevertheless when I type in the IP address for Office after changing the SSL to 444 and the WELCOME page is opening well, I see the same error below. If you need a log file, kindly send its exact filename to retreive it for you.
Nextcloud has the Letsencrypt certificate properly installed in 2nd phase, the server is local so I disabled the ports on the router side.
I just need to use it on my lan for the moment then will open it on the WAN if all is working fine.

I did a search about that and did not find any solution using SNAP configuration so I don’t use postgr.

If it can help, content of my /etc/hosts file

127.0.0.1   localhost
# 127.0.1.1 localhost
172.27.1.200   next

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

sudo systemctl status snap.onlyoffice-ds.nginx
â—Ź snap.onlyoffice-ds.nginx.service - Service for snap application onlyoffice-ds.nginx
     Loaded: loaded (/etc/systemd/system/snap.onlyoffice-ds.nginx.service; enabled; preset: enabled)
     Active: active (running) since Thu 2026-08-13 21:54:02 EDT; 5min ago
   Main PID: 32011 (nginx-start.sh)
      Tasks: 3 (limit: 9045)
     Memory: 2.4M (peak: 10.2M)
        CPU: 295ms
     CGroup: /system.slice/snap.onlyoffice-ds.nginx.service
             ├─32011 /bin/bash /snap/onlyoffice-ds/1239/usr/sbin/nginx-start.sh
             ├─32067 "nginx: master process /snap/onlyoffice-ds/1239/bin/nginx"
             └─32068 "nginx: worker process"

Aug 13 21:54:02 next systemd[1]: Started snap.onlyoffice-ds.nginx.service - Service for snap application onlyoffice-ds.nginx.
Aug 13 21:54:02 next onlyoffice-ds.nginx[32067]: nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/snap/onlyoffice-ds/current/etc/nginx/conf.d/ds.conf:34
Aug 13 21:54:02 next onlyoffice-ds.nginx[32067]: nginx: [warn] the "listen ... http2" directive is deprecated, use the "http2" directive instead in /var/snap/onlyoffice-ds/current/etc/nginx/conf.d/ds.conf:35

The deprecated line for http2 cannot be resolved as changes will automatically revert to original code.
I hope you can help me with this as I still have no update from your side, thank you.

Hi @software, welcome to the community!

Thanks for the detailed report — we tested the same build you’re running (9.3.1, revision 1239) with port 444 and a self-signed certificate, with the Nextcloud snap on the same machine, and /healthcheck answered normally. So the port and the certificate aren’t the cause here.

Two quick notes: the snap ships its own database, so there’s nothing for you to configure there, and the http2 warning in your output is harmless.

Your output covers the nginx service only. Could you post the output of:

  1. snap services onlyoffice-ds
  2. sudo snap logs onlyoffice-ds -n 200

That should show which part isn’t coming up.

Hi Nurullo,

Thank you for your kind help and welcoming message, here is the output of your inquiry:

snap services onlyoffice-ds
Service                       Startup  Current  Notes
onlyoffice-ds.documentserver  enabled  active   -
onlyoffice-ds.mysql           enabled  active   -
onlyoffice-ds.nginx           enabled  active   -
onlyoffice-ds.rabbitmq        enabled  active   -

sudo snap logs onlyoffice-ds -n 200
2026-09-23T11:10:48-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:48,359 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:10:48-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:48,904 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:10:49-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:49,910 INFO spawned: 'docservice' with pid 2912983
2026-09-23T11:10:50-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:50,913 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:10:51-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:51,470 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:10:52-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:52,476 INFO spawned: 'docservice' with pid 2913002
2026-09-23T11:10:53-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:53,481 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:10:54-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:54,025 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:10:55-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:55,030 INFO spawned: 'docservice' with pid 2913022
2026-09-23T11:10:56-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:56,035 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:10:56-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:56,568 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:10:57-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:57,574 INFO spawned: 'docservice' with pid 2913041
2026-09-23T11:10:58-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:58,577 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:10:59-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:10:59,123 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:00-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:00,129 INFO spawned: 'docservice' with pid 2913062
2026-09-23T11:11:01-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:01,132 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:01-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:01,707 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:02-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:02,712 INFO spawned: 'docservice' with pid 2913082
2026-09-23T11:11:03-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:03,715 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:04-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:04,263 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:05-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:05,270 INFO spawned: 'docservice' with pid 2913103
2026-09-23T11:11:06-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:06,274 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:06-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:06,818 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:07-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:07,823 INFO spawned: 'docservice' with pid 2913132
2026-09-23T11:11:08-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:08,826 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:09-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:09,376 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:10-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:10,383 INFO spawned: 'docservice' with pid 2913151
2026-09-23T11:11:11-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:11,387 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:12-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:12,058 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:13-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:13,063 INFO spawned: 'docservice' with pid 2913204
2026-09-23T11:11:14-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:14,067 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:14-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:14,614 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:15-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:15,620 INFO spawned: 'docservice' with pid 2913222
2026-09-23T11:11:16-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:16,624 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:17-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:17,214 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:18-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:18,220 INFO spawned: 'docservice' with pid 2913243
2026-09-23T11:11:19-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:19,222 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:19-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:19,790 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:20-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:20,796 INFO spawned: 'docservice' with pid 2913264
2026-09-23T11:11:21-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:21,800 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:22-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:22,381 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:23-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:23,388 INFO spawned: 'docservice' with pid 2913283
2026-09-23T11:11:24-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:24,390 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:24-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:24,945 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:25-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:25,951 INFO spawned: 'docservice' with pid 2913303
2026-09-23T11:11:26-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:26,954 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:27-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:27,520 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:28-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:28,527 INFO spawned: 'docservice' with pid 2913322
2026-09-23T11:11:29-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:29,532 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:30-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:30,100 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:31-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:31,106 INFO spawned: 'docservice' with pid 2913343
2026-09-23T11:11:32-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:32,109 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:32-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:32,691 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:33-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:33,696 INFO spawned: 'docservice' with pid 2913361
2026-09-23T11:11:34-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:34,699 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:35-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:35,276 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:36-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:36,282 INFO spawned: 'docservice' with pid 2913382
2026-09-23T11:11:37-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:37,286 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:37-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:37,817 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:38-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:38,823 INFO spawned: 'docservice' with pid 2913400
2026-09-23T11:11:39-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:39,828 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:40-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:40,374 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:41-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:41,380 INFO spawned: 'docservice' with pid 2913421
2026-09-23T11:11:42-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:42,384 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:42-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:42,971 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:43-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:43,977 INFO spawned: 'docservice' with pid 2913441
2026-09-23T11:11:44-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:44,979 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:45-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:45,579 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:46-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:46,586 INFO spawned: 'docservice' with pid 2913460
2026-09-23T11:11:47-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:47,588 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:48-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:48,180 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:49-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:49,187 INFO spawned: 'docservice' with pid 2913481
2026-09-23T11:11:50-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:50,189 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:50-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:50,757 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:51-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:51,764 INFO spawned: 'docservice' with pid 2913499
2026-09-23T11:11:52-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:52,766 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:53-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:53,363 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:54-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:54,369 INFO spawned: 'docservice' with pid 2913520
2026-09-23T11:11:55-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:55,372 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:55-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:55,943 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:56-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:56,950 INFO spawned: 'docservice' with pid 2913540
2026-09-23T11:11:57-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:57,952 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:11:58-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:58,501 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:11:59-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:11:59,507 INFO spawned: 'docservice' with pid 2913559
2026-09-23T11:12:00-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:00,512 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:01-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:01,069 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:02-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:02,076 INFO spawned: 'docservice' with pid 2913580
2026-09-23T11:12:03-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:03,078 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:03-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:03,590 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:04-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:04,596 INFO spawned: 'docservice' with pid 2913598
2026-09-23T11:12:05-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:05,600 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:06-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:06,201 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:07-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:07,207 INFO spawned: 'docservice' with pid 2913619
2026-09-23T11:12:08-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:08,210 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:08-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:08,738 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:09-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:09,744 INFO spawned: 'docservice' with pid 2913637
2026-09-23T11:12:10-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:10,749 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:11-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:11,357 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:12-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:12,363 INFO spawned: 'docservice' with pid 2913690
2026-09-23T11:12:13-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:13,367 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:13-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:13,899 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:14-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:14,905 INFO spawned: 'docservice' with pid 2913708
2026-09-23T11:12:15-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:15,910 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:16-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:16,487 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:17-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:17,493 INFO spawned: 'docservice' with pid 2913729
2026-09-23T11:12:18-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:18,495 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:19-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:19,061 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:20-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:20,067 INFO spawned: 'docservice' with pid 2913750
2026-09-23T11:12:21-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:21,068 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:21-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:21,591 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:22-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:22,597 INFO spawned: 'docservice' with pid 2913768
2026-09-23T11:12:23-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:23,599 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:24-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:24,173 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:25-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:25,179 INFO spawned: 'docservice' with pid 2913789
2026-09-23T11:12:26-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:26,183 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:26-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:26,725 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:27-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:27,731 INFO spawned: 'docservice' with pid 2913807
2026-09-23T11:12:28-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:28,736 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:29-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:29,274 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:30-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:30,280 INFO spawned: 'docservice' with pid 2913828
2026-09-23T11:12:31-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:31,285 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:31-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:31,849 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:32-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:32,854 INFO spawned: 'docservice' with pid 2913846
2026-09-23T11:12:33-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:33,857 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:34-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:34,437 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:35-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:35,443 INFO spawned: 'docservice' with pid 2913867
2026-09-23T11:12:36-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:36,448 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:37-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:37,031 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:38-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:38,037 INFO spawned: 'docservice' with pid 2913885
2026-09-23T11:12:39-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:39,043 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:39-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:39,618 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:40-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:40,625 INFO spawned: 'docservice' with pid 2913906
2026-09-23T11:12:41-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:41,629 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:42-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:42,204 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:43-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:43,210 INFO spawned: 'docservice' with pid 2913927
2026-09-23T11:12:44-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:44,214 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:44-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:44,798 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:45-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:45,804 INFO spawned: 'docservice' with pid 2913945
2026-09-23T11:12:46-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:46,808 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:47-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:47,367 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:48-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:48,373 INFO spawned: 'docservice' with pid 2913966
2026-09-23T11:12:49-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:49,376 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:49-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:49,928 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:50-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:50,934 INFO spawned: 'docservice' with pid 2913984
2026-09-23T11:12:51-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:51,938 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:52-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:52,555 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:53-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:53,561 INFO spawned: 'docservice' with pid 2914005
2026-09-23T11:12:54-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:54,564 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:55-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:55,140 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:56-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:56,144 INFO spawned: 'docservice' with pid 2914026
2026-09-23T11:12:57-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:57,146 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:12:57-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:57,686 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:12:58-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:58,693 INFO spawned: 'docservice' with pid 2914044
2026-09-23T11:12:59-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:12:59,696 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:00-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:00,240 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:01-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:01,246 INFO spawned: 'docservice' with pid 2914065
2026-09-23T11:13:02-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:02,248 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:02-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:02,823 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:03-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:03,829 INFO spawned: 'docservice' with pid 2914083
2026-09-23T11:13:04-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:04,833 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:05-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:05,406 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:06-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:06,413 INFO spawned: 'docservice' with pid 2914104
2026-09-23T11:13:07-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:07,416 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:07-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:07,997 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:09-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:09,003 INFO spawned: 'docservice' with pid 2914122
2026-09-23T11:13:10-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:10,006 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:10-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:10,602 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:11-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:11,606 INFO spawned: 'docservice' with pid 2914173
2026-09-23T11:13:12-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:12,607 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:13-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:13,184 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:14-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:14,192 INFO spawned: 'docservice' with pid 2914196
2026-09-23T11:13:15-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:15,194 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:15-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:15,791 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:16-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:16,796 INFO spawned: 'docservice' with pid 2914214
2026-09-23T11:13:17-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:17,802 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:18-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:18,391 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:19-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:19,397 INFO spawned: 'docservice' with pid 2914235
2026-09-23T11:13:20-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:20,400 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:20-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:20,942 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:21-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:21,948 INFO spawned: 'docservice' with pid 2914253
2026-09-23T11:13:22-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:22,953 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:23-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:23,637 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:24-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:24,642 INFO spawned: 'docservice' with pid 2914283
2026-09-23T11:13:25-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:25,646 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:26-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:26,202 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:27-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:27,207 INFO spawned: 'docservice' with pid 2914302
2026-09-23T11:13:28-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:28,214 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:28-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:28,783 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:29-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:29,788 INFO spawned: 'docservice' with pid 2914322
2026-09-23T11:13:30-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:30,792 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:31-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:31,419 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:32-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:32,425 INFO spawned: 'docservice' with pid 2914343
2026-09-23T11:13:33-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:33,429 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:33-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:33,982 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:34-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:34,989 INFO spawned: 'docservice' with pid 2914361
2026-09-23T11:13:35-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:35,992 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:36-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:36,543 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)
2026-09-23T11:13:37-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:37,549 INFO spawned: 'docservice' with pid 2914382
2026-09-23T11:13:38-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:38,554 INFO success: docservice entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2026-09-23T11:13:39-04:00 onlyoffice-ds.documentserver[1874]: 2026-09-23 11:13:39,105 WARN exited: docservice (terminated by SIGILL (core dumped); not expected)

I hope this will help you find the issue.

Rony

@software, Thanks — that log helps. The docservice process keeps restarting, which is why nginx returns 502. So it’s not the port or the certificate.

To narrow down why, could you post:

  1. lscpu
  2. Is this a physical machine or a VM?

It is a physical desktop,

lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Address sizes: 48 bits physical, 48 bits virtual
Byte Order: Little Endian
CPU(s): 2
On-line CPU(s) list: 0,1
Vendor ID: AuthenticAMD
BIOS Vendor ID: AMD
Model name: AMD Phenom™ II X2 B57 Processor
BIOS Model name: AMD Phenom™ II X2 B57 Processor To Be Filled By O.E.M. CPU
@ 3.2GHz
BIOS CPU family: 236
CPU family: 16
Model: 4
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Stepping: 3
CPU(s) scaling MHz: 100%
CPU max MHz: 3200.0000
CPU min MHz: 800.0000
BogoMIPS: 6384.00
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 cl
flush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3d
nowext 3dnow constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid pni
monitor cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a mi
salignsse 3dnowprefetch osvw ibs skinit wdt nodeid_msr hw_pstate vmmcall n
pt lbrv svm_lock nrip_save
Virtualization features:
Virtualization: AMD-V
Caches (sum of all):
L1d: 128 KiB (2 instances)
L1i: 128 KiB (2 instances)
L2: 1 MiB (2 instances)
L3: 12 MiB (2 instances)
NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0,1
Vulnerabilities:
Gather data sampling: Not affected
Indirect target selection: Not affected
Itlb multihit: Not affected
L1tf: Not affected
Mds: Not affected
Meltdown: Not affected
Mmio stale data: Not affected
Reg file data sampling: Not affected
Retbleed: Not affected
Spec rstack overflow: Not affected
Spec store bypass: Not affected
Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Spectre v2: Mitigation; Retpolines; STIBP disabled; RSB filling; PBRSB-eIBRS Not affec
ted; BHI Not affected
Srbds: Not affected
Tsa: Not affected
Tsx async abort: Not affected
Vmscape: Not affected

Thank you.

@software thanks for the logs! they help a lot. docservice keeps crashing with SIGILL and restarting, that’s why nginx gives 502. SIGILL means the process tried to run a CPU instruction that your processor doesn’t have, so this looks like a hardware thing, not your config.

Could you run one more command so we can see exactly what’s failing:

sudo dmesg -T | grep -i trap

We’re looking into it on our side too.

That is a strange issue, the instruction gave a very long output difficult to copy, so here is an extraction, it looks all repetitive:

[Wed Sep 23 13:06:48 2026] traps: node[43578] trap invalid opcode ip:753a8c964d83 sp:7ffddcecb900 error:0 in libvips-cpp.so.42[753a8c750000+a02000]
[Wed Sep 23 13:06:51 2026] traps: node[43599] trap invalid opcode ip:7c2ee6167d83 sp:7fff98a656a0 error:0 in libvips-cpp.so.42[7c2ee5f53000+a02000]
[Wed Sep 23 13:06:53 2026] traps: node[43620] trap invalid opcode ip:7f6ccb169d83 sp:7ffd78444bb0 error:0 in libvips-cpp.so.42[7f6ccaf55000+a02000]
[Wed Sep 23 13:06:56 2026] traps: node[43638] trap invalid opcode ip:79e9b2167d83 sp:7ffdadff3a10 error:0 in libvips-cpp.so.42[79e9b1f53000+a02000]
[Wed Sep 23 13:06:59 2026] traps: node[43660] trap invalid opcode ip:76845e167d83 sp:7fffc4fff540 error:0 in libvips-cpp.so.42[76845df53000+a02000]
[Wed Sep 23 13:07:01 2026] traps: node[43678] trap invalid opcode ip:733221966d83 sp:7ffc6d6ef020 error:0 in libvips-cpp.so.42[733221752000+a02000]
[Wed Sep 23 13:07:04 2026] traps: node[43699] trap invalid opcode ip:735492968d83 sp:7ffdd94282e0 error:0 in libvips-cpp.so.42[735492754000+a02000]
[Wed Sep 23 13:07:06 2026] traps: node[43717] trap invalid opcode ip:7a7fc3169d83 sp:7ffee63e3200 error:0 in libvips-cpp.so.42[7a7fc2f55000+a02000]
[Wed Sep 23 13:07:09 2026] traps: node[43738] trap invalid opcode ip:7ea9a4964d83 sp:7fff5cfd8b70 error:0 in libvips-cpp.so.42[7ea9a4750000+a02000]
[Wed Sep 23 13:07:12 2026] traps: node[43791] trap invalid opcode ip:7bd545966d83 sp:7ffc9eba6aa0 error:0 in libvips-cpp.so.42[7bd545752000+a02000]
[Wed Sep 23 13:07:14 2026] traps: node[43809] trap invalid opcode ip:73c46d966d83 sp:7ffe8aed24c0 error:0 in libvips-cpp.so.42[73c46d752000+a02000]
[Wed Sep 23 13:07:17 2026] traps: node[43830] trap invalid opcode ip:7e8575966d83 sp:7ffdb764ef00 error:0 in libvips-cpp.so.42[7e8575752000+a02000]
[Wed Sep 23 13:07:19 2026] traps: node[43848] trap invalid opcode ip:70aeed165d83 sp:7ffd33f6aa60 error:0 in libvips-cpp.so.42[70aeecf51000+a02000]
[Wed Sep 23 13:07:22 2026] traps: node[43869] trap invalid opcode ip:7027b7169d83 sp:7fff15731550 error:0

Good day,

Any updates about my issue or you are still working on it.

Thank you.

Hi @software,

Yes — we have an answer, and your dmesg output is what pinned it down. docservice crashes inside libvips, which comes from a component loaded at startup since version 9.1. That library is built for a newer instruction set (SSSE3/SSE4.1/SSE4.2) which the Phenom II doesn’t have, so the process dies immediately and nginx has nothing behind it. Your config was never the problem.

As a workaround you could try 9.0.4 — the last version before that component was added. It’s not in the snap store, but there is a Docker image: onlyoffice/documentserver:9.0.4. You’d need to remove the snap first to free the ports.

We’re also looking at making this non-fatal on older CPUs in a future version, though we don’t have a date to share.

Hi Nurullo,

You are right and I recall that my Onlyoffice crashed after updating to 9.1 while it was working fine before that, I had to reinstall the whole system twice without success.

I chose Snap because it was simple to maintain and update, so I will have to reinstall all over again with docker Nextcloud and onlyoffice or just remove the snap version of Onlyoffice?

Thank you.

@software, That fits — the crash started with 9.1.

You shouldn’t need to redo everything — Nextcloud can most likely stay on snap, and only ONLYOFFICE would change. You can follow our guide for installing Docs with Docker: Installing ONLYOFFICE Docs on a local server using Docker

Two things for your setup:

  • Use the onlyoffice/documentserver:9.0.4 image instead of the latest one.
  • Map it to port 444 (-p 444:443), since Nextcloud already uses 443.

9.0.4 should start on your CPU, though we haven’t tested it on this hardware.

@Nurullo, I have installed Docker and Onlyoffice 9.0.4 as instructed, thank you for the help.

The Self signed certificate is working, I can access the example page: https://172.27.1.200:444/example/

But I have an error when trying to open any example file.

As for Nextcloud, it is not working and giving this:

Error when trying to connect (Error occurred in the document service: Error while downloading the document file to be converted.) (version 9.0.4.50)

Maybe it is related. Something is missing I think, when searching online, I see different suggestions but I am not sure which is faulty.

Please advise.

One more thing, the command to restart the docker is not clear:

sudo docker restart {{DOCUMENT_SERVER_ID}}

I don’t know the server ID and whether it needs to be in the brackets or not, so cannot do a restart using it.

I think I found it in the welcome page after docker exec.

Hi @software,

Glad 9.0.4 starts — that confirms the CPU was the cause.

The download error is most likely two Docker settings that are off by default: downloads from private IPs and self-signed certificates are both blocked. A restart won’t apply them — the container needs to be recreated:

sudo docker stop CONTAINER_ID
sudo docker rm CONTAINER_ID

sudo docker run -i -t -d -p 444:443 --restart=always
-v /app/onlyoffice/DocumentServer/data:/var/www/onlyoffice/Data
-e JWT_SECRET=your_secret
-e ALLOW_PRIVATE_IP_ADDRESS=true
-e USE_UNAUTHORIZED_STORAGE=true
onlyoffice/documentserver:9.0.4

Use the ID from docker ps (no brackets) and the same JWT secret as before.

Hi @Nurullo ,

You really pinned it and it is finally all working now, so much appreciation for your precious time and follow up in this matter, can’t thank you enough.

I will keep all the instructions if ever I meet any of those issues later.

So I will stay on v.9.4.0, should I do anything to prevent any automatic update to newer versions?

Hi @software,

Glad it’s working! Nothing to do — Docker won’t update on its own, so it stays on 9.0.4 until you change it yourself. Just don’t move to a newer version on this machine for now.