Gitea 1.9.6 to 1.12.2 upgrade

Tried to upgrade from 1.9.6 to 1.12.2, Its taking lot of time to start the service with 1.12.2, and after lot of time also gitea service is not starting. Any recommendations / steps to follow regarding the upgrade?

How long did you wait? I think it took a couple minutes to start when I upgraded. Which DB are you using?

I waited roughly around 20 minutes. yet it didn’t started.
SQL server is the DB. Did you gone straightly to the 1.12.2 or did it incrementally with intermediate versions?

We did 1.11.5->1.12.1->1.12.2 with MariaDB. Are you using utf8mb4 encoding? We had some issues and had to convert our DB.

gitea convert -c /etc/gitea/app.ini

No issues with the encoding though. there are large repositories exist and database migration is always been stuck when i trying to migrate to 1.11.3. Still couldn’t find a way through this

1.12.x has a migration that is run on all your repositories, so make sure to monitor your RAM usage during startup as the binary is still running when you start 1.12 that is a good sign as it means the migrations are ongoing.