Ah good point Mark... yes the old db properties are only need this first time so that it can auto-migrate the old DB to the new one, after that you don't need the old properties anymore.
Thanks Kevin! On Wed, Jun 20, 2018 at 11:57 AM, Kevin Doran <[email protected]> wrote: > Thanks Mark and Bryan. I will add a NiFi Registry 0.1 -> 0.2 migration guide > to include these steps as part of updating the site with news of the new > release. > > Thanks, > Kevin > > ________________________________ > From: Mark Bean <[email protected]> > Sent: Wednesday, June 20, 2018 8:53:39 AM > To: [email protected] > Subject: Re: Upgrading NiFi Registry > > Thanks Bryan. There is actually another step not explicitly mentioned. At > least for 0.1.0 -> 0.2.0, I needed to modify the nifi-registry.properties > file as well. The 0.2.0 version has new properties/values not in the 0.1.0. > And, I had to set the following for the database (using values from 0.1.0). > This was only required on the first startup; these properties can be empty > values on subsequent startups. > nifi.registry.db.directory= > nifi.registry.db.url.append= > > In the future, if using a database location that is external to the > installation directory, is nifi.registry.db.url the only property that > needs to be modified? > > > On Wed, Jun 20, 2018 at 11:18 AM Bryan Bende <[email protected]> wrote: > >> Mark, >> >> The database directory and flow storage directory are where all the >> data are. By default these are created in the root of NiFi Registry, >> so depending how you want to set it up you could move those >> directories to the new install, or you could set them up to be >> external locations so you don't have to move them every time, or you >> could upgrade the lib directory of your current install and leave >> everything in place. >> >> The policies are the same as NiFi... stored in users.xml and >> authorizations.xml the conf directory, depending how you configured >> everything. So just copying those two files over to the new install. >> >> -Bryan >> >> >> On Wed, Jun 20, 2018 at 11:13 AM, Mark Bean <[email protected]> wrote: >> > How does one upgrade the NiFi Registry? >> > >> > After unpacking the .tar.gz file, how does one get all the flows >> registered >> > in a previous version of NiFi Registry into the newly installed version? >> > And, how does one ensure all the policies transfer as well? >> > >> > Thanks, >> > Mark >>
