Upgrade on freebsd from repo 1.4 to 1.6 left the database untouched #2648

Closed
opened 2025-11-02 04:43:24 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @ralf-freihaendig on GitHub (Dec 11, 2018).

  • Gitea version (or commit ref): 1.6
  • Git version:
  • Operating system: freeBSD
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

Upgrade using the repo from 1.4 to 1.6.

The "gitea admin change-password" command quit with an error.
It misses the columns:

  • user.must_change_password
  • user.language

Created the columns manually by using sqlite3 and the command ran successfully again.
Please check the migration process.

Screenshots

Originally created by @ralf-freihaendig on GitHub (Dec 11, 2018). - Gitea version (or commit ref): 1.6 - Git version: - Operating system: freeBSD - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [X] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [X] Not relevant - Log gist: ## Description Upgrade using the repo from 1.4 to 1.6. The "gitea admin change-password" command quit with an error. It misses the columns: - user.must_change_password - user.language Created the columns manually by using sqlite3 and the command ran successfully again. Please check the migration process. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/question label 2025-11-02 04:43:24 -06:00
Author
Owner

@lunny commented on GitHub (Dec 11, 2018):

You could run gitea migrate at first.

@lunny commented on GitHub (Dec 11, 2018): You could run `gitea migrate` at first.
Author
Owner

@techknowlogick commented on GitHub (Dec 22, 2018):

Closing. Please re-open if the above suggestion didn't work.

@techknowlogick commented on GitHub (Dec 22, 2018): Closing. Please re-open if the above suggestion didn't work.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2648