9.0.2 Unable to install/update from CoreELEC repo

#19

Adam that did it, CE addons are installing now, though my addons/skin etc. are gone, I’ll see if to go forward from here or go back to the original Addons27.db, everyone else be aware, make a backup copy of Addons27.db.

1 Like
#20

@sergio they are not gone, you just have to enable them again as they will have been disabled.

Glad that sorted it for you anyway.

#21

Yep, I’ve already reenabled them all, all good. Thanks a lot for your help.

1 Like
#22

Thanks a lot for the update @teamCE!

1 Like
#23

Is there any other option than delete Addons.db (by editing SQL inside maybe)?
The same issue (although CE repo is 9.0.2, when update CE addon it looks for 9.0.1 addon path) with install/update CE addons:

2019-05-13 21:13:12.435 T:3983532912   ERROR: Requested path https://addons.coreelec.org/9.0.1/Amlogic/arm/script.amlogic.displayinfo/script.amlogic.displayinfo-9.1.100.zip not found in known repository directories
2019-05-13 21:13:12.436 T:3983532912   ERROR: CAddonInstallJob[script.amlogic.displayinfo]: failed to resolve addon install source path

but deleting addons.db gives me to the safe boot :frowning: ( langinfo.xml is present in normal language addon path)

2019-05-13 20:58:14.902 T:4085900064   ERROR: unable to load resource://resource.language.cs_cz/langinfo.xml: Failed to open file at line 0
2019-05-13 20:58:14.902 T:4085900064   FATAL: SetLanguage: CLangInfo: failed to load resource.language.cs_cz language information

############### END LOG FILE ################

############ END kodi CRASH LOG #############
#24

@JimmyS try changing to English GB before deleting the file.

1 Like
#25

It works, thanks. Still wondering why this happens (both repository / language problem), and if this could be avoided in future… Will follow this procedure also for other installs.
It was 9.0.1->9.0.2 update through .tar, Confluence skin, Odroid C2.

#26

@JimmyS when you delete the addons*.db then any downloaded addons are disabled, this includes languages and as your system is trying to use a language that is disabled that is why you got put into safe mode.

Fresh installs will not have this issue.

1 Like
#27

Copied .tar to .update. Corrupted file error message and didn’t update. Auto reboot and then a message saying that a new update was loaded. After rebooting again 9.0.2 was installed with no errors. Nice :slight_smile:
Then, as I thought that a few addons should have been updated, I decided (my bad) to delete Addons27.db (after a backup, of course).
From then on it always crash several times and start in safe mode (marron? really? :thinking:).
Tried to delete .kodi and renamed .kodi.FAILED to .kodi (after copying there the original copy of Addons27.db).
No avail, it still crashes, restart in safe mode, and recreates .kodi.FAILED

What can I do?

EDIT: Even if I keep de safe mode and proceed with configuration it still crashes and restarts in safe mode again.

#28

Was you using a different language?

#29

Yes, portuguese

#30

You should have changed to English as explained previously before deleting the file.

You need to stop Kodi with systemctl stop kodi and change locale.language in guisettings.xml to resource.language.en_gb and then start Kodi with systemctl start kodi

NOTICE to all other users, before deleting Addons27.db please ensure you change language to English GB first!

2 Likes
#31

Tried to change that setting but it was already with language.en_gb. Anyway kodi now didn’t crash, and all my addons are enabled.
Should I delete Addons27.db now to be able to update addons?

#32

As long as you set language to English before hand then yes you can delete it.

#33

Is it safe to set “enabled” directly in the table Addons27.installed?

#34

a short question. Will this break an existing installation? Do I need to manually change this on every updated box?

I use four 905X Boxes in grandmas house, and the only things changed is TVH and german language, and confluence as skin

#35

@tavoc no, updating is fine, the above is only needed if you have issues accessing the CE add-ons repo.

1 Like
#36

Hello, I’m not able to install any IPTV client into my Kodi - running on Coreelec 9.0.2.

“installation failed”

Thanks

#37

Please read this topic.

#38

Safer fix for the above identified issue, kudos to @vpeter for the tip, no need to change language or delete any files.

Paste the following commands into SSH if you have the above issue.

systemctl stop kodi
/usr/bin/sqlite3 /storage/.kodi/userdata/Database/Addons27.db "UPDATE addons SET metadata = REPLACE(metadata,'https://addons.coreelec.org/9.0/','https://addons.coreelec.org/9.1/');"
/usr/bin/sqlite3 /storage/.kodi/userdata/Database/Addons27.db "UPDATE addons SET metadata = REPLACE(metadata,'https://addons.coreelec.org/9.0.1/','https://addons.coreelec.org/9.1/');"
systemctl start kodi
2 Likes
9.0.2 Discussion
9.0.2 Discussion