Migrating NiFi Registry directories

You must create a working directory to start the NiFi Registry service. The directory is the place where NiFi Registry stores existing buckets, configuration files, database files, and so on.

  1. Create a working directory for NiFi Registry and copy the content from the old directory:
    mkdir /var/lib/nifiregistry
    cp  -R /var/lib/nifi-registry/* /var/lib/nifiregistry
    chmod 755 /var/lib/nifiregistry
    chown -R nifiregistry:nifiregistry /var/lib/nifiregistry
  2. Start the NiFi Registry service.