<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Error while trying to upgrade nifi-registry from 1.25.0 to 2.0.0M1 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391136#M247491</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112424"&gt;@Tiger_Name&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jul 2024 06:19:03 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2024-07-30T06:19:03Z</dc:date>
    <item>
      <title>Error while trying to upgrade nifi-registry from 1.25.0 to 2.0.0M1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391130#M247487</link>
      <description>&lt;P&gt;Error while trying to upgrade nifi-registry from 1.25.0 to 2.0.0M1&lt;BR /&gt;-------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Error :&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;ERROR [main] o.springframework.boot.SpringApplication Application run failed&lt;BR /&gt;org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'accessResource' defined in file [/opt/nifi-registry/nifi-registry-current/work/jetty/nifi-registry-web-api-2.0.0-M1.war/webapp/WEB-INF/classes/org/apache/nifi/registry/web/api/AccessResource.class]: Unsatisfied dependency expressed through constructor parameter 5: Error creating bean with name 'getIdentityProvider' defined in class path resource [org/apache/nifi/registry/security/authentication/IdentityProviderFactory.class]: Failed to instantiate [org.apache.nifi.registry.security.authentication.IdentityProvider]: Factory method 'getIdentityProvider' threw exception with message: Identity Provider configuration XML was protected using aes/gcm/256, which is not supported. Cannot configure this Identity Provider due to failing to decrypt protected configuration properties.&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Java home: /usr/lib/jvm/jdk-21.0.1-bellsoft-x86_64&lt;BR /&gt;Encrypt config command using nifi toolkit :&lt;BR /&gt;&lt;SPAN&gt;./encrypt-config.sh --nifiRegistry -v -r nifi-registry.properties -a authorizers.xml -i identity-providers.xml -p &lt;/SPAN&gt;&lt;SPAN class="pl-s"&gt;&lt;SPAN class="pl-pds"&gt;"XXXXXXX&lt;/SPAN&gt;&lt;SPAN class="pl-pds"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; -b bootstrap.conf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Logs after encrypting :&lt;BR /&gt;&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Neither Migration Bootstrap Root Key nor Migration Bootstrap Password specified&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started&lt;BR /&gt;[main] INFO org.apache.nifi.registry.properties.NiFiRegistryPropertiesLoader - Loaded 46 properties from /opt/nifi-registry/nifi-registry-current/conf/nifi-registry.properties&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Started processing Bootstrap Configuration [bootstrap.conf]&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Completed processing Bootstrap Configuration [bootstrap.conf]&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Started processing Application Properties [nifi-registry.properties]&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Completed processing Application Properties [nifi-registry.properties]&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Started processing Authorizers [authorizers.xml]&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Completed processing Authorizers [authorizers.xml]&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Started processing Identity Providers [identity-providers.xml]&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started&lt;BR /&gt;[main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Completed processing Identity Providers [identity-providers.xml]&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 03:09:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391130#M247487</guid>
      <dc:creator>Tiger_Name</dc:creator>
      <dc:date>2024-07-30T03:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to upgrade nifi-registry from 1.25.0 to 2.0.0M1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391136#M247491</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112424"&gt;@Tiger_Name&lt;/a&gt;,&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp; who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 06:19:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391136#M247491</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-07-30T06:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to upgrade nifi-registry from 1.25.0 to 2.0.0M1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391164#M247503</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112424"&gt;@Tiger_Name&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The issue you described matches up very well with&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/NIFI-10018" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-10018&lt;/A&gt;&amp;nbsp;which caused by&amp;nbsp;&lt;A href="https://issues.apache.org/jira/browse/NIFI-9988" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-9988&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;While these jiras point at an issue in Apache NiFi 1.16.1, you are using the first milestone (M1) releases of Apache NiFi 2.0.0.&amp;nbsp; So it quite possible that this issue may have been ported into the early milestone release.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I would recommend downloading the latest milestone release of Apache NiFi 2.0.0-Mx, which at time of writing this is M4, to see if startup issue still presents itself.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Please help our community grow. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jul 2024 17:57:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391164#M247503</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-07-30T17:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to upgrade nifi-registry from 1.25.0 to 2.0.0M1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391257#M247536</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Seems the 2.0.0-M4 Nifi toolkit does not have an option to encrypt(encrypt-config).&lt;BR /&gt;When compared to lower versions of nifi toolkit -1.0.xx .&lt;BR /&gt;Will there be a fix for this issue on any upcoming Milestone versions?&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.cloudera.com/t5/image/serverpage/image-id/41329i8F6D7703466EA1F6/image-size/large?v=v2&amp;amp;px=999" border="0" alt="image.png" title="image.png" /&gt;</description>
      <pubDate>Thu, 01 Aug 2024 10:56:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391257#M247536</guid>
      <dc:creator>Tiger_Name</dc:creator>
      <dc:date>2024-08-01T10:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error while trying to upgrade nifi-registry from 1.25.0 to 2.0.0M1</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391262#M247538</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/112424"&gt;@Tiger_Name&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;The encrypt-config toolkit was deprecated and removed in the Apache NiFi 2.0.0 release.&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-13414" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-13414&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It was refactored in 2.0.0-M1 (milestone 1) before it was deprecated and removed completely:&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-12243" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-12243&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Your exception sounds like something was not set correctly with regards to the master key in the bootstrap.conf.&amp;nbsp; I'd double check to make sure you set that value correctly.&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 13:25:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Error-while-trying-to-upgrade-nifi-registry-from-1-25-0-to-2/m-p/391262#M247538</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-08-01T13:25:41Z</dc:date>
    </item>
  </channel>
</rss>

