YunoHost-Apps / mumbleserver_ynh

Mumble server package for YunoHost
https://mumble.info
GNU Affero General Public License v3.0
10 stars 5 forks source link

Reinstall fail due to port already used #13

Closed M5oul closed 6 years ago

M5oul commented 7 years ago

After #9, some tests didn't pass (full logs).

It seems there is a problem when reinstallaling. The port is not available. The port is well freed at app removal.

2017-07-11 19:47:17,769 INFO     yunohost.hook <lambda> - [1350.1] + sudo yunohost app checkport 64738
2017-07-11 19:47:18,105 WARNING  moulinette.interface __call__ - 'yunohost app checkport' is deprecated and will be removed in the future
2017-07-11 19:47:18,106 WARNING  yunohost.hook <lambda> - [1350.1] 'yunohost app checkport' is deprecated and will be removed in the future
2017-07-11 19:47:20,062 INFO     moulinette.actionsmap process - processing action [1375.1]: yunohost.app.checkport
2017-07-11 19:47:20,167 ERROR    yunohost cli - Port 64738 is not available
2017-07-11 19:47:20,168 WARNING  yunohost.hook <lambda> - [1350.1] Port 64738 is not available
2017-07-11 19:47:20,363 INFO     yunohost.hook hook_exec - [1350.1] Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=mumbleserver YNH_CWD=/var/cache/yunohost/from_file/scripts YNH_APP_INSTANCE_NAME=mumbleserver BASH_XTRACEFD=7 /bin/bash -x "./remove" mumbleserver 7>&1'...

Where is the problem?

Jibec commented 6 years ago

fixed by https://github.com/YunoHost-Apps/mumbleserver_ynh/commit/fc8639d23d7ce662f3f15bc88cd3247ee57074cf