Some errors (?) (stats queue idexer.Index(761) failed: object does not exist) after Gitea start? #5702

Closed
opened 2025-11-02 06:33:32 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @somera on GitHub (Jul 7, 2020).

  • Gitea version (or commit ref): 1.12.1
  • Git version: 2.20.1
  • Operating system: Linux
  • 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:
==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(761) failed: object does not exist [id: refs/heads/master, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)



==> xorm.log <==
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [757] - 424.99µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 757] - 232.661µs

==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(757) failed: object does not exist [id: refs/heads/master, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)



==> xorm.log <==
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [756] - 457.119µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 756] - 475.841µs

==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(756) failed: object does not exist [id: refs/heads/master, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)



==> xorm.log <==
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [755] - 359.306µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 755] - 803.462µs

==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(755) failed: object does not exist [id: refs/heads/master, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)



==> xorm.log <==
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [752] - 365.084µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 752] - 192.718µs

==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(752) failed: object does not exist [id: refs/heads/master, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)



==> xorm.log <==
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [750] - 367.899µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 750] - 203.81µs

==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(750) failed: object does not exist [id: refs/heads/master, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)



==> xorm.log <==
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [749] - 414.361µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 749] - 642.04µs

==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(749) failed: object does not exist [id: refs/heads/master, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)



==> xorm.log <==
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [620] - 545.116µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 620] - 243.568µs

==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(620) failed: object does not exist [id: refs/heads/2.1, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)



==> xorm.log <==
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [269] - 574.023µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 269] - 222.199µs

==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(269) failed: object does not exist [id: refs/heads/master, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)



==> xorm.log <==
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [198] - 365.713µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 198] - 438.138µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [30] - 345.01µs
2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 30] - 174.458µs

==> gitea.log <==
2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(198) failed: object does not exist [id: refs/heads/master, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)


2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(30) failed: object does not exist [id: refs/heads/4.1-development, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)


2020/07/07 12:48:01 cmd/web.go:161:runWeb() [I] Listen: http://0.0.0.0:3000/git
2020/07/07 12:48:01 cmd/web.go:164:runWeb() [I] LFS server enabled
2020/07/07 12:48:01 ...s/graceful/server.go:55:NewServer() [I] Starting new server: tcp:0.0.0.0:3000 on PID: 19875
2020/07/07 12:48:01 ...s/graceful/server.go:66:func1() [D] Starting server on tcp:0.0.0.0:3000 (PID: 19875)
2020/07/07 12:48:01 models/repo.go:1845:DeleteOldRepositoryArchives() [T] Finished: ArchiveCleanup

Description

After Gitea restart I see some errors in the log. Bug or "normal"?

