<?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: Continuously Flow initializing after upgrade from 1.11.4 to 1.23.0 in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Continuously-Flow-initializing-after-upgrade-from-1-11-4-to/m-p/375506#M242485</link>
    <description>&lt;P&gt;&lt;A href="https://wetransfer.com/downloads/c39ec4b6c7435824f883548825be1f9b20230823081945/5e8dfde733816f26c2e40400651b9fb620230823081954/" target="_self"&gt;https://wetransfer.com/downloads/c39ec4b6c7435824f883548825be1f9b20230823081945/5e8dfde733816f26c2e40400651b9fb620230823081954/&lt;/A&gt;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;3 items &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;nifi-app.log&lt;/DIV&gt;&lt;DIV&gt;2.42 MB&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;nifi-bootstrap.log&lt;/DIV&gt;&lt;DIV&gt;11 KB&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;nifi-user.log&lt;/DIV&gt;&lt;DIV&gt;133 KB&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Aug 2023 08:21:24 GMT</pubDate>
    <dc:creator>pashtet04</dc:creator>
    <dc:date>2023-08-23T08:21:24Z</dc:date>
    <item>
      <title>Continuously Flow initializing after upgrade from 1.11.4 to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Continuously-Flow-initializing-after-upgrade-from-1-11-4-to/m-p/375505#M242484</link>
      <description>&lt;P&gt;I has NiFi 1.11.4 installed on 3 nodes cluster. I installed the new version of NiFi 1.23.0 in a nearby directory&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Moved config files:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT face="andale mono,times"&gt;nifi.properties&lt;/FONT&gt; rolled over Ansible&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="andale mono,times"&gt;autorizations.xml&lt;/FONT&gt; copied from the old version&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="andale mono,times"&gt;jks&lt;/FONT&gt; files copied from the old version&lt;/LI&gt;&lt;LI&gt;&lt;FONT face="andale mono,times"&gt;flow.xml.gz&lt;/FONT&gt; copied from the old version&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Updated sensitive properties:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;sudo ../bin/nifi.sh set-sensitive-properties-key 'key'
