Howto install Onlyoffice document server as Nextcloud app

Update from onlyoffice-documentserver 5.1.0 to 5.1.1 with the new nethserver-onlyoffice package works.
The new nethserver-onlyoffice package has the same version number as the latter (forced installation with yum reinstall).

Details

---> Package onlyoffice-documentserver.x86_64 0:5.1.0-115 will be updated
---> Package onlyoffice-documentserver.x86_64 0:5.1.1-23 will be an update
Failed to start The Apache HTTP Server (port conflict due to documentserver update changing nginx conf files?: fixed later by nethserver-onlyoffice)
Apr  8 00:07:29 server httpd: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
Apr  8 00:07:29 server httpd: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
Apr  8 00:07:29 server httpd: no listening sockets available, shutting down
Apr  8 00:07:29 server httpd: AH00015: Unable to open logs
Apr  8 00:07:29 server systemd: httpd.service: main process exited, code=exited, status=1/FAILURE
Apr  8 00:07:29 server kill: kill: cannot find process ""
Apr  8 00:07:29 server systemd: httpd.service: control process exited, code=exited status=1
Apr  8 00:07:29 server systemd: Failed to start The Apache HTTP Server.
Apr  8 00:07:29 server systemd: Unit httpd.service entered failed state.
Apr  8 00:07:29 server systemd: httpd.service failed.
yum reinstall https://smart-ict.services/mirror/devtest/nethserver-onlyoffice-0.0.1-3.ns7.noarch.rpm
---> Package nethserver-onlyoffice.noarch 0:0.0.1-3.ns7 will be reinstalled
nethserver-onlyoffice (/var/log/messages)
Apr  8 00:21:38 server esmith::event[2604]: expanding /#
Apr  8 00:21:38 server esmith::event[2604]: ERROR: No templates were found for /#.
Apr  8 00:21:38 server esmith::event[2604]: at /etc/e-smith/events/actions/generic_template_expand line 64.
Apr  8 00:21:38 server esmith::event[2604]: [WARNING] expansion of /# failed
Apr  8 00:21:38 server esmith::event[2604]: expanding /etc/nginx/conf.d/onlyoffice-documentserver.conf
Apr  8 00:21:38 server esmith::event[2604]: expanding /etc/onlyoffice/documentserver/default.json
Apr  8 00:21:38 server esmith::event[2604]: ERROR: No templates were found for /etc/onlyoffice/documentserver/default.json.
Apr  8 00:21:38 server esmith::event[2604]: at /etc/e-smith/events/actions/generic_template_expand line 64.
Apr  8 00:21:38 server esmith::event[2604]: [WARNING] expansion of /etc/onlyoffice/documentserver/default.json failed

Apr  8 00:22:02 server esmith::event[2604]: Event: nethserver-onlyoffice-update FAILED

Clean install went ok.
Update from 5.0.7 to 5.1.1 had the same problems as reported earlier, but worked after reinstall of onlyoffice-documentserver and issuing signal-event nethserver-onlyoffice-update

2 Likes