Metabase upgrade failed due to db migration

I am trying to upgrade my Metabase service to the latest version using the instructions from this guide. I have run the SQL commands as directed, but I am still encountering the following error repeatedly. Could anyone help me understand what might be causing this issue?

2025-01-11 15:11:53,048 INFO db.setup :: Verifying postgres Database Connection ...
2025-01-11 15:11:53,407 INFO db.setup :: Successfully verified PostgreSQL 13.15 application database connection. :white_check_mark:
2025-01-11 15:11:53,408 INFO db.setup :: Checking if a database downgrade is required...
2025-01-11 15:11:53,522 INFO liquibase.database :: Set default schema name to public
2025-01-11 15:11:54,105 INFO liquibase :: Parsed changelog file 'liquibase.yaml'
2025-01-11 15:11:54,248 INFO db.setup :: Running Database Migrations...
2025-01-11 15:11:54,248 INFO db.setup :: Setting up Liquibase...
2025-01-11 15:11:54,257 INFO liquibase.database :: Set default schema name to public
2025-01-11 15:11:54,597 INFO liquibase :: Parsed changelog file 'liquibase.yaml'
2025-01-11 15:11:54,621 INFO db.setup :: Liquibase is ready.
2025-01-11 15:11:54,635 INFO liquibase.database :: Set default schema name to public
2025-01-11 15:11:54,823 INFO liquibase :: Parsed changelog file 'liquibase.yaml'
2025-01-11 15:11:54,866 INFO liquibase.changelog :: Reading from public.databasechangelog
2025-01-11 15:11:55,140 INFO liquibase.changelog :: Reading from public.databasechangelog
2025-01-11 15:11:55,349 INFO liquibase.lockservice :: Successfully acquired change log lock
2025-01-11 15:11:55,367 INFO liquibase.changelog :: Reading from public.databasechangelog
2025-01-11 15:11:55,402 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v48.00-001::qnkhuat'
2025-01-11 15:11:55,404 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v48.00-022::johnswanson'
2025-01-11 15:11:55,404 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v48.00-023::piranha'
2025-01-11 15:11:55,408 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v49.00-059::qnkhuat'
2025-01-11 15:11:55,408 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v49.2024-01-22T11:52:00::qnkhuat'
2025-01-11 15:11:55,409 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v49.2024-04-09T10:00:03::qnkhuat'
2025-01-11 15:11:55,411 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-03-28T16:30:35::calherries'
2025-01-11 15:11:55,411 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-04-25T01:04:05::qnkhuat'
2025-01-11 15:11:55,411 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-04-25T01:04:06::qnkhuat'
2025-01-11 15:11:55,411 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-04-25T01:04:07::qnkhuat'
2025-01-11 15:11:55,413 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-05-15T13:13:13::adam-james'
2025-01-11 15:11:55,413 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-05-17T19:54:26::calherries'
2025-01-11 15:11:55,414 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-05-27T15:55:22::calherries'
2025-01-11 15:11:55,414 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-06-12T12:33:07::piranha'
2025-01-11 15:11:55,415 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v51.2024-05-13T16:00:00::metamben'
2025-01-11 15:11:55,416 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v51.2024-08-07T10:00:00::ranquild'
2025-01-11 15:11:55,416 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v51.2024-08-07T11:00:00::ranquild'
2025-01-11 15:11:55,417 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v52.2024-10-26T18:42:42::metamben'
2025-01-11 15:11:55,417 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v52.2024-11-12T15:13:18::metamben'
2025-01-11 15:11:55,418 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v52.2024-12-03T15:55:22::escherize'
2025-01-11 15:11:55,433 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v48.00-001::qnkhuat'
2025-01-11 15:11:55,434 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v48.00-022::johnswanson'
2025-01-11 15:11:55,435 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v48.00-023::piranha'
2025-01-11 15:11:55,437 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v49.00-059::qnkhuat'
2025-01-11 15:11:55,438 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v49.2024-01-22T11:52:00::qnkhuat'
2025-01-11 15:11:55,438 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v49.2024-04-09T10:00:03::qnkhuat'
2025-01-11 15:11:55,440 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-03-28T16:30:35::calherries'
2025-01-11 15:11:55,441 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-04-25T01:04:05::qnkhuat'
2025-01-11 15:11:55,441 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-04-25T01:04:06::qnkhuat'
2025-01-11 15:11:55,441 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-04-25T01:04:07::qnkhuat'
2025-01-11 15:11:55,443 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-05-15T13:13:13::adam-james'
2025-01-11 15:11:55,443 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-05-17T19:54:26::calherries'
2025-01-11 15:11:55,443 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-05-27T15:55:22::calherries'
2025-01-11 15:11:55,444 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v50.2024-06-12T12:33:07::piranha'
2025-01-11 15:11:55,444 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v51.2024-05-13T16:00:00::metamben'
2025-01-11 15:11:55,446 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v51.2024-08-07T10:00:00::ranquild'
2025-01-11 15:11:55,446 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v51.2024-08-07T11:00:00::ranquild'
2025-01-11 15:11:55,447 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v52.2024-10-26T18:42:42::metamben'
2025-01-11 15:11:55,448 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v52.2024-11-12T15:13:18::metamben'
2025-01-11 15:11:55,448 INFO liquibase.changelog :: Not validating ignored change set 'migrations/001_update_migrations.yaml::v52.2024-12-03T15:55:22::escherize'
2025-01-11 15:11:55,457 INFO liquibase.changelog :: Reading from public.databasechangelog
2025-01-11 15:11:55,523 INFO liquibase.lockservice :: Successfully released change log lock
2025-01-11 15:11:55,531 INFO liquibase.lockservice :: Successfully released change log lock
2025-01-11 15:11:55,532 INFO liquibase.command :: Command execution complete
2025-01-11 15:11:55,533 INFO db.setup :: Database Upgrade Required

