Missing Install From Repository Option

Nosaby

New member
Apr 1, 2017
9
0
0
Missing Install From Repository Option FIXED

I'm desperate. I've installed Kodi 17 because on the previous version I had Ex**us wasn't working very well anymore, and in looking for a fix saw there was a new Kodi.

After installing and adding the Ex**us add-on source file, I followed the installation instructions to a T, but discovered that I don't have the Install From Repository option. All I have is My Add Ons, Install from Zip File, and Search. I know to click addons & then the box icon top left of the screen. Install From Repository isn't an option.

After adding the Ex**us source I do get the notification that says it downloaded. My date and time are set correctly. I'm stuck without the Install From Repository option. I've tried uninstalling and reinstalling.

I posted this on the Kodi TV Facebook page and was told this seemed to be a familiar issue from past versions and they would look into it. Anyone else having this problem and has anyone found a solution if so?

I am using a Mac v10.11.6 if that makes a difference.

From the log: 11:12:58.196 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.219 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.219 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:12:58.234 T:140735284998144 NOTICE: Old database found - updating from version 20 to 27
11:12:58.642 T:140735284998144 NOTICE: Attempting to update the database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.643 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed
11:13:01.536 T:140735284998144 ERROR: SyncInstalled failed
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed WHERE enabled=0
11:13:01.536 T:140735284998144 ERROR: GetDisabled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
 
Last edited:

leafs87

New member
Feb 14, 2016
13
0
0
I'm desperate. I've installed Kodi 17 because on the previous version I had Ex**us wasn't working very well anymore, and in looking for a fix saw there was a new Kodi.

After installing and adding the Ex**us add-on source file, I followed the installation instructions to a T, but discovered that I don't have the Install From Repository option. All I have is My Add Ons, Install from Zip File, and Search. I know to click addons & then the box icon top left of the screen. Install From Repository isn't an option.

After adding the Ex**us source I do get the notification that says it downloaded. My date and time are set correctly. I'm stuck without the Install From Repository option. I've tried uninstalling and reinstalling.

I posted this on the Kodi TV Facebook page and was told this seemed to be a familiar issue from past versions and they would look into it. Anyone else having this problem and has anyone found a solution if so?

I am using a Mac v10.11.6 if that makes a difference.
Don't post on the KODI page about addons that give you access to this type of content. They don't like that.
 

RavRob

Moderator
Staff member
Nov 21, 2012
6,670
78
48
The Halls of Valhalla
Go to settings, addons, my addons, all addons, see if Ex**us is enabled. Typically, 3rd party addons are disable from the get go.

Not sure why you don't have "install from repo".
 

Nosaby

New member
Apr 1, 2017
9
0
0
So it's almost like the Kodi I downloaded, from their own site, is different. I don't have anything that says "all addons" in settings as you directed. I have "My add ons" in the Add On folder outside of settings but it is empty. I'm assuming it's because I couldn't download Ex**us from the repository file. I've tried doing other add ons and I can't get anything without that repository option. And with Kodi's site being down I'm in the wind.
 

Nosaby

New member
Apr 1, 2017
9
0
0
From the log:

11:12:58.165 T:140735284998144 NOTICE: Attempting to update the database Addons27 from version 20 to 27
11:12:58.196 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.219 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.219 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:12:58.234 T:140735284998144 NOTICE: Old database found - updating from version 20 to 27
11:12:58.642 T:140735284998144 NOTICE: Attempting to update the database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.643 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed
11:13:01.536 T:140735284998144 ERROR: SyncInstalled failed
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed WHERE enabled=0
11:13:01.536 T:140735284998144 ERROR: GetDisabled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
 

Nosaby

New member
Apr 1, 2017
9
0
0
Found the log:

11:12:58.165 T:140735284998144 NOTICE: Attempting to update the database Addons27 from version 20 to 27
11:12:58.196 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.219 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.219 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:12:58.234 T:140735284998144 NOTICE: Old database found - updating from version 20 to 27
11:12:58.642 T:140735284998144 NOTICE: Attempting to update the database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.643 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed
11:13:01.536 T:140735284998144 ERROR: SyncInstalled failed
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed WHERE enabled=0
11:13:01.536 T:140735284998144 ERROR: GetDisabled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
 

Nosaby

New member
Apr 1, 2017
9
0
0
Log:

11:12:58.165 T:140735284998144 NOTICE: Attempting to update the database Addons27 from version 20 to 27
11:12:58.196 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.219 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.219 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:12:58.234 T:140735284998144 NOTICE: Old database found - updating from version 20 to 27
11:12:58.642 T:140735284998144 NOTICE: Attempting to update the database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.643 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed
11:13:01.536 T:140735284998144 ERROR: SyncInstalled failed
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed WHERE enabled=0
11:13:01.536 T:140735284998144 ERROR: GetDisabled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
 

Nosaby

New member
Apr 1, 2017
9
0
0
From the log:

11:12:58.196 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.219 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.219 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:12:58.234 T:140735284998144 NOTICE: Old database found - updating from version 20 to 27
11:12:58.642 T:140735284998144 NOTICE: Attempting to update the database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: SQL: [Addons27.db] The database disk image is malformed
Query: CREATE TABLE installed (id INTEGER PRIMARY KEY, addonID TEXT UNIQUE, enabled BOOLEAN, installDate TEXT, lastUpdated TEXT, lastUsed TEXT)
11:12:58.643 T:140735284998144 ERROR: Exception updating database Addons27 from version 20 to 27
11:12:58.643 T:140735284998144 ERROR: Error updating database Addons27 from version 20 to 27
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed
11:13:01.536 T:140735284998144 ERROR: SyncInstalled failed
11:13:01.536 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT addonID FROM installed WHERE enabled=0
11:13:01.536 T:140735284998144 ERROR: GetDisabled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
11:13:01.538 T:140735284998144 ERROR: SQL: [Addons27.db] SQL error or missing database
Query: SELECT * FROM installed
11:13:01.538 T:140735284998144 ERROR: GetInstalled failed
 

Nosaby

New member
Apr 1, 2017
9
0
0
An amazing person on Kodi.tv found the solution for anyone who needs it. I'm unable to post the url but the person is my hero.

Solution for Mac OS Sierra 10.12.3 upgrading installation from 17 to 'kodi-17.1-Krypton-x86_64.dmg'


IDENTIFY THE ERROR
1. Open the 'Console' app
2. In console, on the side bar 'Reports', select ~/Library/logs
3. Select the 'kodi.log' and locate the ERROR (the middle of the each log entry has a descriptor, look for ERROR. For me the error was logged as "[Addons27.db] SQL error or missing database")

ALLOW HIDDEN FILES TO BE SEEN
4. Open the 'Terminal' app
5. copy/paste this entry and hit enter: defaults write com.apple.finder AppleShowAllFiles YES
6. While holding down the option key, right click finder in the dock and select 'Relaunch'

LOCATE & DELETE THE CORRUPTED FILE
7. Open a new finder window and go to this location; <your home folder>/Library/Application Support/Kodi/userdata/Database
8. You should be looking at a bunch of .db files. Delete the file that matches with the ERROR log (for me it was Addons27)
9. Keep the finder window open.

REBUILD MISSING DB FILE
10. Open the 'Kodi' app
11. You should see the deleted file be rebuilt on launch in the finder window.

Kodi should launch successfully.