Building view index stuck

Hello,

I built index on two buckets in dev and published it to prod 4 days ago and it still shows indexes are building in the “Activity” and I’m not able to get content using those indexes. Which log file should I check for troubleshooting?

I’m using Community edition 5.1.1 on Centos 7

Thank you

Found the issue with incorrect permissions assigned /data/couchbase/.delete. It was reported under couchdb.log. Assigned couchbase as the owner and the views creation completed.