MariaDB addon not starting

  • The MariaDB service on my LibreElec 12.02 is suddenly not starting, so none of my media is showing up currently. I have uninstalled and re-installed the MariaDB serice add-on, but still no jot. I have enabled debugging and rebooted, but I see no errors in the kodi.log about the MariaDB service; in fact, it seems to show that it started up OK:

    That is all there is in the log about MariaDB. Trying to start it automatically shows no error either; it just returns back to the command line like it started without issue.

    Your insight is greatly appreciated!

  • UPDATE: Here is what the mysqld.log says:

    I have tried changing the "thread_stack" value in my.cnf but that does not resolve the error. Not sure what else the issue could be? Could it have to with the size of the database?

  • Addon 12.80.1.0 with MariaDB 11.4.3 is the last one working.

    I'm not using MariaDB but had the addon installed at one of my test installs and saw it restarting.

  • Addon 12.80.1.0 with MariaDB 11.4.3 is the last one working.

    I'm not using MariaDB but had the addon installed at one of my test installs and saw it restarting.

    Hrm, OK, there is something weird with my system then. My Addon is reporting version 12.0.0.4 with MariaDB 11.4.5.

    System info shows I am running Libreelec 12.0.2 (sorry, I missed a decimal in my original post) with Kodi 21.2

    The addon was installed from the Libreelec repository. Is there somewhere else I can get the latest from (i.e., 12.80.1.0)?

  • Hrm, OK, so I see MariaDB was updated to 11.4.5 two days ago, but you mention that 11,4,3 is the last one working. Is there a way to revert back to using MariaDB 11.4.3?

  • Same here :(


    Anyway, to go back to a working version, simply select the add-on in the interface, go to versions, and select 12.0.0.3 . This is working fine for me.

    Edited once, last by denix: Merged a post created by denix into this post. (February 8, 2025 at 9:03 PM).

  • Hmm - have the same problem, fiddled with it on my own for a while and might have ruined something, anyway downgraded first mariadb pluging, but still have the same errors in both kodi.log and mysqld.log, then downgraded to libreelec 12.0.0.1 and still have same errors. I suspect it is something else eg permissions in the filesystem.

    mysqld.log

  • Ahh - service.mariadb/data/mysql was empty except for db.opt replaced it with an old filesystem copy and mysql started - so now my best guess is that something went missing on the upgrade (eg a new system table required)