v20 Kodi 20 Nexus only starts with sudo
#1
Hi,

I've just updated my arch linux system, including updating from Kodi 18 to Kodi 20 and now Kodi only starts properly when I use "sudo".

When I start kodi normally (i.e. without sudo) I get the Nexus startup screen and then a black screen.

When I use sudo it starts normally, but not with the right settings, e.g. no media sources defined etc. I guess that is expected as it runs with the wrong user.

Debug log from normal user: https://paste.kodi.tv/ezuyojicey.kodi

Any help would be much appreciated.
Reply
#2
line 544 SQL: [MyVideos121] The table does not exist

if its running from sudo fine then the user is unable to access the mysql server as a non-sudo user and you need to look into fixing the user permissions on the mysql side of things

i found this similar post on stack exchange but its not the only search result for mysql requiring sudo - https://dba.stackexchange.com/questions/...-root-user

i dont use mysql so i cannot advise beyond this
Reply
#3
Thanks for your reply and help.

I looked into this but could not get it resolved. I created a new user under MySQL, assigned what I thought are the right permissions but it just wouldn't work. I the removed the database sharing (removed advanced settings.xml), only to find that audio wasn't working anymore either.

I think I'm ready to move to a different frontend solution (e.g. Nvidia shield), I just don't have the time or energy anymore to keep tinkering with an arch setup.
Reply
#4
if arch isnt working for you and you wish to keep your existing hardware and stay on linux most of the tinkering has already been done on libreelec so it pretty much works out of the box
Reply
#5
Thank you.

I have persisted with my current setup and made some progress. Ditched the database library sharing and got kodi working ok. Then ditched mythtv and moved to tvheadend for live tv.

Currently having some issues with getting tvheadend to work reliably (i.e. works after setting up with --first run, then stops working). Might have to start a new thread if I can't get it resolved.
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi 20 Nexus only starts with sudo0