ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.9k stars 1.1k forks source link

Custom http port gets reset #3015

Open mir123 opened 8 hours ago

mir123 commented 8 hours ago

This issue is unique.

Operating System of DocumentServer

Linux (DEB package)

Version information

8.2.1-38

Expected Behavior

Custom port settings in Nginx persist

Actual Behavior

Http port in ds.conf gets reset with https port every few days

Reproduction Steps

Upgrade OnlyOffice documentserver to 8.2.1-38 in Ubuntu and this new behavior occurs.

Additional information

I set a custom port in debconf before installation and then hand edited etc/onlyoffice/documentserver/nginx/ds.conf to set a custom port for http. This worked ok until upgrade, then ds.conf ended up with https port copied to http. I fixed this but it got reset again! From logs it seems the reset, whoever is doing it, includes an attempt to restart Nginx. But Nginx can't start because ports collide.