cron.archive_cleanup = DISABLED, but shown in the overview as active #5671

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

Originally created by @somera on GitHub (Jul 1, 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

Description

This is my configuration entry for cron.archive_cleanup:

; Clean up old repository archives
[cron.archive_cleanup]
; Whether to enable the job
ENABLED = false

And in the monitoring overview I see:

old archives:
image

all archives:
image

Originally created by @somera on GitHub (Jul 1, 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 ## Description This is my configuration entry for cron.archive_cleanup: ``` ; Clean up old repository archives [cron.archive_cleanup] ; Whether to enable the job ENABLED = false ``` And in the monitoring overview I see: old archives: ![image](https://user-images.githubusercontent.com/8334250/86280192-a04f3980-bbdb-11ea-9600-3f5ab6779c86.png) all archives: ![image](https://user-images.githubusercontent.com/8334250/86280237-b826bd80-bbdb-11ea-88b9-76f3dce4013a.png)
Author
Owner

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

And when I start Gitea I sse in the log:

2020/07/01 21:42:19 models/repo.go:1845:DeleteOldRepositoryArchives() [T] Finished: ArchiveCleanup

@somera commented on GitHub (Jul 1, 2020): And when I start Gitea I sse in the log: `2020/07/01 21:42:19 models/repo.go:1845:DeleteOldRepositoryArchives() [T] Finished: ArchiveCleanup`
Author
Owner

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

I think this was wrong log message which ist fixed in 1.12.2.

@somera commented on GitHub (Jul 12, 2020): I think this was wrong log message which ist fixed in 1.12.2.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5671