nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Bende <>
Subject Re: Registry H2 to PostgreSQL migration
Date Sat, 23 Jun 2018 21:52:25 GMT

This is actually expected behavior...

The migration is only setup to migrate the database from 0.1.0 which was

If you have an H2 DB named this is the name of
the new H2 DB in 0.2.0, so it’s not looking for this because the idea was
you’d migrate to Postgres when you did the upgrade to 0.2.0 before you ever
had this file. Since you didn’t migrate to Postgres on the upgrade, it
migrated to a new H2 DB.

It is nice to know that you can do it later on by renaming the file, and
maybe we can add that to the migration notes wiki or admin guide.



On Sat, Jun 23, 2018 at 5:02 PM Kevin Doran <> wrote:

> Hi Jagrut,
> I think this is configurable. How did you configure you
> file?
> Thanks,
> Kevin
> ________________________________
> From: Jagrut Sharma <>
> Sent: Saturday, June 23, 2018 2:43:33 PM
> To:
> Subject: Registry H2 to PostgreSQL migration
> Hi - I performed migration from H2 to PostgreSQL, and ran into a potential
> bug.
> After switching the database config, registry started up fine. But the
> tables were all empty. On digging a bit deeper, I found that the default H2
> database file is named The migration code is
> looking for a file named and hence unable to find it.
> The log reports 'Did not find legacy database file...'
> To verify this, I renamed existing H2 file to Upon
> startup, the file was detected and migration happened properly.
> I can file a JIRA, but just wanted to make sure I was not missing any
> config step.
> Thanks.
> --
> Jagrut
Sent from Gmail Mobile

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message