Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
When restoring the gitea database form a backup I got a lot of messages of type
Error 1061 (42000): Duplicate key name ....
I got those same messages when doing an upgrade, and when restoring the original database.
The command gitea doctor check-db-version gave these messages.
After some research I discovered that my MariaDB database engine was set to Aria
Recreating the database with InnoDB restored proper functionality
Description
When restoring the gitea database form a backup I got a lot of messages of type Error 1061 (42000): Duplicate key name ....
I got those same messages when doing an upgrade, and when restoring the original database. The command
gitea doctor check-db-version
gave these messages.After some research I discovered that my MariaDB database engine was set to Aria Recreating the database with InnoDB restored proper functionality
Gitea Version
1.19.3 to 1.22.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
Git Version
2.30.2
Operating System
Debian GNU/Linux 11 (bullseye) AMD64
How are you running Gitea?
downloaded releases
Database
MySQL/MariaDB