# Gitea 1.9.6 to 1.12.2 upgrade

**URL:** <https://forum.gitea.com/t/gitea-1-9-6-to-1-12-2-upgrade/2351>\
**Category:** Install/Maintain/Configure\
**Created:** [July 27, 2020, 12:09pm UTC](https://forum.gitea.com/t/gitea-1-9-6-to-1-12-2-upgrade/2351 "2020-07-27T12:09:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gNEX](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gNEX](https://forum.gitea.com/u/gNEX)\
**Post date:** [July 27, 2020, 12:09pm UTC](https://forum.gitea.com/t/gitea-1-9-6-to-1-12-2-upgrade/2351/1 "2020-07-27T12:09:01Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![stu1811](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@stu1811](https://forum.gitea.com/u/stu1811)\
**Post date:** [July 27, 2020, 12:17pm UTC](https://forum.gitea.com/t/gitea-1-9-6-to-1-12-2-upgrade/2351/2 "2020-07-27T12:17:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![gNEX](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gNEX](https://forum.gitea.com/u/gNEX)\
**Post date:** [July 27, 2020, 12:21pm UTC](https://forum.gitea.com/t/gitea-1-9-6-to-1-12-2-upgrade/2351/3 "2020-07-27T12:21:29Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![stu1811](https://avatars.discourse-cdn.com/v4/letter/s/b782af/32.png) [@stu1811](https://forum.gitea.com/u/stu1811)\
**Post date:** [July 28, 2020, 12:15pm UTC](https://forum.gitea.com/t/gitea-1-9-6-to-1-12-2-upgrade/2351/4 "2020-07-28T12:15:10Z")

</div>

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`

---

<div class="post-metadata">

**Author:** ![gNEX](https://avatars.discourse-cdn.com/v4/letter/g/e274bd/32.png) [@gNEX](https://forum.gitea.com/u/gNEX)\
**Post date:** [August 4, 2020, 4:25am UTC](https://forum.gitea.com/t/gitea-1-9-6-to-1-12-2-upgrade/2351/5 "2020-08-04T04:25:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![techknowlogick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/techknowlogick/32/4706_2.png) [@techknowlogick](https://forum.gitea.com/u/techknowlogick)\
**Post date:** [August 12, 2020, 6:59pm UTC](https://forum.gitea.com/t/gitea-1-9-6-to-1-12-2-upgrade/2351/6 "2020-08-12T18:59:24Z")

</div>

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.