NOTICE: Your database requires updates to work with this version of Metabase.
Please execute the following sql commands on your database before proceeding.

-- Lock Database
UPDATE public.databasechangeloglock SET LOCKED = TRUE, LOCKEDBY = 'ip-10-0-0-76 (10.0.0.76)', LOCKGRANTED = NOW() WHERE ID = 1 AND LOCKED = FALSE;

-- *********************************************************************
-- Update Database Script
-- *********************************************************************
-- Change Log: liquibase.yaml
-- Ran at: 1/11/25, 3:11 PM
-- Against: posthog@jdbc:postgresql://mety-rds.ck3mrabywp2q.ap-south-1.rds.amazonaws.com:5432/metabase
-- Liquibase version: 4.26.0
-- *********************************************************************

-- Release Database Lock
UPDATE public.databasechangeloglock SET LOCKED = FALSE, LOCKEDBY = NULL, LOCKGRANTED = NULL WHERE ID = 1;

Once your database is updated try running the application again.

2025-01-11 15:11:55,555 ERROR metabase.core :: Metabase Initialization FAILED
java.lang.Exception: Database requires manual upgrade.
at metabase.db.setup$print_migrations_and_quit_if_needed_BANG_.invokeStatic(setup.clj:53)
at metabase.db.setup$print_migrations_and_quit_if_needed_BANG_.invoke(setup.clj:38)
at metabase.db.setup$migrate_BANG_55735__55736$fn__55737.invoke(setup.clj:87)
at metabase.db.liquibase$do_with_liquibase45698__45699$f_STAR___45700.invoke(liquibase.clj:135)
at metabase.db.liquibase$do_with_liquibase45698__45699.invokeStatic(liquibase.clj:138)
at metabase.db.liquibase$do_with_liquibase45698__45699.invoke(liquibase.clj:126)
at metabase.db.setup$migrate_BANG_55735__55736.invokeStatic(setup.clj:73)
at metabase.db.setup$migrate_BANG_55735__55736.doInvoke(setup.clj:55)
at clojure.lang.RestFn.invoke(RestFn.java:428)
at metabase.db.setup$run_schema_migrations_BANG_55762__55763.invokeStatic(setup.clj:149)
at metabase.db.setup$run_schema_migrations_BANG_55762__55763.invoke(setup.clj:144)
at metabase.db.setup$setup_db_BANG_55769__55770$fn__55773$fn__55774.invoke(setup.clj:167)
at metabase.util.jvm$do_with_us_locale.invokeStatic(jvm.clj:238)
at metabase.util.jvm$do_with_us_locale.invoke(jvm.clj:224)
at metabase.db.setup$setup_db_BANG_55769__55770$fn__55773.invoke(setup.clj:161)
at metabase.db.setup$setup_db_BANG_55769__55770.invokeStatic(setup.clj:160)
at metabase.db.setup$setup_db_BANG_55769__55770.invoke(setup.clj:153)
at metabase.db$setup_db_BANG_$fn__55798.invoke(db.clj:86)
at metabase.db$setup_db_BANG_.invokeStatic(db.clj:81)
at metabase.db$setup_db_BANG_.doInvoke(db.clj:68)
at clojure.lang.RestFn.invoke(RestFn.java:424)
at metabase.core$init_BANG__STAR_.invokeStatic(core.clj:121)
at metabase.core$init_BANG__STAR_.invoke(core.clj:102)
at metabase.core$init_BANG_.invokeStatic(core.clj:180)
at metabase.core$init_BANG_.invoke(core.clj:175)
at metabase.core$start_normally.invokeStatic(core.clj:192)
at metabase.core$start_normally.invoke(core.clj:186)
at metabase.core$entrypoint.invokeStatic(core.clj:228)
at metabase.core$entrypoint.doInvoke(core.clj:219)
at clojure.lang.RestFn.invoke(RestFn.java:400)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:135)
at clojure.lang.Var.applyTo(Var.java:707)
at clojure.core$apply.invokeStatic(core.clj:667)
at clojure.core$apply.invoke(core.clj:662)
at metabase.bootstrap$_main.invokeStatic(bootstrap.clj:31)
at metabase.bootstrap$_main.doInvoke(bootstrap.clj:28)
at clojure.lang.RestFn.invoke(RestFn.java:400)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.RestFn.applyTo(RestFn.java:135)
at metabase.bootstrap.main(Unknown Source)
2025-01-11 15:11:55,558 INFO metabase.core :: Metabase Shutting Down ...
2025-01-11 15:11:55,565 INFO metabase.server :: Shutting Down Embedded Jetty Webserver
2025-01-11 15:11:55,571 WARN db.liquibase :: ()
2025-01-11 15:11:55,572 INFO metabase.core :: Metabase Shutdown COMPLETE