YunoHost-Apps / rocketchat_ynh

Rocket.Chat package for YunoHost
https://rocket.chat/
GNU General Public License v3.0
16 stars 22 forks source link

Installation fails #58

Closed corentincharron closed 6 years ago

corentincharron commented 6 years ago

Hello, I'm trying to install Rocketchat, but I get the following error when doing it through the Yunohost administration interface:

sudo: mongo: command not found
Unknown service 'rocketchat'
Failed to stop rocketchat.service: Unit rocketchat.service not loaded.
!!
rocketchat's script has encountered an error. Its execution was cancelled.
!!
E: Unable to correct problems, you have held broken packages.
gpg: unchanged: 1
gpg: Total number processed: 1
gpg: key BC711F9BA15703C6: "MongoDB 3.4 Release Signing Key " not changed
Warning: apt-key output should not be parsed (stdout is not a terminal)

Any ideas for fixing that? Am I missing something ?

(Anyway, thanks for the work already :) )

selamanse commented 6 years ago

Hi sorry for the delay - I will be able to have a look within the next week. Can you please post some detail info about your yunohost and OS version, as well as how you install this package? Thank you.

corentincharron commented 6 years ago

No worries!

I install it through the administration interface, and this is my Yunohost diagnostic.

Though, I don't know where else to find more detailed logs regarding the Rocketchat installation

{
    "host": "Debian 9.5",
    "kernel": "4.9.124-xxxx-std-ipv6-64",
    "packages": {
        "yunohost": {
            "repo": "now",
            "version": "3.1.0"
        },
        "yunohost-admin": {
            "repo": "now",
            "version": "3.1.0"
        },
        "moulinette": {
            "repo": "now",
            "version": "3.1.0"
        },
        "ssowat": {
            "repo": "now",
            "version": "3.1.0"
        }
    },
    "backports": [],
    "system": {
        "disks": {
            "md2": "Mounted on /boot, 486.8MiB (457.6MiB free)",
            "md3": "Mounted on /, 19.1GiB (13.1GiB free)",
            "md4": "Mounted on /home, 1.8TiB (1.7TiB free)"
        },
        "memory": {
            "ram": "31.4GiB (28.7GiB free)",
            "swap": "1022.0MiB (992.2MiB free)"
        }
    },
    "nginx": [
        "nginx: the configuration file /etc/nginx/nginx.conf syntax is ok",
        "nginx: configuration file /etc/nginx/nginx.conf test is successful"
    ],
    "services": {
        "glances": "running (enabled)",
        "nslcd": "running (enabled)",
        "metronome": "running (enabled)",
        "slapd": "running (enabled)",
        "NAME_INIT.D": "unknown (unknown)",
        "postfix": "exited (enabled)",
        "rspamd": "running (enabled)",
        "yunohost-firewall": "exited (enabled)",
        "nginx": "running (enabled)",
        "php7.0-fpm": "running (enabled)",
        "dnsmasq": "running (enabled)",
        "ssh": "running (enabled)",
        "yunohost-api": "running (enabled)",
        "mysql": "running (enabled)",
        "avahi-daemon": "running (enabled)",
        "dovecot": "running (enabled)",
        "redis-server": "running (enabled)",
        "uwsgi": "running (enabled)",
        "fail2ban": "running (enabled)"
    },
    "applications": {
        "collaboradocker": "Office",
        "nextcloud__2": "Cloud",
        "osjs": "Desktop",
        "dokuwiki": "Wiki (Archive)",
        "ttrss": "News",
        "kanboard": "Task",
        "searx": "Search",
        "firefly-iii": "Money",
        "roundcube": "Mail"
    },
    "security": {
        "CVE-2017-5754": {
            "name": "meltdown",
            "vulnerable": false
        }
    }
}
selamanse commented 6 years ago

@Onectin I have filed a PR #59 which will most likely address your issues. You can test it by running installation of the ynh app from your ynh server command line: yunohost app install https://github.com/selamanse/rocketchat_ynh --debug. Please be so kind to post the full debug info here if some errors still occur. Thank you.

corentincharron commented 6 years ago

It does work :) Thanks a lot @selamanse