Snaps stopped working Ubuntu 20.10

Hello,

On a 3 weeks freshly installed Ubuntu 20.10, this morning I booted it up and all snap weren’t mounted. So I just rebooted and snaps got mounted but none of the apps runs !

~ » snap run vlc
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
Error: unable to open display :1
VLC media player 3.0.12.1 Vetinari (revision 3.0.12.1-0-g170157402b)
xcb_connection_has_error() returned true
[000055f32dc82ca0] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
[000055f32dc94ae0] main interface error: no suitable interface module
[000055f32dbd7a00] main libvlc error: interface "globalhotkeys,none" initialization failed
[000055f32dbd7a00] main libvlc: Lancement de vlc avec l'interface par défaut. Utiliser « cvlc » pour démarrer VLC sans interface.
[000055f32dc94ae0] skins2 interface error: cannot initialize OSFactory
[000055f32dbcd3c0] main playlist: playlist is empty
[000055f32dc94ae0] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.12.1 Vetinari
Command Line Interface initialized. Type `help' for help.
>
~ » snap run signal-desktop 
/snap/signal-desktop/351/snap/command-chain/desktop-launch: line 50: /home/lox/.config/user-dirs.dirs: Permission denied
sed: can't read /home/lox/.config/user-dirs.dirs: Permission denied
/snap/signal-desktop/351/snap/command-chain/desktop-launch: line 251: /home/lox/.config/user-dirs.dirs: Permission denied
cp: cannot open '/home/lox/.config/user-dirs.locale' for reading: Permission denied
/snap/signal-desktop/351/snap/command-chain/desktop-launch: line 256: /home/lox/.config/user-dirs.locale: Permission denied
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
/snap/signal-desktop/351/snap/command-chain/desktop-launch: line 20: /snap/signal-desktop/351/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: No such file or directory
ERROR: /snap/signal-desktop/351/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127
/snap/signal-desktop/351/opt/Signal/signal-desktop: error while loading shared libraries: libatk-1.0.so.0: cannot open shared object file: No such file or directory
~ » snap run spotify
/snap/spotify/46/bin/desktop-launch: line 51: /home/lox/.config/user-dirs.dirs: Permission denied

(spotify:33112): Gtk-WARNING **: 12:54:04.604: cannot open display: :1
~ » ls -lah /home/lox/.config/user-dirs.dirs
-rw------- 1 lox lox 640 mars   9 10:44 /home/lox/.config/user-dirs.dirs
~ » sudo snap version                
snap    2.49.2
snapd   2.49.2
series  16
ubuntu  20.10
kernel  5.8.0-48-generic

How could this have happened ? Reinstalling snaps do work, but I lose all settings, like my whole Signal chat history … There should be a way to fix it for all installed snaps.

Sorry that this problem happened on your machine. To help us debug this further, please provide the output of the following commands:

  • sudo journalctl -u snapd
  • snap connections
  • snap changes