Closed
Description
- Gitea version (or commit ref): 1.3.2
- Git version:
- Operating system:
- Database (use
[x]
):- PostgreSQL
- [ x] MySQL
- MSSQL
- SQLite
- Can you reproduce the bug at https://try.gitea.io:
- Yes (provide example URL)
- No
- [x ] Not relevant
- Log gist:
Description
The command gitea admin change-password
fails with only this message: models.SetEngine: Failed to connect to database: Unknown database type:
which leads me to believe that it isn't reading any database information from the config file. There doesn't appear to be an option to set the config file path when using the cli for this command (option looks to be available for other cli commands). I also tried copying my app.ini file into custom/conf/app.ini in a current working directory of /var/lib/gitea but got hte same error.