Dashboard Inaccessible - low disk space temporarily - apparmor abstractions/snap_browsers issue
-
It seems one of my disks may have gotten temporarily low and cuased an issue, but i'm having a little trouble sussing it out. A package was also broken, but getting that sorted. I checked the troubleshooting list and running ' sudo /home/yellowtent/box/setup/start.sh' yeilds this error ultimately:
2024-03-26T20:37:24 ==> start: Cloudron Start
media500:
2024-03-26T20:37:25 ==> start: Configuring docker
Synchronizing state of apparmor.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable apparmor
Job for apparmor.service failed because the control process exited with error code.
See "systemctl status apparmor.service" and "journalctl -xeu apparmor.service" for details.server:~$ systemctl status apparmor.service
$ systemctl status apparmor.service
× apparmor.service - Load AppArmor profiles
Loaded: loaded (/lib/systemd/system/apparmor.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2024-03-26 20:37:27 EDT; 16s ago
Docs: man:apparmor(7)
https://gitlab.com/apparmor/apparmor/wikis/home/
Process: 190543 ExecStart=/lib/apparmor/apparmor.systemd reload (code=exited, status=1/FAILURE)
Main PID: 190543 (code=exited, status=1/FAILURE)
CPU: 386msMar 26 20:37:27 r00buntu-server apparmor.systemd[190543]: Restarting AppArmor
Mar 26 20:37:27 r00buntu-server apparmor.systemd[190543]: Reloading AppArmor profiles
Mar 26 20:37:27 r00buntu-server apparmor.systemd[190558]: AppArmor parser error for /etc/apparmor.d in profile /etc/apparmor.d/usr.bin.evince at line 32: Could no>
Mar 26 20:37:27 r00buntu-server apparmor.systemd[190569]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
Mar 26 20:37:27 r00buntu-server apparmor.systemd[190612]: AppArmor parser error for /etc/apparmor.d/usr.bin.evince in profile /etc/apparmor.d/usr.bin.evince at li>
Mar 26 20:37:27 r00buntu-server apparmor.systemd[190661]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
Mar 26 20:37:27 r00buntu-server apparmor.systemd[190543]: Error: At least one profile failed to load
Mar 26 20:37:27 r00buntu-server systemd[1]: apparmor.service: Main process exited, code=exited, status=1/FAILURE
Mar 26 20:37:27 r00buntu-server systemd[1]: apparmor.service: Failed with result 'exit-code'.
Mar 26 20:37:27 r00buntu-server systemd[1]: Failed to start Load AppArmor profiles. -
I created a new snap_browsers file at /etc/apparmor.d/abstractions/snap_browers based on this:
https://gitlab.com/apparmor/apparmor/-/blob/31c9cf6845cb78cca59a753d7c5b27312d579be8/profiles/apparmor.d/abstractions/snap_browsers
and it seems to have resolved it.Not sure why/how this happened though
-
@Supaiku does the Cloudron server have desktop environment installed (and maybe you have firefox as well) ?
-
-
-
@Supaiku did you manage to get it online atleast?
AppArmor parser error for /etc/apparmor.d in profile /etc/apparmor.d/usr.bin.evince at line 32: Could no>
The above profile seems to be the buggy one fwiw. Maybe delete it or fix that line.