Change data directory for single-node cluster

I just did that on CB 4.5.0-1308.
Maybe not the prettiest method, but it worked.

  • I took CB server down (single node).
  • I edited /opt/couchbase/etc/couchdb/local.ini and changed database_dir and view_index_dir with a new path.
  • I moved files to the new path
  • I started CB server
    Everything works.