Repair Kodi Library

From Offline
Jump to: navigation, search



ERROR: SQL: The database disk image is malformed

ssh root@192.168.0.1 # default password : openelec

cd ~/.kodi/userdata/Database
sqlite3 MyVideos93.db
sqlite> .mode insert
sqlite> .output dump.sql
sqlite> .dump
sqlite> .exit

# edit dump.sql
echo -n '' > MyVideos93.db
sqlite3 MyVideos93.db
sqlite> .read dump.sql
sqlite> .exit