Lost index after moving index path

hello, I am testing couchbase 4.1.1 community edition on 2 nodes.
Node 1 and 2 have indexing service.
I duplicated indexes on both nodes

I wanted to move index path on node 1, from /opt/couchbase/var/lib/couchbase/data to /opt/couchbase/var/lib/couchbase/index

So I:
Moved the path using CURL command

curl -X POST -u mylogin:mypwd -d index_path=/opt/couchbase/var/
lib/couchbase/index http://localhost:8091/nodes/self/controller/settings

But the index files (@2i and @indexes) didn’t move in the new path.
I moved them manually

sudo mv /opt/couchbase/var/lib/couchbase/data/@2i /opt/couchbase/var/lib/couchbase/index/
sudo mv /opt/couchbase/var/lib/couchbase/data/@indexes /opt/couchbase/var/lib/couchbase/index/

But Indexes on node 1 don’t appear in admin console,
I wonder If I did the right things and can’t find any doc

Thanks in advance.

Disregard, I made a mistake in the curl command and moved files to another location. Sorry.

1 Like