Ubuntu Softwer app not loading

The snap-store app “Ubuntu Software” on Ubuntu 20.04.1 is not loading up properly. Screenshot attached.

There are some error messages from dmesg related to apparmor denied access to not existing folders:

[ 1602.943923] audit: type=1400 audit(1604895366.605:8063): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/mime.cache" pid=2480 co
mm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.943953] audit: type=1400 audit(1604895366.605:8064): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/globs2" pid=2480 comm="
snap-store" requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.943981] audit: type=1400 audit(1604895366.605:8065): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/magic" pid=2480 comm=“s
nap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.944004] audit: type=1400 audit(1604895366.605:8066): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/aliases" pid=2480 comm=
“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.944026] audit: type=1400 audit(1604895366.605:8067): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/subclasses" pid=2480 co
mm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.944048] audit: type=1400 audit(1604895366.605:8068): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/icons" pid=2480 comm=“s
nap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1602.944069] audit: type=1400 audit(1604895366.605:8069): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/generic-icons" pid=2480
comm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.473250] audit: type=1400 audit(1604895407.133:8070): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/mime.cache" pid=2480 co
mm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.473648] audit: type=1400 audit(1604895407.133:8071): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/globs2" pid=2480 comm="
snap-store" requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.473885] audit: type=1400 audit(1604895407.133:8072): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/magic" pid=2480 comm=“s
nap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.474022] audit: type=1400 audit(1604895407.133:8073): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/aliases" pid=2480 comm=
“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.474137] audit: type=1400 audit(1604895407.133:8074): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/subclasses" pid=2480 co
mm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.474250] audit: type=1400 audit(1604895407.133:8075): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/icons" pid=2480 comm=“s
nap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1643.474370] audit: type=1400 audit(1604895407.133:8076): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/generic-icons" pid=2480
comm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 1713.804975] CE: hpet increased min_delta_ns to 11521 nsec
[ 1739.221352] audit: type=1400 audit(1604895502.881:8077): apparmor=“DENIED” operation=“open” profile=“snap.snap-store.snap-store” name="/var/lib/snapd/hostfs/usr/share/mime/mime.cache" pid=25361 comm="
snap-store" requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0

Any idea why?

anyone has any clue on this issue?

What is printed if you run snap-store.ubuntu-software from a terminal?

nothing is printed, just the ubuntu software app opens up

after an os reboot, the “Explore” tab loads up all apps. But the “Installed” tab does not load the installed snaps

with some more dmesg:

[ 815.533278] kauditd_printk_skb: 3153 callbacks suppressed
[ 815.533281] audit: type=1400 audit(1605166233.183:9733): apparmor=“DENIED” operation=“open” profil
e=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/mime.cache" pid=2456 c
omm=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 815.533286] audit: type=1400 audit(1605166233.183:9734): apparmor=“DENIED” operation=“open” profil
e=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/globs2" pid=2456 comm=
“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 815.533289] audit: type=1400 audit(1605166233.183:9735): apparmor=“DENIED” operation=“open” profil
e=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/magic" pid=2456 comm="
snap-store" requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0
[ 815.533292] audit: type=1400 audit(1605166233.183:9736): apparmor=“DENIED” operation=“open” profil
e=“snap.snap-store.ubuntu-software” name="/var/lib/snapd/hostfs/usr/share/mime/aliases" pid=2456 comm
=“snap-store” requested_mask=“r” denied_mask=“r” fsuid=1000 ouid=0

I have installed the “gnome-software” from apt and that actually shows all installed apps.

@robert.ancell might be able to help debug the problem. The AppArmor denials for mime should be harmless, and probably don’t point at the root cause. Hopefully we can silence them in a future version of the snap.

Hi @jamesh
Same issue here with two fresh ubuntu install and snap store search function (obn the web page) also down, so this might be an issue on Ubuntu snap server side right ?

Try kill the app and restart.