Great that you figured it out.
For someone who doesn’t know anything about linux it was a journey indeed.
I after some searching I came across these links:
And after figuring out orangepi debian uses /boot/orangepiEnv.txt, I edited the comments from the links and it worked
Comments I used
Apparmor:
apt install apparmor
echo "extraargs=apparmor=1 security=apparmor" >> /boot/orangepiEnv.txt
update-initramfs -u
reboot
Check
systemctl status apparmor.service
aa-status
CGroup:
Check current CGroup
findmnt -lo source,target,fstype,options -t cgroup,cgroup2
Enable CGroup v1
sed -i -e "1 s/$/ systemd.unified_cgroup_hierarchy=0/" /boot/orangepiEnv.txt
reboot
Check current CGroup again
findmnt -lo source,target,fstype,options -t cgroup,cgroup2
And it should say something different than before (check link)
This worked for me, there might be a more efficient way to do it.