Support Questions

Find answers, ask questions, and share your expertise

​Apache Nifi registry Issues with Git

avatar

Apache Nifi registry not able to read from Git repository. I created a test process group , changed the Nifi Registry configs to store the files in Git( BItBucket->Gitflow) and started it. From the Nifi V1.7 UI, I am able to commit to the Git Repository, however, when I try to import from UI, it throws an exception ' The Flow Registry with ID {} reports that no Flow exists with Bucket {}, Flow {}, Version {}". However, files are stored in Bitbucket. Could you please help me out here.

Tried with CLI command also. I can see the bucket and flow already present but throw the below exception when I try with pg-import

ERROR: Error executing command 'pg-import' : Error retrieving registry clients: <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>Error 404 Not Found</title> </head> <body><h2>HTTP ERROR 404</h2> <p>Problem accessing /nifi-api/controller/registry-clients. Reason: <pre> Not Found</pre></p><hr><a href="http://eclipse.org/jetty">Powered by Jetty:// </a><hr/> </body> </html>

1 ACCEPTED SOLUTION

avatar
Guru

Hi @Vijay Mathew

Are you using Registry on Windows? If so, this looks to be similar to the issue reported on the Apache NiFi Users mailing list:

http://apache-nifi-users-list.2361937.n4.nabble.com/Nifi-Registry-Git-target-registry-ignores-git-fl...

Registry on Windows is not officially supported:

https://nifi.apache.org/docs/nifi-registry-docs/html/administration-guide.html#system-requirements

When the other user set up Registry on Linux, the problem no longer occurred.

View solution in original post

4 REPLIES 4

avatar

Just a update- When I tried the CLI command ,I am getting the issue as that from UI The Flow Registry with ID {} reports that no Flow exists with Bucket {}, Flow {}, Version {}".

I pasted a wrong exception in the question

avatar
Guru

Hi @Vijay Mathew

Are you using Registry on Windows? If so, this looks to be similar to the issue reported on the Apache NiFi Users mailing list:

http://apache-nifi-users-list.2361937.n4.nabble.com/Nifi-Registry-Git-target-registry-ignores-git-fl...

Registry on Windows is not officially supported:

https://nifi.apache.org/docs/nifi-registry-docs/html/administration-guide.html#system-requirements

When the other user set up Registry on Linux, the problem no longer occurred.

avatar

Thanks a bunch Andrew !!

avatar
Rising Star

Hey, is there any solution to this issue? "The Flow Registry with ID {} reports that no Flow exists with Bucket {}, Flow {}, Version {}"

Nifi in use: 1.21.0

Nifi registry: 1.21 (securely connected with Nifi)

OS: Windows