Issues with apparmor?

Hi guys,

Just did a shutdown of my vm, to do some maintenance.

Everything before and after was ok - however upon starting my machine back up i get alot of:

[ 119.996370] audit: type=1400 audit(1536907140.584:245): apparmor=“DENIED” operation=“file_mmap” profile=“snap.nextcloud.apache” name="/" pid=16294 comm=“php” requested_mask=“w” denied_mask=“w” fsuid=0 ouid=0
[ 120.434186] audit: type=1400 audit(1536907141.024:246): apparmor=“DENIED” operation=“file_mmap” profile=“snap.nextcloud.apache” name="/" pid=16340 comm=“php” requested_mask=“w” denied_mask=“w” fsuid=0 ouid=0
[ 120.866272] audit: type=1400 audit(1536907141.456:247): apparmor=“DENIED” operation=“file_mmap” profile=“snap.nextcloud.apache” name="/" pid=16387 comm=“php” requested_mask=“w” denied_mask=“w” fsuid=0 ouid=0
[ 121.302953] audit: type=1400 audit(1536907141.892:248): apparmor=“DENIED” operation=“file_mmap” profile=“snap.nextcloud.apache” name="/" pid=16433 comm=“php” requested_mask=“w” denied_mask=“w” fsuid=0 ouid=0
[ 122.053253] audit: type=1400 audit(1536907142.644:249): apparmor=“DENIED” operation=“file_mmap” profile=“snap.nextcloud.apache” name="/" pid=16606 comm=“php” requested_mask=“w” denied_mask=“w” fsuid=0 ouid=0
[ 122.498613] audit: type=1400 audit(1536907143.088:250): apparmor=“DENIED” operation=“file_mmap” profile=“snap.nextcloud.apache” name="/" pid=16655 comm=“php” requested_mask=“w” denied_mask=“w” fsuid=0 ouid=0
[ 122.932180] audit: type=1400 audit(1536907143.520:251): apparmor=“DENIED” operation=“file_mmap” profile=“snap.nextcloud.apache” name="/" pid=16702 comm=“php” requested_mask=“w” denied_mask=“w” fsuid=0 ouid=0
[ 123.374084] audit: type=1400 audit(1536907143.964:252): apparmor=“DENIED” operation=“file_mmap” profile=“snap.nextcloud.apache” name="/" pid=16750 comm=“php” requested_mask=“w” denied_mask=“w” fsuid=0 ouid=0

And of course nextcloud isn’t working anymore - any ideas as to why/what the issue is?

Also this, so it appears it stops everything related to nextcloud from running:

[ 12.346737] audit: type=1400 audit(1536909728.584:40): apparmor=“DENIED” operation=“exec” profile=“snap.nextcloud.mysql” name="/bin/systemctl" pid=1346 comm=“mysql.server” requested_mask=“x” denied_mask=“x” fsuid=0 ouid=0
[ 13.014465] audit: type=1400 audit(1536909729.252:41): apparmor=“DENIED” operation=“open” profile=“snap.nextcloud.renew-certs” name="/proc/1235/mounts" pid=1235 comm=“python2” requested_mask=“r” denied_mask=“r” fsuid=0 ouid=0

Details of system:

Name Version Rev Tracking Publisher Notes
core 16-2.35 5328 stable canonical✓ core
nextcloud 13.0.5snap1 8267 stable nextcloud✓ -

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic