I've had my DS916+ for half a year now, and it has served me well, until my last round of updates. I'm a heavy Photo Station user, and it is why I purchased the Synology over other competitive products.
As mentioned, I've recently updated my DSM and PhotoSharing app at the time of writing this post.
- DSM 6.1-15047 Update 2
- Photo Sharing 6.7.0-3414
My Media Indexing service is constantly looping, and it's been running for days and doesn't pick up new photos anymore. It is constantly at "Indexing media files..." state. I'm also worried that it might actually damage my hard drives.
I tried deleting the database and re-indexing from scratch (deleted /volume1/@database/pgsql and rebooted my DS916+).
When running queries against the index database (sudo psql mediaserver postgres), I notice the following:
- select count(*) from photo; results in the same value. This tells me that the indexing service has finished traversing through all photos, and there is no new photos to index.
However, when I look at the ID values on the photo table, it is continuously being rolled over.count
- select min(id) from photo; results in a different value, and so does select max(id).
It seems like the oldest index record is being deleted and replaced back as a new index record.
And the following is called soon after:mediaserver=# select min(id) from photo;
I've since stopped the indexing service by runningmediaserver=# select min(id) from photo;
Am I dealing with a defect here? Any advice on what I should do next would be much appreciated.sudo synoservicectl --stop synoindexd