Description
Hi, i have Debian 11 and Rocketchat via snap.
i make upgrade from 3x to 4x, then to 5x and all was OK
From 5 to 6 i have this error :
root@webserver:~# sudo snap refresh rocketchat-server
2023-05-25T12:14:15+02:00 INFO Waiting for “snap.rocketchat-server.rocketchat-mongo.service” to stop.
error: cannot perform the following tasks:
- Start snap “rocketchat-server” (1557) services (systemctl command [start snap.rocketchat-server.rocketchat-mongo.service] failed with exit status 1: Job for snap.rocketchat-server.rocketchat-mongo.service failed because the control process exited with error code.
See “systemctl status snap.rocketchat-server.rocketchat-mongo.service” and “journalctl -xe” for details.
)
Server Setup Information
root@webserver:~# snap info rocketchat-server
name: rocketchat-server
summary: Rocket.Chat server
publisher: Rocket.Chat (rocketchat✓)
license: unset
description: |
Have your own Slack like online chat, built with Meteor. https://rocket.chat/
commands:
- rocketchat-server.backupdb
- rocketchat-server.mongo
- rocketchat-server.restoredb
services:
rocketchat-server.rocketchat-caddy: simple, enabled, inactive
rocketchat-server.rocketchat-mongo: forking, enabled, active
rocketchat-server: simple, enabled, active
snap-id: wdBUbiEuMNHmAHLBCXQXOcXaOCvbWS1e
tracking: 6.x/stable
refresh-date: today at 10:04 CEST
channels:
6.x/stable: 6.2.2 2023-05-19 (1557) 317MB -
6.x/candidate: ↑
6.x/beta: ↑
6.x/edge: 6.2.2 2023-05-19 (1557) 317MB -
latest/stable: 6.1.5 2023-04-26 (1547) 326MB -
latest/candidate: ↑
latest/beta: ↑
latest/edge: ↑
5.x/stable: 5.4.10 2023-05-19 (1556) 301MB -
5.x/candidate: 5.4.4 2023-03-09 (1540) 300MB -
5.x/beta: 5.4.4 2023-03-09 (1540) 300MB -
5.x/edge: 5.4.10 2023-05-19 (1556) 301MB -
4.x/stable: 4.8.7 2022-12-04 (1533) 281MB -
4.x/candidate: ↑
4.x/beta: ↑
4.x/edge: ↑
installed: 5.4.10 (1555) 301MB -
info from journalctl -xe
May 25 12:51:47 webserver audit[16961]: AVC apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/16961/net/netstat” pid=16961 comm=“ftdc” requested_mask>
May 25 12:51:47 webserver audit[16961]: AVC apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/16961/net/snmp” pid=16961 comm=“ftdc” requested_mask=“r>
May 25 12:51:47 webserver audit[16961]: AVC apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=”/proc/16961/mountinfo" pid=16961 comm=“ftdc” requested_mask=“>
May 25 12:51:47 webserver audit[16961]: AVC apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=”/proc/vmstat" pid=16961 comm=“ftdc” requested_mask=“r” denied>
May 25 12:51:48 webserver kernel: audit: type=1400 audit(1685011907.999:41505): apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/16961/net/netstat” >
May 25 12:51:48 webserver kernel: audit: type=1400 audit(1685011907.999:41506): apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/16961/net/snmp” pid>
May 25 12:51:48 webserver kernel: audit: type=1400 audit(1685011907.999:41507): apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/16961/mountinfo” pi>
May 25 12:51:48 webserver kernel: audit: type=1400 audit(1685011907.999:41508): apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/vmstat” pid=16961 c>
May 25 12:51:48 webserver audit[16961]: AVC apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/16961/net/netstat” pid=16961 comm=“ftdc” requested_mask>
May 25 12:51:48 webserver audit[16961]: AVC apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/16961/net/snmp” pid=16961 comm=“ftdc” requested_mask=“r>
May 25 12:51:48 webserver audit[16961]: AVC apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=”/proc/16961/mountinfo" pid=16961 comm=“ftdc” requested_mask=“>
May 25 12:51:48 webserver audit[16961]: AVC apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=”/proc/vmstat" pid=16961 comm=“ftdc” requested_mask=“r” denied>
May 25 12:51:49 webserver kernel: audit: type=1400 audit(1685011908.999:41509): apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/16961/net/netstat” >
May 25 12:51:49 webserver kernel: audit: type=1400 audit(1685011908.999:41510): apparmor=“DENIED” operation=“open” profile=“snap.rocketchat-server.rocketchat-mongo” name=“/proc/16961/net/snmp” pid>
Any ideas ?