Hi Bryan,

thank you for the quick response. Is there already a planned release date?

Thanks,
Matthias


Von: Bryan Bende <[email protected]>
Gesendet: Dienstag, 15. August 2023 17:18
An: [email protected]
Betreff: Re: NiFi-Registry GitFlowMetaData Error

----------------------------------------------------------------------------------------------------------------
Hello,

I believe this issue [1] was just resolved yesterday and will be part of the 
upcoming 1.23.1 release that is being discussed.

It was an incompatibility with the git library used by registry and the 
underlying ssh library used.

Thanks,

Bryan

[1] https://issues.apache.org/jira/browse/NIFI-11927

On Tue, Aug 15, 2023 at 10:59 AM Fries, Matthias 
<[email protected]<mailto:[email protected]>> wrote:
Hi guys,

I upgraded from 1.19.1 to 1.22.0 recently and am now facing issues regarding 
the NiFi-Registry.

Local changes committed from NiFi are available in NiFi-Registry Flow Storage 
Directory afterwards but not in the underlying git repo.
The connection between NiFi-Registry and GitLab is established via ssh key. 
This is the pre and post upgrade configuration of the Git Flow Persistence 
Provider:

  <flowPersistenceProvider>
      
<class>org.apache.nifi.registry.provider.flow.git.GitFlowPersistenceProvider</class>
      <property name="Flow Storage Directory">{{ pathToFlowStorageDirectory 
}}</property>
      <property name="Remote To Push">origin</property>
  </flowPersistenceProvider>

Running a git push command manually pushes the latest changes to the git repo 
without any issues.

The nifi-registry-app.log is showing the following:

2023-08-15 14:37:30,959 ERROR [GitFlowMetaData Push thread] 
o.a.n.r.p.flow.git.GitFlowMetaData Failed to push commits to origin du
e to org.eclipse.jgit.api.errors.TransportException: 
ssh://git@git-server:port/pathToRepo/repo.git: remote hung up unexpectedly

Any idea on how to solve this?

Thanks in advance
Matthias

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to