ONLYOFFICE Docs v6.4 with conditional formatting, new scaling options, and WOPI protocol support
ONLYOFFICE Docs v6.4 released

Nginx exit with error code

Report a bug
I installed OnlyOffice Docs following this guide and Nginx constantly stops working.

systemctl status nginx give me this:

● nginx.service - A high performance web server and a reverse proxy server
     Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
     Active: failed (Result: signal) since Fri 2021-08-20 00:00:49 BST; 6h ago
       Docs: man:nginx(8)
    Process: 44897 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
    Process: 44912 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
    Process: 141267 ExecReload=/usr/sbin/nginx -g daemon on; master_process on; -s reload (code=exited, status=0/SUCCESS)
   Main PID: 44913 (code=killed, signal=SEGV)
      Tasks: 0 (limit: 2317)
     Memory: 4.1M
     CGroup: /system.slice/nginx.service

Aug 18 10:10:07 GreenCloud.1629187004 systemd[1]: Starting A high performance web server and a reverse proxy server...
Aug 18 10:10:07 GreenCloud.1629187004 systemd[1]: Started A high performance web server and a reverse proxy server.
Aug 19 00:00:18 GreenCloud.1629187004 systemd[1]: Reloading A high performance web server and a reverse proxy server.
Aug 19 00:00:19 GreenCloud.1629187004 systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Aug 20 00:00:49 GreenCloud.1629187004 systemd[1]: Reloading A high performance web server and a reverse proxy server.
Aug 20 00:00:49 GreenCloud.1629187004 systemd[1]: Reloaded A high performance web server and a reverse proxy server.
Aug 20 00:00:49 GreenCloud.1629187004 systemd[1]: nginx.service: Main process exited, code=killed, status=11/SEGV
Aug 20 00:00:49 GreenCloud.1629187004 systemd[1]: nginx.service: Killing process 80602 (nginx) with signal SIGKILL.
Aug 20 00:00:49 GreenCloud.1629187004 systemd[1]: nginx.service: Killing process 80602 (nginx) with signal SIGKILL.
Aug 20 00:00:49 GreenCloud.1629187004 systemd[1]: nginx.service: Failed with result 'signal'.

Document Server version: How do I check it?
Type of installation of the Document Server: Package
OS: Ubuntu 20.04
Browser version:

Hello kingii.

Please note that we strongly recommend to use our official guides.

For Docker: Installing ONLYOFFICE Docs for Docker on a local server - ONLYOFFICE

For package: Installing ONLYOFFICE Docs for Debian, Ubuntu, and derivatives - ONLYOFFICE

Document Server version: How do I check it?

Please run apt list --installed | grep onlyoffice and show us the result.

Also please provide us with some additional information about your installation. Are you using clean OS? I mean no other apps are installed on the server.

As for the issue in general. Please execute this command unlink /etc/nginx/modules-enabled/50-mod-http-perl.conf. After that execute service nginx restart and check if the issue is reproduced again.

Hello Alexandre

I am currently using 6.3.2-2 version.
It was a clean OS, it’s running only Docs.

I will update if problem will happen again, thanks for your help.

1 Like