site  contact  subhomenews

Kodi flatpak does not work

December 01, 2024 — BarryK

Balasubramaniam sent me an email, reporting that the Kodi flatpak will not start. Yes, I have confirmed:

# kodi
bwrap: Can't make symlink at /run: File exists

There has been online discussion about this for years, for example:

https://github.com/flatpak/flatpak/issues/5255

I don't know if updating EasyOS to a later version of flatpak will help; however, there is a quick hack that fixes Kodi:

# mkdir -p /media
# mv -f /tmp/run /runNEW
# rm -f /run
# mv -f /runNEW /run
# kodi

Folder /run is a symlink to /tmp/run, which confuses flatpak, so the above changes /run to an actual folder. That could be made into a script.

However, I'm not sure what will happen after a reboot; perhaps it would be best to shutdown without saving the session.

This needs to be fixed properly, but will have to be postponed for awhile.   

Tags: easy