Originally created by @somera on GitHub (Jul 7, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.12.1 - Git version: 2.20.1 - Operating system: Linux - 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: ``` ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(761) failed: object does not exist [id: refs/heads/master, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ==> xorm.log <== 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [757] - 424.99µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 757] - 232.661µs ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(757) failed: object does not exist [id: refs/heads/master, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ==> xorm.log <== 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [756] - 457.119µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 756] - 475.841µs ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(756) failed: object does not exist [id: refs/heads/master, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ==> xorm.log <== 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [755] - 359.306µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 755] - 803.462µs ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(755) failed: object does not exist [id: refs/heads/master, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ==> xorm.log <== 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [752] - 365.084µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 752] - 192.718µs ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(752) failed: object does not exist [id: refs/heads/master, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ==> xorm.log <== 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [750] - 367.899µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 750] - 203.81µs ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(750) failed: object does not exist [id: refs/heads/master, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ==> xorm.log <== 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [749] - 414.361µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 749] - 642.04µs ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(749) failed: object does not exist [id: refs/heads/master, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ==> xorm.log <== 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [620] - 545.116µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 620] - 243.568µs ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(620) failed: object does not exist [id: refs/heads/2.1, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ==> xorm.log <== 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [269] - 574.023µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 269] - 222.199µs ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(269) failed: object does not exist [id: refs/heads/master, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ==> xorm.log <== 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [198] - 365.713µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 198] - 438.138µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `owner_id`, `owner_name`, `lower_name`, `name`, `description`, `website`, `original_service_type`, `original_url`, `default_branch`, `num_watches`, `num_stars`, `num_forks`, `num_issues`, `num_closed_issues`, `num_pulls`, `num_closed_pulls`, `num_milestones`, `num_closed_milestones`, `is_private`, `is_empty`, `is_archived`, `is_mirror`, `status`, `is_fork`, `fork_id`, `is_template`, `template_id`, `size`, `is_fsck_enabled`, `close_issues_via_commit_in_any_branch`, `topics`, `avatar`, `created_unix`, `updated_unix` FROM `repository` WHERE `id`=? LIMIT 1 [30] - 345.01µs 2020/07/07 12:48:00 ...m.io/xorm/core/db.go:154:QueryContext() [I] [SQL] SELECT `id`, `repo_id`, `commit_sha`, `indexer_type` FROM `repo_indexer_status` WHERE (`indexer_type` = ?) AND `repo_id`=? LIMIT 1 [1 30] - 174.458µs ==> gitea.log <== 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(198) failed: object does not exist [id: refs/heads/master, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(30) failed: object does not exist [id: refs/heads/4.1-development, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) 2020/07/07 12:48:01 cmd/web.go:161:runWeb() [I] Listen: http://0.0.0.0:3000/git 2020/07/07 12:48:01 cmd/web.go:164:runWeb() [I] LFS server enabled 2020/07/07 12:48:01 ...s/graceful/server.go:55:NewServer() [I] Starting new server: tcp:0.0.0.0:3000 on PID: 19875 2020/07/07 12:48:01 ...s/graceful/server.go:66:func1() [D] Starting server on tcp:0.0.0.0:3000 (PID: 19875) 2020/07/07 12:48:01 models/repo.go:1845:DeleteOldRepositoryArchives() [T] Finished: ArchiveCleanup ``` ## Description After Gitea restart I see some errors in the log. Bug or "normal"?
Author
Owner

@somera commented on GitHub (Jul 11, 2020):

Are this bugs?!

If no, than you can close it.

When yes, how can this be fixed? GC didn't help. And mirror is still now working for 12 days now.

@somera commented on GitHub (Jul 11, 2020): Are this bugs?! If no, than you can close it. When yes, how can this be fixed? GC didn't help. And mirror is still now working for 12 days now.
Author
Owner

@lunny commented on GitHub (Jul 12, 2020):

We need more information to detect if it's a bug or the repository has blank commit? Is that repository a public one? If that, could you share it on https://try.gitea.io?

@lunny commented on GitHub (Jul 12, 2020): We need more information to detect if it's a bug or the repository has blank commit? Is that repository a public one? If that, could you share it on https://try.gitea.io?
Author
Owner

@somera commented on GitHub (Jul 12, 2020):

We need more information to detect if it's a bug or the repository has blank commit? Is that repository a public one? If that, could you share it on https://try.gitea.io?

Sorry, but I can't give you more informations. There is no information about the repo.

When I see this:

2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(30) failed: object does not exist [id: refs/heads/4.1-development, rel_path: ]
        /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c)
        /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793)
        /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557)
        /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b)

I don't see the repo name in the log message.

@somera commented on GitHub (Jul 12, 2020): > We need more information to detect if it's a bug or the repository has blank commit? Is that repository a public one? If that, could you share it on https://try.gitea.io? Sorry, but I can't give you more informations. There is no information about the repo. When I see this: ``` 2020/07/07 12:48:00 ...dexer/stats/queue.go:24:handle() [E] stats queue idexer.Index(30) failed: object does not exist [id: refs/heads/4.1-development, rel_path: ] /go/src/code.gitea.io/gitea/modules/indexer/stats/queue.go:24 (0x107407c) /go/src/code.gitea.io/gitea/modules/queue/unique_queue_channel.go:59 (0x1064997) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:383 (0x1063793) /go/src/code.gitea.io/gitea/modules/queue/workerpool.go:238 (0x1065557) /usr/local/go/src/runtime/asm_arm.s:857 (0x7895b) ``` I don't see the repo name in the log message.
Author
Owner

@somera commented on GitHub (Jul 24, 2020):

I can close it. Cause I migrated my Gitea to new Server.

@somera commented on GitHub (Jul 24, 2020): I can close it. Cause I migrated my Gitea to new Server.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5702