Difference between revisions of "ResetFileIndexer"

From WebOS Internals
Jump to navigation Jump to search
(Works for me)
 
Line 2: Line 2:
  
 
I recently had a situation where several missing pictures were turning up in my "Photos" app.  They were images I had previously deleted, but somehow turned up again days after an update after a reboot.  I may never know why and I doubt it'll happen again.
 
I recently had a situation where several missing pictures were turning up in my "Photos" app.  They were images I had previously deleted, but somehow turned up again days after an update after a reboot.  I may never know why and I doubt it'll happen again.
 +
 +
Deleting them in the usual way failed because they weren't actually there, and showing the image would show a silver box in place of the image.
 +
 +
Irritating.
  
 
== HOWTO: Reset the File Indexer ==
 
== HOWTO: Reset the File Indexer ==

Revision as of 20:17, 6 October 2009

What Happened

I recently had a situation where several missing pictures were turning up in my "Photos" app. They were images I had previously deleted, but somehow turned up again days after an update after a reboot. I may never know why and I doubt it'll happen again.

Deleting them in the usual way failed because they weren't actually there, and showing the image would show a silver box in place of the image.

Irritating.

HOWTO: Reset the File Indexer

It's really trivially easy to fix this. However, if this breaks your phone, do not blame me, I don't have any idea what I'm doing.

  1. cd /var/luna/data
  2. stop fileindexer
  3. rsync -vaP mediadb.db3 mediadb.oops.db3
  4. delete from com_palm_media_image | sqlite3 mediadb.db3
  5. start fileindexer

That's it. Fixed.