ATV2 addon repositories coming up empty

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
teefer22 Offline
Member
Posts: 97
Joined: Dec 2010
Reputation: 27
Post: #1
Hi,

I'm having a problem with my xbmc on ATV2, running a nightly from Dec 8th. The problem is when I go to add a new addon, all my addon repository's are empty. I don't get an error in XBMC, but they come up empty. This happens with every repository i've added (bluecop's, t0mm0's, etc)

I was running a nightly from mid November when I first noticed this, I updated to the latest nightly a few days ago to see if it would resolve the issue, but it didn't.

In my xbmc.log file with debugging turned on, i'm getting a bunch of errors like this:
18:25:27 T:136916992 ERROR: GetAddon failed on addon repository.t0mm0
18:25:27 T:136916992 ERROR: SQL: The database disk image is malformed
Query: select id,version from addon where addonID='repository.passion.xbmc.org'
18:25:27 T:136916992 ERROR: GetAddon failed on addon repository.passion.xbmc.org
18:25:27 T:136916992 ERROR: SQL: The database disk image is malformed
Query: select id,version from addon where addonID='repo.liquidskin76'
18:25:27 T:136916992 ERROR: GetAddon failed on addon repo.liquidskin76
18:25:27 T:136916992 ERROR: SQL: The database disk image is malformed
Query: select id,version from addon where addonID='webinterface.default'
18:25:27 T:136916992 ERROR: GetAddon failed on addon webinterface.default
18:25:27 T:136916992 ERROR: SQL: The database disk image is malformed

Here is my full xbmc.log with debugging enabled:
http://pastebin.com/4WGAQLQD

I should note that my existing addons are all still working but I can't update any of them or install any new ones.

Anyone have any idea's what's going on or how to fix it?
find quote
carcaussa Offline
Junior Member
Posts: 17
Joined: Feb 2011
Reputation: 0
Post: #2
This has happened a couple of times to me in the last month, I don't know why but the addons db gets corrupted so I just delete the databases related to the addons located in /var/mobile/Library/Preferences/XBMC/userdata/Database and XBMC will recreate them (including downloading info from repos) on the next restart
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 11,938
Joined: Jan 2011
Reputation: 131
Location: Arizona, USA
Post: #3
You only need to delete the addons DB. You don't need to delete the other databases in this case.
find quote
teefer22 Offline
Member
Posts: 97
Joined: Dec 2010
Reputation: 27
Post: #4
Deleting the addons.db and Addons15.db worked, thanks for the tip.
find quote
Mini-Mess Offline
Junior Member
Posts: 3
Joined: May 2011
Reputation: 0
Thumbs Up    Post: #5
Must say many thanks for this being posted. Just fixed the same issue on my ATV2 Big Grin
find quote
Sniffer8 Offline
Junior Member
Posts: 6
Joined: Feb 2012
Reputation: 0
Post: #6
Yes, can I add my thanks. This has been driving me crazy the past few days. Much appreciated
find quote
rumaan Offline
Junior Member
Posts: 48
Joined: Nov 2011
Reputation: 0
Post: #7
Thank you so much!!!!!
find quote
chilly68 Offline
Junior Member
Posts: 1
Joined: Apr 2012
Reputation: 0
Post: #8
for this fix and the many more im sure i used this forum for i am thankful.
find quote
Pariahkind Offline
Junior Member
Posts: 4
Joined: May 2012
Reputation: 0
Post: #9
How exactly do you delete the add ons ?
Do I use Terminal etc. or something in XBMC?
find quote
Ned Scott Offline
Team-XBMC Wiki Guy
Posts: 11,938
Joined: Jan 2011
Reputation: 131
Location: Arizona, USA
Post: #10
terminal or Cyberduck.

for terminal ssh in and do
Code:
rm /private/var/mobile/Library/Preferences/XBMC/userdata/Databases/Addons15.db

You can make easy links to the XBMC wiki using double brackets around words: [[debug log]] = debug log, [[Add-on:YouTube]] = Add-on:YouTube, [[Adding videos to the library]] = Adding videos to the library, [[userdata]] = userdata, etc
find quote