Nextant:index TRUNCATE error

What is the correct syntax to run an index?

sudo -u apache php occ nextant:index

produces errors

"An exception occurred while executing ‘TRUNCATE oc_nextant_live_queue’ :SQLSTATE([HY000]: General error: 1 near ‘TRUNCATE’: syntax error

I just figured it out. :slight_smile:

sudo -u apache php occ nextant:index -i

this will index all the files, which is what i need.