Find cron task for "Delete all repositories' archives (ZIP, TAR.GZ, etc..)" #395

Open
opened 4 months ago by greg · 2 comments
greg commented 4 months ago
Owner

We've found out that the repository archives for mastodon was taking 89GB (!) of disk space, since it's generating an archive for every tag. There's a task on the admin dashboard to run it, but there's nothing in the docs.

There's no way in the docs to disable generating these archives.

Find out how the task is named, and schedule it in the config file (maybe once a week or even every day?)

We've found out that the repository archives for mastodon was taking 89GB (!) of disk space, since it's generating an archive for every tag. There's a task on the admin dashboard to run it, but there's nothing [in the docs](https://docs.gitea.io/en-us/config-cheat-sheet/#cron-cron). There's no way in the docs to disable generating these archives. Find out how the task is named, and schedule it in the config file (maybe once a week or even every day?)
greg added the
service:gitea
label 4 months ago
Owner
https://discourse.gitea.io/t/how-to-configure-cron-task-for-delete-all-repositories-archives-zip-tar-gz-etc/4848
Owner

As a temporary fix, I added a cron job for root to delete the archive files manually every 15 minutes for now.

As a temporary fix, I added a cron job for root to delete the archive files manually every 15 minutes for now.
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.