sudo ../bin/nifi.sh set-sensitive-properties-algorithm NIFI_PBKDF2_AES_GCM_256&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;What does this mean when I do update flow with sensitive props? &lt;FONT face="andale mono,times"&gt;Flow Configuration Property not specified [null]&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;And now both my versions of NiFi could not initialize it flow, no exceptions or critical errors in logs i've found, some was fixed but nothing helps&lt;BR /&gt;Cluster coordinator is elected successfully, Zookeeper is available.&lt;BR /&gt;No any logs in &lt;FONT face="andale mono,times"&gt;nifi-processors.logs&lt;/FONT&gt;, no any updates on directories for provenance, flowfile, content.&lt;BR /&gt;&lt;BR /&gt;I enabled TRACE logs and on Initializing I see only this continuously:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;2023-08-23 14:03:20,513 TRACE [Load-Balanced Client Thread-8] o.a.n.c.q.c.c.a.n.NioAsyncLoadBalanceClientTask Was unable to communicate with any client. Will sleep for 10 milliseconds.&lt;/LI-CODE&gt;&lt;P&gt;I've got continuously Flow initializing could you help me?&lt;BR /&gt;What am I missing?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 11:18:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Continuously-Flow-initializing-after-upgrade-from-1-11-4-to/m-p/375505#M242484</guid>
      <dc:creator>pashtet04</dc:creator>
      <dc:date>2023-08-23T11:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Continuously Flow initializing after upgrade from 1.11.4 to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Continuously-Flow-initializing-after-upgrade-from-1-11-4-to/m-p/375506#M242485</link>
      <description>&lt;P&gt;&lt;A href="https://wetransfer.com/downloads/c39ec4b6c7435824f883548825be1f9b20230823081945/5e8dfde733816f26c2e40400651b9fb620230823081954/" target="_self"&gt;https://wetransfer.com/downloads/c39ec4b6c7435824f883548825be1f9b20230823081945/5e8dfde733816f26c2e40400651b9fb620230823081954/&lt;/A&gt;&lt;/P&gt;&lt;TABLE border="0" cellspacing="0" cellpadding="0"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;SPAN&gt;3 items &lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;nifi-app.log&lt;/DIV&gt;&lt;DIV&gt;2.42 MB&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;nifi-bootstrap.log&lt;/DIV&gt;&lt;DIV&gt;11 KB&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;nifi-user.log&lt;/DIV&gt;&lt;DIV&gt;133 KB&lt;/DIV&gt;&lt;/DIV&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 08:21:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Continuously-Flow-initializing-after-upgrade-from-1-11-4-to/m-p/375506#M242485</guid>
      <dc:creator>pashtet04</dc:creator>
      <dc:date>2023-08-23T08:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Continuously Flow initializing after upgrade from 1.11.4 to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Continuously-Flow-initializing-after-upgrade-from-1-11-4-to/m-p/375512#M242489</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/106643"&gt;@pashtet04&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;There is a significant jump in version from NiFi 1.11.4 to 1.23.0&lt;BR /&gt;As with any upgrade/migration, you should NOT be just copying core configuration files from old version to new version.&amp;nbsp; You should instead use the old configuration files to update the new configuration files as those new configuration files would have introduced new properties that would then be missing if you simply copied old to new.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;NiFi 1.11.4 loaded a flow.xml.gz file on startup.&amp;nbsp; With release of NiFi 1.16, NiFi introduced a new flow storage format using flow.json.gz (which also introduced a new property in the nifi.properties file: "&lt;SPAN&gt;nifi.flow.configuration.json.file").&amp;nbsp; 1.16 and later version will still load from the flow.xml.gz file if a flow.json.gz is not present and then generate the flow.json.gz file which will be used for all subsequent launches starting with 1.18+ version.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I am guessing your exception about flow configuration file [NULL] comes from missing configuration property in the nifi.properties you copied over.&amp;nbsp; This may have also resulted in a failure to convert the flow.xml.gz???&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'd recommend re-copying over your original flow.xml.gz, utilize old config files to populate new config files to avoid missing properties, start NiFi 1.23 first time using original sensitive props key and sensitive props algorithm so that the flow.json.gz gets generated.&amp;nbsp; Then use the nifi.sh commands to change the sensitive props key and sensitive key algorithm.&lt;BR /&gt;&lt;BR /&gt;If you don't know your original sensitive props key, you could use the &lt;A href="https://nifi.apache.org/docs/nifi-docs/html/toolkit-guide.html#encrypt_config_tool" target="_blank"&gt;Encrypt-config toolkit&lt;/A&gt; to change it as an alternative to the nifi.sh commands.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic"&gt;If you found that the provided solution(s) assisted you with your query, please take a moment to login and click&lt;/FONT&gt;&amp;nbsp;&lt;FONT face="arial black,avant garde" color="#FF0000"&gt;Accept as Solution&amp;nbsp;&lt;/FONT&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;below each response that helped.&lt;BR /&gt;&lt;BR /&gt;Thank you,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="batang,apple gothic" color="#000000"&gt;Matt&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Aug 2023 12:47:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Continuously-Flow-initializing-after-upgrade-from-1-11-4-to/m-p/375512#M242489</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2023-08-23T12:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Continuously Flow initializing after upgrade from 1.11.4 to 1.23.0</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Continuously-Flow-initializing-after-upgrade-from-1-11-4-to/m-p/375576#M242524</link>
      <description>&lt;P&gt;Thank you for your response MattWho!&lt;BR /&gt;&lt;BR /&gt;I didn't just copy configuration files between versions. I did update core configuration files such as nifi.properties and manage it through Ansible. I just copied certificates (jks), flow.xml.gz (flow file) and authorizations.xml (to save my permissions, it is not related to the flow initialization I guess).&lt;BR /&gt;&lt;BR /&gt;Anyway I listen to your recommendations and setup it clearly with fully updated files without any of configuration files from previous versions but no luck. My Flow still cannot be initialized.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least my previous version 1.11.4 won't start with that flow.xml.gz too unfortunately. Seems it some broken there, but I have no clue. One thing I could markup that I installed and used ProtobufProcessor.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have backup flow file behind two months ago and it's worked. I updated NiFi cluster to 1.23.0 and seems its all okay now.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Aug 2023 13:43:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Continuously-Flow-initializing-after-upgrade-from-1-11-4-to/m-p/375576#M242524</guid>
      <dc:creator>pashtet04</dc:creator>
      <dc:date>2023-08-24T13:43:31Z</dc:date>
    </item>
  </channel>
</rss>

