Rocket Chat on Debian

Discussion in 'Server Operation' started by corto, Jan 6, 2020.

  1. corto

    corto Member

  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    If you create a website and install stuff there, that should work and not mess the ISPConfig setup. However, Rocket chat seems to need MongoDB so that may cause troubles since two database systems are installed.
     
  3. corto

    corto Member

    That's what i thought.
    i think that i can't use it on this server.
    thx for your answer Taleman
     
  4. Steini86

    Steini86 Active Member

  5. corto

    corto Member

  6. corto

    corto Member

    Was trying to install by snap paquage, first time i use this.
    But i have this error:

    sudo snap install rocketchat-server
    error: cannot perform the following tasks:
    - Mount snap "core" (8268) ([start snap-core-8268.mount] failed with exit status 1: Job for snap-core-8268.mount failed.
    See "systemctl status snap-core-8268.mount" and "journalctl -xe" for details.
    )

    What is it?
     
  7. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Nobody knows.
    But you can try to find out with
     
  8. corto

    corto Member

    i tried "systemctl..."
    here is the output:

    ● snap-core-8268.mount - Mount unit for core
    Loaded: loaded (/etc/systemd/system/snap-core-8268.mount; enabled; vendor preset: enabled)
    Active: failed (Result: exit-code) since Tue 2020-01-07 08:33:36 UTC; 35min ago
    Where: /snap/core/8268
    What: /var/lib/snapd/snaps/core_8268.snap
    Process: 8327 ExecMount=/bin/mount /var/lib/snapd/snaps/core_8268.snap /snap/core/8268 -t squashfs
    Failed to mount Mount unit for core.

    I'm sorry for noob questions, but i don't know what to do ....
     
  9. Steini86

    Steini86 Active Member

    What does the log tell you? (journalctl -xe)
     
  10. corto

    corto Member

    -- L'unité (unit) snap-core-8268.mount a commencé à démarrer.
    janv. 07 17:34:41 ns305249 systemd[1]: snap-core-8268.mount: Mount process exited, code=exited status=32
    janv. 07 17:34:41 ns305249 systemd[1]: Failed to mount Mount unit for core.
    -- Subject: L'unité (unit) snap-core-8268.mount a échoué
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- L'unité (unit) snap-core-8268.mount a échoué, avec le résultat failed.
    janv. 07 17:34:41 ns305249 systemd[1]: snap-core-8268.mount: Unit entered failed state.
    janv. 07 17:34:41 ns305249 /usr/lib/snapd/snapd[870]: task.go:303: DEBUG: 2020-01-07T17:34:41Z ERROR [start snap-core-8268.mount] failed with exit status 1: Job for snap-core-8268.mount failed.
    See "systemctl status snap-core-8268.mount" and "journalctl -xe" for details.
    janv. 07 17:34:41 ns305249 /usr/lib/snapd/snapd[870]: taskrunner.go:353: DEBUG: Running task 221 on Undo: Download snap "core" (8268) from channel "stable"
    janv. 07 17:34:53 ns305249 sshd[23050]: Connection closed by xx.21.7.162 port 47711 [preauth]
     
  11. Steini86

    Steini86 Active Member

    I have never tried to install snap packages with debian ... have you installed fuse first? apt install squashfuse
    Have you restarted your server after installation of snapd?
     
  12. corto

    corto Member

    Hello Steini86,
    Yes i have installed squshfuse, but in debian its via squashfs-tools.
    i rebooted my server, and tried to install another snap, and get same error.
    I tried to find on the web what should it be , and i think it's a kernel problem.
    i send a message to my hoster, but no news for now.
    I'm on ovhserver.
     
  13. Steini86

    Steini86 Active Member

  14. corto

    corto Member

    hello, no i can't because i have ispconfig on my server with sites on.
    And don't have MongoDb installed... this is why snap interested me a lot .
     
  15. Steini86

    Steini86 Active Member

    As far as I have seen, rocket.chat runs on a port which is not used by ispconfig, they should run smoothly in parallel
    Snap will also install a MongoDB because that is used by rocket.chat. It is just "inside" your snap package
     
  16. adamjedgar

    adamjedgar Member

    Snap is an Ubuntu package...it doesn't work on debian as far as I am aware.
    Also, snaps version of rocket chat is for a minimal Ubuntu system

    I have snaps rocket chat running on an ugh th system no problem...I stalled it just over 2 month ago.
    All administration is done via ssh with putty and snaps rocket chat console.

    I wouldn't run rocket chat on a system hosting websites, I think that is a bad idea. Buy a vps (Vultr or OVH have really cheap pricing) and put it on that
     
  17. corto

    corto Member

    yes i think it would be bettre to have a vps only for it.
     
  18. corto

    corto Member

    that's why i wanted to install by snap.
    but for now i can't.
     
  19. Steini86

    Steini86 Active Member

    Snap is available for Debian 9 and 10: https://snapcraft.io/docs/installing-snap-on-debian
    However, seems like corto's server does not allow installation. Searching the internet, there are quite a few people having problems with snap in a vm.
     
  20. corto

    corto Member

    Yes there is snap for debian 9 and 10.
    i contacted my hoster, and said that they can't do nothing.... and that if i want i can change kernel....
    But i don't want to do mistakes doing that.
     

Share This Page