iOS mobile app gettigng kicked out ( apparmor related? )

Hello. I’m trying to implement NextCloud via snap from an instance of Ubuntu 21.10. I seem to have an issue shortly after logging in with my mobile app externally. After a few seconds or sometimes minutes it says there’s a server error and password re-entry is required.

I monitored the syslog and see AppArmor DENIED messages for snap.nextcloud.php-fpm. Below is the most recent… and I think it’s suppressing several more messages. Before this I had seen /root/.rnd so I created a directory by that name. It didn’t help so I removed it. Now I see different 'name’s below. Every 10 seconds there is a new batch of these errors.

Jan 31 11:18:10 server1 kernel: [816201.605579] kauditd_printk_skb: 194 callbacks suppressed
Jan 31 11:18:10 server1 kernel: [816201.605584] audit: type=1400 audit(1643645890.069:41275): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3663860/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
Jan 31 11:18:10 server1 kernel: [816201.605839] audit: type=1400 audit(1643645890.069:41276): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3662074/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
Jan 31 11:18:10 server1 kernel: [816201.605953] audit: type=1400 audit(1643645890.069:41277): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3659337/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
Jan 31 11:18:10 server1 kernel: [816201.606249] audit: type=1400 audit(1643645890.069:41278): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3652050/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
Jan 31 11:18:10 server1 kernel: [816201.606257] audit: type=1400 audit(1643645890.069:41279): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3646309/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
Jan 31 11:18:10 server1 kernel: [816201.606446] audit: type=1400 audit(1643645890.069:41280): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3469713/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=127
Jan 31 11:18:10 server1 kernel: [816201.606451] audit: type=1400 audit(1643645890.069:41281): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3460013/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
Jan 31 11:18:10 server1 kernel: [816201.606712] audit: type=1400 audit(1643645890.073:41282): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3218523/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
Jan 31 11:18:10 server1 kernel: [816201.606732] audit: type=1400 audit(1643645890.073:41283): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3218488/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000
Jan 31 11:18:10 server1 kernel: [816201.606744] audit: type=1400 audit(1643645890.073:41284): apparmor="DENIED" operation="open" profile="snap.nextcloud.php-fpm" name="/proc/3218397/comm" pid=3663472 comm="admin" requested_mask="r" denied_mask="r" fsuid=0 ouid=1000

Thanks for your help.