I’ve update OSMC through GUI to to new Bullseye version. After update KODI will not start. Instead some logon screen appear. If I try to login (KODI season) it does something and return back to logon screen in few seconds.
some info:
osmc@osmc:/$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
osmc@osmc:/$ sudo kodi
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
osmc@osmc:/$ sudo systemctl status mediacenter
● mediacenter.service - media center application
Loaded: loaded (/lib/systemd/system/mediacenter.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-09-23 08:46:43 CEST; 3h 31min ago
Main PID: 724 (mediacenter)
Tasks: 41 (limit: 3931)
CPU: 1h 26min 34.191s
CGroup: /system.slice/mediacenter.service
├─724 /bin/bash /usr/bin/mediacenter
├─762 sudo -u osmc LIRC_SOCKET_PATH=/var/run/lirc/lircd /usr/lib/kodi/kodi.bin --standalone -fs
└─763 /usr/lib/kodi/kodi.bin --standalone -fs
Old log is very big. Full of:
2022-09-22 22:19:17.433 T:824 INFO : CActiveAESink::OpenSink - initialize sink
2022-09-22 22:19:17.433 T:824 INFO : CAESinkALSA::Initialize - Attempting to open device “default”
2022-09-22 22:19:17.439 T:824 INFO : CAESinkALSA - Unable to open device “default” for playback
2022-09-22 22:19:17.439 T:824 ERROR : CAESinkALSA::Initialize - failed to initialize device “default”
2022-09-22 22:19:17.439 T:824 ERROR : CActiveAESink::OpenSink - no sink was returned
2022-09-22 22:19:17.439 T:823 ERROR : ActiveAE::InitSink - returned error
I have deleted old log and rebooted. I’ve been able to upload logs now:
osmc@osmc:~$ grab-logs -A
Grabbing log UNAME …
Grabbing log cmdline …
Grabbing log Debian version …
Grabbing log OSMC Build Information …
An error occurred while grabbing OSMC Build Information:
FileNotFoundError: [Errno 2] No such file or directory: ‘/etc/osmc_build_info’
Grabbing log Pi config …
Grabbing log Pi config-user …
Grabbing log GUI Settings (abridged) …
Grabbing log guisettings.xml …
Masking private information …
Grabbing log advancedsettings.xml …
An error occurred while grabbing advancedsettings.xml:
FileNotFoundError: [Errno 2] No such file or directory: ‘/home/osmc/.kodi/userdata/advancedsettings.xml’
Grabbing log sources.xml …
Masking private information …
Grabbing log fstab …
Masking private information …
Grabbing log mounts …
Grabbing log OSMC Packages …
Grabbing log All Other Packages …
Grabbing log APT term.log …
Grabbing log APT history.log …
Grabbing log APT sources.list …
Grabbing log APT apt.conf.d …
Grabbing log APT preferences.d …
Grabbing log APT sources.list.d …
Grabbing log System Journal …
Grabbing log lircd.conf …
Grabbing log init.d …
Grabbing log systemd …
Grabbing log Kernel Message Log …
Grabbing log Memory …
Grabbing log Diskspace …
Grabbing log /boot Contents …
Grabbing log edid-decode …
/sys/class/drm/card0-HDMI-A-1/edid: No such file or directory
An error occurred while grabbing edid-decode:
subprocess.CalledProcessError: Command ‘[’/usr/bin/edid-decode’, ‘/sys/class/drm/card0-HDMI-A-1/edid’]’ returned non-zero exit status 255.
Grabbing log ifconfig …
Grabbing log Kodi Log …
Masking private information …
Grabbing log Kodi Old Log …
Masking private information …
Writing logs to temp file …
Dispatching logs …
Logs successfully uploaded.
Logs available at https://paste.osmc.tv/qehocaduhe
Your system is heavily customised – you have Chrome and an X display server installed. I suspect that you probably have installed an incompatible version of MESA which is preventing Kodi from starting. The upgrade to Bullseye didn’t complete successfully – there are issues with udisks; likely because there is another automount daemon that has been installed.
You have installed PulseAudio as well which will lead to problems.
Chrome and X display server come from Chromium plugin:
I’m not aware of installing MESA drivers. It may come with other package.
There shouldn’t be any other automount deamon. I’ve added USB disk to fstab to make it available at boot time:
osmc@osmc:~$ cat /etc/fstab
/dev/mmcblk0p1 /boot vfat defaults,noatime,noauto,x-systemd.automount 0 0
UUID=“95e13a90-40c4-4f8a-b19c-efc20f1f2f51” /mnt/data ext4 defaults,nofail,noatime 0 0
There is no PulseAudio right now. I’ve removed it few minutes after installing it. (Trying to make bluetooth keybord connection persistent. It didn’t help. I managed it later without PulseAudio lib.)
I would rather not reinstall OSMC. I’ve put to much work into system.