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



----------------------------
Das SVA Mail-System ist mit einem Mailverschlusselungs-Gateway ausgestattet. 
Wenn Sie moechten, dass an Sie gerichtete E-Mails verschluesselt werden, senden 
Sie einfach eine S/MIME-signierte E-Mail oder Ihren PGP Public Key an 
[email protected].

The SVA mail system is equipped with an email encryption gateway. If you want 
email sent to you to be encrypted please send a S/MIME signed email or your PGP 
public key to [email protected].


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

Reply via email to