Just to be sure, not to loose any data: before doing any tempering with the flow.xml.gz, please back up everything (original flow.xml.gz from 1.16.2, etc.)
> On 2023. Feb 21., at 9:02, Simon Bence <[email protected]> wrote: > > Hi Tuyen, > > The attached error message contains the following lines: > > Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1] > Message: Invalid byte 1 of 1-byte UTF-8 sequence. > > This could be the sign of a misformatted XML. Is it possible that the XML was > edited by hand? Please try the following things in order to rule out errors > with the file: > - Please unzip it and check if the extracted xml looks well formatted > - Could you please check if the XML file starts with “<“? Also if the > character encoding is correct. > - Also please try to copy the faulty flow.xml.gz back to the 1.16.2 instance > and try to start it using this config. Can it start up? > > If it does not help, could you please copy the first 3-4 lines from the > flow.xml here? Thanks! > > Regards, > Bence Simon > >> On 2023. Feb 21., at 3:20, Tuyen NGUYEN THI NHU <[email protected]> >> wrote: >> >> Dear Apache Nifi team, >> >> I am new to Apache Nifi and moving the existing data flow processes (set up >> by my old colleague) to another new server. I also upgraded the version from >> nifi 1.16.2 to nifi 1.19.1. I already copied the flow.xml.gz file from old >> NiFi to the new NiFi and upload it but I get the error: >> >> 2023-02-20 15:13:27,155 WARN [NiFi Web Server-36] >> o.a.nifi.web.api.ProcessGroupResource An error occurred while importing a >> template. >> org.apache.nifi.xml.processing.ProcessingException: Reader creation failed >> >> To be more specific, you can check the file attached. >> >> Please give me a solution to deal with this issue. I am now stuck. >> >> Thank you and best regards, >> >> Tuyen Nguyen >> >> >> <Apache Nifi.txt> >
