Upgradation on sonatype iq server from release 131 to release 145

I am trying to upgrade my nexus iq from release 131 to release 145. while i have made all the changes as mention in the release document, but still i am not able to bring up the server.
error :-
Oct 13 05:30:08 ip-172-31-80-27 nohup: 2022-10-13 05:30:08,628+0000 INFO [main] *SYSTEM com.sonatype.insight.brain.db.DatabaseMigrator - Current version of database insight_brain_ods: 245

Oct 13 05:30:08 ip-172-31-80-27 nohup: 2022-10-13 05:30:08,628+0000 INFO [main] *SYSTEM com.sonatype.insight.brain.db.DatabaseMigrator - Migrating database schema insight_brain_ods to version: 268

Oct 13 05:30:08 ip-172-31-80-27 systemd: Removed slice User Slice of root.

Oct 13 05:30:08 ip-172-31-80-27 log4j-cve-2021-44228-hotpatch: [log4j-hotpatch] JVM version is openjdk version “11.0.16.1” 2022-08-12 LTS

Oct 13 05:30:08 ip-172-31-80-27 root: JVM version is openjdk version “11.0.16.1” 2022-08-12 LTS

Oct 13 05:30:08 ip-172-31-80-27 log4j-cve-2021-44228-hotpatch: [log4j-hotpatch] Identified JVM[openjdk] of (openjdk version “11.0.16.1” 2022-08-12 LTS) with major version 11

Oct 13 05:30:08 ip-172-31-80-27 root: Identified JVM[openjdk] of (openjdk version “11.0.16.1” 2022-08-12 LTS) with major version 11

Oct 13 05:30:08 ip-172-31-80-27 nohup: java.lang.IllegalStateException: Fatal error trying to start server

Oct 13 05:30:08 ip-172-31-80-27 nohup: at com.sonatype.insight.brain.service.InsightBrainService$2.onError(InsightBrainService.java:177)

Oct 13 05:30:08 ip-172-31-80-27 nohup: at io.dropwizard.cli.Cli.run(Cli.java:82)

Oct 13 05:30:08 ip-172-31-80-27 nohup: at com.sonatype.insight.brain.service.InsightBrainService.run(InsightBrainService.java:192)

Oct 13 05:30:08 ip-172-31-80-27 nohup: at com.sonatype.insight.brain.service.InsightBrainService.main(InsightBrainService.java:114)

Oct 13 05:30:08 ip-172-31-80-27 nohup: Caused by: java.lang.IllegalStateException: Cannot migrate database. The backup directory ‘/./sonatype-work/clm-server/data/backup’ already exists, indicating that a previous migration failed. Please contact support for further assistance.

Oct 13 05:30:08 ip-172-31-80-27 nohup: at com.sonatype.insight.brain.db.DatabaseMigrator.migrate(DatabaseMigrator.java:120)

please take a look and let me know the proper solution to that.

Hi Aniket,
Welcome to the Community forum where members like you can collaborate with like-minded folks, share their expertise, and support the growing Sonatype Community. If you are seeking assistance from the Sonatype Support team, please register your organisation on https://my.sonatype.com/, then authorise your ID. You can find instructions on how to do that at My Sonatype. Once you do that you can report your issue at https://support.sonatype.com to receive licensed customer support, as it seems like you are a licensed customer. This is one of the services your license pays for.

1 Like