Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yunohost install leaves default NodeJS port, which causes conflicts. #78

Open
czen opened this issue May 27, 2022 · 0 comments
Open

Yunohost install leaves default NodeJS port, which causes conflicts. #78

czen opened this issue May 27, 2022 · 0 comments

Comments

@czen
Copy link

czen commented May 27, 2022

Install script doesn't setup port for internal NodeJS server.

NodeJS server for onlyoffice document server is setup via supervisord with config in /etc/supervisor/conf.d/ds-docservice.conf
Config for NodeJS server is in /etc/onlyoffice/documentserver/default.json
There is a port setting in this default.json
The only command to change app ports in current Yunohost OnlyOffice install script is this:

echo onlyoffice-documentserver onlyoffice/ds-port select $port | debconf-set-selections

This sets up the port that nginx would listen on to serve static content and reverse proxy to the NodeJS server.

If you only setup the nginx port and leave default 8000 for NodeJS, 8000 would conflict with some other app on the system or with app installed via Yunohost. NodeJS server won't start, Only welcome page would work.

This package was public for 2 years at this point. How would nobody stumble on this obvious problem is beyond my understanding.
Did no one ever try to install document server alongside any other packages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant