2017-04-02, 06:28
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 & COPY THE ENTIRE KODI FOLDER FOR DEVELOPERS... THEN DELETE THE CORRUPTED FILES
7. Open a new finder window and go to this location; <your home folder>/Library/Application Support/Kodi/userdata/Database You can also go to this location by typing into 'Go to Folder' ~/Library/Application Support/Kodi/userdata/Database Note: Some users have mentioned that the Kodi folder is actually XBMC in that file path. Check for both. Some users report not seeing either of these files. This is simply the solution I found worked for my circumstances.
8. You should be looking at a bunch of .db files.
***IMPORTANT COPY THE ENTIRE KODI FOLDER FOR DEVELOPERS BEFORE DELETING THE CORRUPTED FILES***
9. !!We need your bad files!! Copy the 'KODI' folder onto your desktop and send it to the developers on this forum. Here are instructions from @Memphiz - "Someone who has this issue would have to provide me the complete Kodi folder from Application Support before(!!!!!) applying the workaround". Providing the folder can be done by any public accessible file hosting service (dropbox, google drive etc.)"
**Once you have a sharable link to the folder containing the bad files, post that link on this thread for the developers to access**
***DO NOT PROCEED TO STEP 10 UNTIL YOU HAVE SHARED YOUR ENTIRE KODI FOLDER TO THIS THREAD***
10. Open the folder and Delete the file that matches with the ERROR log (for me it was Addons27)
11. Keep the finder window open.
REBUILD MISSING DB FILE
12. Open the 'Kodi' app
13. You should see the deleted file be rebuilt on launch in the finder window.
Kodi should launch successfully.
Please reply if this WORKED for you.
I hope this helps until the developers uncover the bug.
p.s if you want to return to having hidden folders and files open terminal again, copy/paste this into terminal and press enter; defaults write com.apple.finder AppleShowAllFiles NO
peace!
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 & COPY THE ENTIRE KODI FOLDER FOR DEVELOPERS... THEN DELETE THE CORRUPTED FILES
7. Open a new finder window and go to this location; <your home folder>/Library/Application Support/Kodi/userdata/Database You can also go to this location by typing into 'Go to Folder' ~/Library/Application Support/Kodi/userdata/Database Note: Some users have mentioned that the Kodi folder is actually XBMC in that file path. Check for both. Some users report not seeing either of these files. This is simply the solution I found worked for my circumstances.
8. You should be looking at a bunch of .db files.
***IMPORTANT COPY THE ENTIRE KODI FOLDER FOR DEVELOPERS BEFORE DELETING THE CORRUPTED FILES***
9. !!We need your bad files!! Copy the 'KODI' folder onto your desktop and send it to the developers on this forum. Here are instructions from @Memphiz - "Someone who has this issue would have to provide me the complete Kodi folder from Application Support before(!!!!!) applying the workaround". Providing the folder can be done by any public accessible file hosting service (dropbox, google drive etc.)"
**Once you have a sharable link to the folder containing the bad files, post that link on this thread for the developers to access**
***DO NOT PROCEED TO STEP 10 UNTIL YOU HAVE SHARED YOUR ENTIRE KODI FOLDER TO THIS THREAD***
10. Open the folder and Delete the file that matches with the ERROR log (for me it was Addons27)
11. Keep the finder window open.
REBUILD MISSING DB FILE
12. Open the 'Kodi' app
13. You should see the deleted file be rebuilt on launch in the finder window.
Kodi should launch successfully.
Please reply if this WORKED for you.
I hope this helps until the developers uncover the bug.
p.s if you want to return to having hidden folders and files open terminal again, copy/paste this into terminal and press enter; defaults write com.apple.finder AppleShowAllFiles NO
peace!