warning in gitea.log #6594

Closed
opened 2025-11-02 07:00:39 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @lds-lds on GitHub (Dec 28, 2020).

Hello
After updating in 1.13.0. I have many warnings in the gitea logs.
are these warnings worrying?

==> gitea/log/gitea.log <==
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column type but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column poster_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column issue_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column label_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_milestone_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column milestone_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_assignee_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column assignee_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_title but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column new_title but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column commit_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column line but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column content but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column created_unix but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column updated_unix but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column commit_sha but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column removed_assignee but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column dependent_issue_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column tree_path but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column patch but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column review_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column invalidated but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column original_author but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column original_author_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_repo_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_issue_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_comment_id but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_action but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_is_pull but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_ref but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column new_ref but struct has not related field
2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column resolve_doer_id but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column owner_id but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column lower_name but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column name but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column description but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column website but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column default_branch but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_watches but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_stars but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_forks but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_issues but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_issues but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_pulls but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_pulls but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_milestones but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_milestones but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_private but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_mirror but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_fork but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column fork_id but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column size but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column created_unix but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column updated_unix but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_fsck_enabled but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column topics but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_empty but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column close_issues_via_commit_in_any_branch but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_archived but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column avatar but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column original_url but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column status but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column original_service_type but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_template but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column template_id but struct has not related field
2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column owner_name but struct has not related field
2020/12/28 11:54:41 ...ations/migrations.go:336:Migrate() [I] Migration[147]: create review for 0 review id code comments
2020/12/28 11:54:41 ...rm/session_schema.go:339:Sync2() [W] Table review column type db type is VARCHAR(255), struct type is INT
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_assignee_id but struct has not related field
2020/12/28 11:54:42 ...ations/migrations.go:336:Migrate() [I] Migration[148]: remove issue dependency comments who refer to non existing issues
2020/12/28 11:54:42 ...ations/migrations.go:336:Migrate() [I] Migration[149]: Add Created and Updated to Milestone table
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column id but struct has not related field
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column repo_id but struct has not related field
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column name but struct has not related field
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column content but struct has not related field
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column is_closed but struct has not related field
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column num_issues but struct has not related field
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column num_closed_issues but struct has not related field
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column completeness but struct has not related field
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column deadline_unix but struct has not related field
2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column closed_date_unix but struct has not related field
2020/12/28 11:54:42 ...ations/migrations.go:336:Migrate() [I] Migration[150]: add primary key to repo_topic
2020/12/28 11:54:43 ...ations/migrations.go:336:Migrate() [I] Migration[151]: set default password algorithm to Argon2
2020/12/28 11:54:43 ...ations/migrations.go:336:Migrate() [I] Migration[152]: add TrustModel field to Repository
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column owner_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column lower_name but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column name but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column description but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column website but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column default_branch but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_watches but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_stars but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_forks but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_issues but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_issues but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_pulls but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_pulls but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_milestones but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_milestones but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_private but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_mirror but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_fork but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column fork_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column size but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column created_unix but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column updated_unix but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_fsck_enabled but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column topics but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_empty but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column close_issues_via_commit_in_any_branch but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_archived but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column avatar but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column original_url but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column status but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column original_service_type but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_template but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column template_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column owner_name but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_projects but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_projects but struct has not related field
2020/12/28 11:54:43 ...ations/migrations.go:336:Migrate() [I] Migration[153]: add Team review request support
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column type but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column reviewer_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column issue_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column content but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column created_unix but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column updated_unix but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column official but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column commit_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column stale but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column original_author but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column original_author_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column type but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column poster_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column issue_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column label_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_milestone_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column milestone_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_assignee_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column assignee_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_title but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column new_title but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column commit_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column line but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column content but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column created_unix but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column updated_unix but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column commit_sha but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column removed_assignee but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column dependent_issue_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column tree_path but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column patch but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column review_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column invalidated but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column original_author but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column original_author_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_repo_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_issue_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_comment_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_action but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_is_pull but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_ref but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column new_ref but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column resolve_doer_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_project_id but struct has not related field
2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column project_id but struct has not related field
2020/12/28 11:54:43 ...ations/migrations.go:336:Migrate() [I] Migration[154]: add timestamps to Star, Label, Follow, Watch and Collaboration
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table star has column id but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table star has column uid but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table star has column repo_id but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column id but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column repo_id but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column name but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column color but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column num_issues but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column num_closed_issues but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column description but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column org_id but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table follow has column id but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table follow has column user_id but struct has not related field
2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table follow has column follow_id but struct has not related field
2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table watch has column id but struct has not related field
2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table watch has column user_id but struct has not related field
2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table watch has column repo_id but struct has not related field
2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table watch has column mode but struct has not related field
2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table collaboration has column id but struct has not related field
2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table collaboration has column repo_id but struct has not related field
2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table collaboration has column user_id but struct has not related field
2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table collaboration has column mode but struct has not related field
2020/12/28 11:54:45 ...ations/migrations.go:336:Migrate() [I] Migration[155]: add changed_protected_files column for pull_request table
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column id but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column type but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column status but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column issue_id but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column index but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column head_repo_id but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column base_repo_id but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column head_branch but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column base_branch but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column merge_base but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column has_merged but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column merged_commit_id but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column merger_id but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column merged_unix but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column conflicted_files but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column commits_ahead but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column commits_behind but struct has not related field
2020/12/28 11:54:46 ...rm/session_schema.go:360:Sync2() [W] Table user Column keep_activity_private db default is , struct default is false
2020/12/28 11:54:46 ...rm/session_schema.go:365:Sync2() [W] Table user Column keep_activity_private db nullable is true, struct nullable is false
2020/12/28 11:54:46 ...rm/session_schema.go:360:Sync2() [W] Table repository Column original_service_type db default is 0, struct default is 
2020/12/28 11:54:47 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_assignee_id but struct has not related field
2020/12/28 11:54:47 ...rm/session_schema.go:360:Sync2() [W] Table webhook Column is_system_webhook db default is 0, struct default is 
2020/12/28 11:54:47 ...rm/session_schema.go:365:Sync2() [W] Table webhook Column is_system_webhook db nullable is false, struct nullable is true
2020/12/28 11:54:47 ...rm/session_schema.go:360:Sync2() [W] Table webhook Column http_method db default is 'POST', struct default is 
2020/12/28 11:54:47 ...rm/session_schema.go:365:Sync2() [W] Table tracked_time Column time db nullable is true, struct nullable is false
2020/12/28 11:54:47 ...rm/session_schema.go:339:Sync2() [W] Table review column type db type is VARCHAR(255), struct type is INT
2020/12/28 11:54:48 ...rm/session_schema.go:365:Sync2() [W] Table language_stat Column language db nullable is true, struct nullable is false
2020/12/28 11:54:48 routers/init.go:145:GlobalInit() [I] ORM engine initialization successful!
2020/12/28 11:54:48 ...er/issues/indexer.go:142:func2() [I] PID 979: Initializing Issue Indexer: bleve
2020/12/28 11:54:48 ...er/issues/indexer.go:221:func3() [I] Issue Indexer Initialization took 1.582742ms
2020/12/28 11:54:48 ...xer/stats/indexer.go:38:populateRepoIndexer() [I] Populating the repo stats indexer with existing repositories
2020/12/28 11:54:48 ...xer/stats/indexer.go:84:populateRepoIndexer() [I] Done (re)populating the repo stats indexer with existing repositories
2020/12/28 11:54:48 routers/init.go:174:GlobalInit() [I] SQLite3 Supported
2020/12/28 11:54:48 routers/init.go:56:checkRunMode() [I] Run Mode: Production
2020/12/28 11:54:48 ...dexer/stats/queue.go:24:handle() [E] stats queue indexer.Index(409) failed: no such file or directory
2020/12/28 11:54:48 ...dexer/stats/queue.go:24:handle() [E] stats queue indexer.Index(11) failed: Malformed IDX file
2020/12/28 11:54:48 cmd/web.go:163:runWeb() [I] Listen: http://0.0.0.0:3000
2020/12/28 11:54:48 cmd/web.go:166:runWeb() [I] LFS server enabled
2020/12/28 11:54:48 ...s/graceful/server.go:55:NewServer() [I] Starting new server: tcp:0.0.0.0:3000 on PID: 979
Originally created by @lds-lds on GitHub (Dec 28, 2020). - Gitea version : 1.13.0 - Git version: 2.7.4 - Operating system: ubuntu xenial - I use wget for gitea install/uprade : (wget -O https://dl.gitea.io/gitea/1.13.0/gitea-1.13.0-linux-amd64) - I run gitea from systemd - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No Hello After updating in 1.13.0. I have many warnings in the gitea logs. are these warnings worrying? ``` ==> gitea/log/gitea.log <== 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column type but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column poster_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column issue_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column label_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_milestone_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column milestone_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_assignee_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column assignee_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_title but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column new_title but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column commit_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column line but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column content but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column created_unix but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column updated_unix but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column commit_sha but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column removed_assignee but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column dependent_issue_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column tree_path but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column patch but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column review_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column invalidated but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column original_author but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column original_author_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_repo_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_issue_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_comment_id but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_action but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_is_pull but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_ref but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column new_ref but struct has not related field 2020/12/28 11:54:40 ...rm/session_schema.go:431:Sync2() [W] Table comment has column resolve_doer_id but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column owner_id but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column lower_name but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column name but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column description but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column website but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column default_branch but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_watches but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_stars but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_forks but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_issues but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_issues but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_pulls but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_pulls but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_milestones but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_milestones but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_private but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_mirror but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_fork but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column fork_id but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column size but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column created_unix but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column updated_unix but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_fsck_enabled but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column topics but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_empty but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column close_issues_via_commit_in_any_branch but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_archived but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column avatar but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column original_url but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column status but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column original_service_type but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_template but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column template_id but struct has not related field 2020/12/28 11:54:41 ...rm/session_schema.go:431:Sync2() [W] Table repository has column owner_name but struct has not related field 2020/12/28 11:54:41 ...ations/migrations.go:336:Migrate() [I] Migration[147]: create review for 0 review id code comments 2020/12/28 11:54:41 ...rm/session_schema.go:339:Sync2() [W] Table review column type db type is VARCHAR(255), struct type is INT 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_assignee_id but struct has not related field 2020/12/28 11:54:42 ...ations/migrations.go:336:Migrate() [I] Migration[148]: remove issue dependency comments who refer to non existing issues 2020/12/28 11:54:42 ...ations/migrations.go:336:Migrate() [I] Migration[149]: Add Created and Updated to Milestone table 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column id but struct has not related field 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column repo_id but struct has not related field 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column name but struct has not related field 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column content but struct has not related field 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column is_closed but struct has not related field 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column num_issues but struct has not related field 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column num_closed_issues but struct has not related field 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column completeness but struct has not related field 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column deadline_unix but struct has not related field 2020/12/28 11:54:42 ...rm/session_schema.go:431:Sync2() [W] Table milestone has column closed_date_unix but struct has not related field 2020/12/28 11:54:42 ...ations/migrations.go:336:Migrate() [I] Migration[150]: add primary key to repo_topic 2020/12/28 11:54:43 ...ations/migrations.go:336:Migrate() [I] Migration[151]: set default password algorithm to Argon2 2020/12/28 11:54:43 ...ations/migrations.go:336:Migrate() [I] Migration[152]: add TrustModel field to Repository 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column owner_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column lower_name but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column name but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column description but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column website but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column default_branch but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_watches but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_stars but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_forks but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_issues but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_issues but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_pulls but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_pulls but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_milestones but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_milestones but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_private but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_mirror but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_fork but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column fork_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column size but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column created_unix but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column updated_unix but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_fsck_enabled but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column topics but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_empty but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column close_issues_via_commit_in_any_branch but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_archived but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column avatar but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column original_url but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column status but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column original_service_type but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column is_template but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column template_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column owner_name but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_projects but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table repository has column num_closed_projects but struct has not related field 2020/12/28 11:54:43 ...ations/migrations.go:336:Migrate() [I] Migration[153]: add Team review request support 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column type but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column reviewer_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column issue_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column content but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column created_unix but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column updated_unix but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column official but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column commit_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column stale but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column original_author but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table review has column original_author_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column type but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column poster_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column issue_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column label_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_milestone_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column milestone_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_assignee_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column assignee_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_title but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column new_title but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column commit_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column line but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column content but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column created_unix but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column updated_unix but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column commit_sha but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column removed_assignee but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column dependent_issue_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column tree_path but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column patch but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column review_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column invalidated but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column original_author but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column original_author_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_repo_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_issue_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_comment_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_action but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column ref_is_pull but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_ref but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column new_ref but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column resolve_doer_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_project_id but struct has not related field 2020/12/28 11:54:43 ...rm/session_schema.go:431:Sync2() [W] Table comment has column project_id but struct has not related field 2020/12/28 11:54:43 ...ations/migrations.go:336:Migrate() [I] Migration[154]: add timestamps to Star, Label, Follow, Watch and Collaboration 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table star has column id but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table star has column uid but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table star has column repo_id but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column id but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column repo_id but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column name but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column color but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column num_issues but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column num_closed_issues but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column description but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table label has column org_id but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table follow has column id but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table follow has column user_id but struct has not related field 2020/12/28 11:54:44 ...rm/session_schema.go:431:Sync2() [W] Table follow has column follow_id but struct has not related field 2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table watch has column id but struct has not related field 2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table watch has column user_id but struct has not related field 2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table watch has column repo_id but struct has not related field 2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table watch has column mode but struct has not related field 2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table collaboration has column id but struct has not related field 2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table collaboration has column repo_id but struct has not related field 2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table collaboration has column user_id but struct has not related field 2020/12/28 11:54:45 ...rm/session_schema.go:431:Sync2() [W] Table collaboration has column mode but struct has not related field 2020/12/28 11:54:45 ...ations/migrations.go:336:Migrate() [I] Migration[155]: add changed_protected_files column for pull_request table 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column id but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column type but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column status but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column issue_id but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column index but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column head_repo_id but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column base_repo_id but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column head_branch but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column base_branch but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column merge_base but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column has_merged but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column merged_commit_id but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column merger_id but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column merged_unix but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column conflicted_files but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column commits_ahead but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:431:Sync2() [W] Table pull_request has column commits_behind but struct has not related field 2020/12/28 11:54:46 ...rm/session_schema.go:360:Sync2() [W] Table user Column keep_activity_private db default is , struct default is false 2020/12/28 11:54:46 ...rm/session_schema.go:365:Sync2() [W] Table user Column keep_activity_private db nullable is true, struct nullable is false 2020/12/28 11:54:46 ...rm/session_schema.go:360:Sync2() [W] Table repository Column original_service_type db default is 0, struct default is 2020/12/28 11:54:47 ...rm/session_schema.go:431:Sync2() [W] Table comment has column old_assignee_id but struct has not related field 2020/12/28 11:54:47 ...rm/session_schema.go:360:Sync2() [W] Table webhook Column is_system_webhook db default is 0, struct default is 2020/12/28 11:54:47 ...rm/session_schema.go:365:Sync2() [W] Table webhook Column is_system_webhook db nullable is false, struct nullable is true 2020/12/28 11:54:47 ...rm/session_schema.go:360:Sync2() [W] Table webhook Column http_method db default is 'POST', struct default is 2020/12/28 11:54:47 ...rm/session_schema.go:365:Sync2() [W] Table tracked_time Column time db nullable is true, struct nullable is false 2020/12/28 11:54:47 ...rm/session_schema.go:339:Sync2() [W] Table review column type db type is VARCHAR(255), struct type is INT 2020/12/28 11:54:48 ...rm/session_schema.go:365:Sync2() [W] Table language_stat Column language db nullable is true, struct nullable is false 2020/12/28 11:54:48 routers/init.go:145:GlobalInit() [I] ORM engine initialization successful! 2020/12/28 11:54:48 ...er/issues/indexer.go:142:func2() [I] PID 979: Initializing Issue Indexer: bleve 2020/12/28 11:54:48 ...er/issues/indexer.go:221:func3() [I] Issue Indexer Initialization took 1.582742ms 2020/12/28 11:54:48 ...xer/stats/indexer.go:38:populateRepoIndexer() [I] Populating the repo stats indexer with existing repositories 2020/12/28 11:54:48 ...xer/stats/indexer.go:84:populateRepoIndexer() [I] Done (re)populating the repo stats indexer with existing repositories 2020/12/28 11:54:48 routers/init.go:174:GlobalInit() [I] SQLite3 Supported 2020/12/28 11:54:48 routers/init.go:56:checkRunMode() [I] Run Mode: Production 2020/12/28 11:54:48 ...dexer/stats/queue.go:24:handle() [E] stats queue indexer.Index(409) failed: no such file or directory 2020/12/28 11:54:48 ...dexer/stats/queue.go:24:handle() [E] stats queue indexer.Index(11) failed: Malformed IDX file 2020/12/28 11:54:48 cmd/web.go:163:runWeb() [I] Listen: http://0.0.0.0:3000 2020/12/28 11:54:48 cmd/web.go:166:runWeb() [I] LFS server enabled 2020/12/28 11:54:48 ...s/graceful/server.go:55:NewServer() [I] Starting new server: tcp:0.0.0.0:3000 on PID: 979 ```
Author
Owner

@zeripath commented on GitHub (Dec 28, 2020):

You haven't told us which type of database you're using.

In future please complete the issue proforma.

@zeripath commented on GitHub (Dec 28, 2020): You haven't told us which type of database you're using. In future please complete the issue proforma.
Author
Owner

@lds-lds commented on GitHub (Dec 28, 2020):

I have just redone the ticket with the issue proforma. So my db is mariadb (10.0.38-MariaDB-0ubuntu0.16.04.1)

@lds-lds commented on GitHub (Dec 28, 2020): I have just redone the ticket with the issue proforma. So my db is mariadb (10.0.38-MariaDB-0ubuntu0.16.04.1)
Author
Owner

@zeripath commented on GitHub (Dec 28, 2020):

OK, the Sync2 warnings can be ignored.

They're simply due to the inconsistencies with the way our object relation-mapping system, xorm, has inferred the schema. It should be fixed in master which has an updated version of xorm.

Some may be resolved by running gitea doctor recreate-table . If you were to get any on the master branch that would definitely resolve them - and if not please report any that persist.

Now:

2020/12/28 11:54:48 ...dexer/stats/queue.go:24:handle() [E] stats queue indexer.Index(409) failed: no such file or directory
2020/12/28 11:54:48 ...dexer/stats/queue.go:24:handle() [E] stats queue indexer.Index(11) failed: Malformed IDX file

are slightly more interesting - if you get this every time then I would ask how you are stopping and restarting gitea? This would imply that the queue file is corrupted - this is fine as we rebuild it as necessary - however, you could technically suffer some data loss. You should avoid killing gitea using kill -9

@zeripath commented on GitHub (Dec 28, 2020): OK, the Sync2 warnings can be ignored. They're simply due to the inconsistencies with the way our object relation-mapping system, xorm, has inferred the schema. It should be fixed in master which has an updated version of xorm. Some may be resolved by running `gitea doctor recreate-table` . If you were to get any on the master branch that would definitely resolve them - and if not please report any that persist. Now: ``` 2020/12/28 11:54:48 ...dexer/stats/queue.go:24:handle() [E] stats queue indexer.Index(409) failed: no such file or directory 2020/12/28 11:54:48 ...dexer/stats/queue.go:24:handle() [E] stats queue indexer.Index(11) failed: Malformed IDX file ``` are slightly more interesting - if you get this every time then I would ask how you are stopping and restarting gitea? This would imply that the queue file is corrupted - this is fine as we rebuild it as necessary - however, you could technically suffer some data loss. You should avoid killing gitea using kill -9
Author
Owner

@lds-lds commented on GitHub (Dec 28, 2020):

I stop and start gitea with systemd

[Unit]
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target

[Service]
LimitMEMLOCK=infinity
LimitNOFILE=65535
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=/home/git/gitea
ExecStart=/home/git/gitea/gitea web
Restart=always
Environment=USER=git HOME=/home/git

[Install]
WantedBy=multi-user.target
@lds-lds commented on GitHub (Dec 28, 2020): I stop and start gitea with systemd ``` [Unit] Description=Gitea (Git with a cup of tea) After=syslog.target After=network.target [Service] LimitMEMLOCK=infinity LimitNOFILE=65535 RestartSec=2s Type=simple User=git Group=git WorkingDirectory=/home/git/gitea ExecStart=/home/git/gitea/gitea web Restart=always Environment=USER=git HOME=/home/git [Install] WantedBy=multi-user.target ```
Author
Owner

@lunny commented on GitHub (Dec 28, 2020):

The xorm warning on migrations because most migrations has only part of the struct but not a throughout one. Just like @zeripath said, we can ignore the migration warning. Once updated to latest version, they will disappear when restart Gitea next time.

@lunny commented on GitHub (Dec 28, 2020): The xorm warning on migrations because most migrations has only part of the struct but not a throughout one. Just like @zeripath said, we can ignore the migration warning. Once updated to latest version, they will disappear when restart Gitea next time.
Author
Owner

@lds-lds commented on GitHub (Dec 28, 2020):

ok thanks :)

@lds-lds commented on GitHub (Dec 28, 2020): ok thanks :)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6594