Mais le projet à encore besoin de quelques fixes notamment la sélection d’un port à l’installation et aussi pouvoir installer l’app sur le même domaine que une autre app puis aussi corriger le
Sorry, I was away for a few days.
A 502 error means that your server is having an error. The good part is that means that your server is answering the request but is having some trouble.
The bad part is, with a reverse proxy, it can be difficult to understand why…
The first thing to do in front of a 502 is to have a look to the log of your server. If you don’t have a specific log for this app, you should find some info about it in syslog.
You can try cat /var/log/syslog | grep onlyoffice to get some info from this log.
Also less /var/log/syslog to explore it, and then / onlyoffice to search through the log while you’re in the less command
INFO supervisord started with pid 28310
INFO spawnerr: can't find command 'node'
Only-office is using a systemd config file, this file has to be patched with the correct location of node.
The systemd script is here, /etc/systemd/system/multi-user.target.wants/supervisor.service, because supervisor is not using directly node, but taking it from PATH, you should have a look to the way etherpad is doing that.
Either you use sed to (prefer ynh_replace_string) to add the line you want in the script, or you use your own systemd script which you copy over the original one during the install.
The beta version works but it works with the official OnlyOffice commands. However the goal of this version is to be able to install it on the same domain as Nextcloud.
Could you tell me how to modify my script in order to install it on the same domain as Nextcloud?