Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Hang on boot if MySQL and no network - workaround (no fix in kodi yet) #9215

Closed
egabosh opened this issue Aug 21, 2024 · 1 comment
Closed

Comments

@egabosh
Copy link

egabosh commented Aug 21, 2024

Moin,

if MySQL is configured in Kodi, LibreELEC or Kodi will not boot if there is no network. This is problematic because the network for the LibreELEC box is configured within Kodi.
If, for example, the WLAN access data has changed and you want to use your LibreELEC Raspi at a different location and have to configure the network there so that the database is reached, this is not possible in the usual way, but in the best case only cumbersome.

Wouldn't it be possible to do a DB test before starting Kodi if MySQL is configured. If this is not successful after e.g. 2 minutes of trying, a fallback to the local sqlite dbs would be useful, e.g. by temporary automatic adjustment of the config.

An issue with Kodi has existed since 2022, but unfortunately it does not seem to be fixed.
xbmc/xbmc#21945
Hence the idea of this workaround on the part of LibreELEC.

Information

  • LibreELEC Version: 12
  • Hardware Platform: RPi4
@heitbaum
Copy link
Contributor

@egabosh something for Kodi? Or if it was for LE (I don’t necessarily think it is a general purpose enhancement) the a PR would be the better approach.

The forum is also a much better place to discuss enhancements/etc. e.g. there may be some systemd / autostart.sh that you could do to achieve what you are trying.

@heitbaum heitbaum closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants