Upgrade to Forgejo 1.21.11-1 #2

Open
opened 2024-04-25 06:43:57 +00:00 by oliverpool · 3 comments

Based on https://forgejo.org/docs/latest/admin/upgrade/

doctor

# the gc-lfs check takes a very long time (and output a long log)
# perform all other checks first:
> sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run paths --run storage-archives --run storage-attachments --run storage-avatars --run storage-lfs --run storage-packages --run storages --run check-db-version --run check-db-consistency --run check-user-type --run authorized-keys --run delete-orphaned-repos --run script-type --run hooks --run recalculate-stars-number --run check-old-archives --run enable-push-options --run fix-broken-repo-units --run fix-owner-team-create-org-repo --run recalculate-merge-bases --run synchronize-repo-heads --run check-git-daemon-export-ok --run check-commit-graphs --run check-user-email --run check-user-names

[1] Check paths and basic configuration
 - [I] Configuration File Path:    "/etc/gitea/app.ini"
 - [I] Repository Root Path:       "/data/gitea/repositories"
 - [I] Data Root Path:             "/data/gitea/data"
 - [I] Custom File Root Path:      "/var/lib/gitea/custom"
 - [I] Work directory:             "/var/lib/gitea"
 - [I] Log Root Path:              "/var/log/gitea"
OK

[2] Check if there are orphaned archives in storage
 - [I] Found 0 (0 B) repo archive(s)
OK

[3] Check if there are orphaned attachments in storage
 - [I] Found 1 (13 KiB) attachment(s)
OK

[4] Check if there are orphaned avatars in storage
 - [W] Found 12/41 (21 KiB/558 KiB) orphaned avatar(s)
 - [I] Found 0 (0 B) repo avatar(s)
OK

[5] Check if there are orphaned lfs files in storage
 - [I] Found 864 (28 GiB) LFS file(s)
OK

[6] Check if there are orphaned package blobs in storage
 - [I] Found 0 (0 B) package blob(s)
OK

[7] Check if there are orphaned storage files
 - [I] Found 1 (13 KiB) attachment(s)
 - [I] Found 864 (28 GiB) LFS file(s)
 - [W] Found 12/41 (21 KiB/558 KiB) orphaned avatar(s)
 - [I] Found 0 (0 B) repo avatar(s)
 - [I] Found 0 (0 B) repo archive(s)
 - [I] Found 0 (0 B) package blob(s)
OK

[8] Check Database Version
 - [I] Expected database version: 280
OK

[9] Check consistency of database
 - [W] Found 2 Orphaned OAuth2Application without existing User
OK

[10] Check if user with wrong type exist
OK

[11] Check if OpenSSH authorized_keys file is up-to-date
OK

[12] Deleted all content related to orphaned repos
OK

[13] Check if SCRIPT_TYPE is available
 - [I] ScriptType bash is on the current PATH at /usr/bin/bash
OK

[14] Check if hook files are up-to-date and executable
OK

[15] Recalculate Stars number for all user
 - [I] No check available for User Stars numbers (skipped)
OK

[16] Check old archives
 - [I] 0 old archives in repository need to be deleted
OK

[17] Check that all git repositories have receive.advertisePushOptions set to true
 - [I] Checked 28 repositories, 0 need updates.
OK

[18] Check for incorrectly dumped repo_units (See #16961)
 - [I] Found no broken repo_units
OK

[19] Check for incorrect can_create_org_repo for org owner teams
 - [I] Found no team with incorrect can_create_org_repo
OK

[20] Recalculate merge bases
 - [I] All 0 PRs in 28 repos have a correct mergebase
OK
> sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run gc-lfs --fix --log-file /tmp/doctor.log

[1] Garbage collect LFS
 - [I] Checking OpeningDesign/Marco_Polo_v3
 - [I] Found 142781 total LFSMetaObjects in OpeningDesign/Marco_Polo_v3

# gives a lot of output like
2024/04/24 21:19:21 models/git/lfs.go:434:MarkLFSMetaObject() [E] Unexpectedly updated 0 LFSMetaObjects with ID: 742

Take a snapshot of /data in AWS.

flush queues

sudo -u git gitea --config=/etc/gitea/app.ini manager flush-queues

Times out because of the repo-archive queue.

Name Type Exemplar Type Number of Workers Active Workers Number in Queue
notification-service level uinotification.issueNotificationOpts 0 0 0
repo-archive level *archiver.ArchiveRequest 0 0 159
push_update level []*repository.PushUpdateOptions 0 0 0
branch_sync level *repository.BranchSyncOptions 0 0 0
issue_indexer level *issues.IndexerMetadata 0 0 0
repo_stats_update level int64 0 0 0
mirror level *mirror.SyncRequest 0 0 0
webhook_sender level int64 0 0 0
pr_patch_checker level string 0 0 0
pr_auto_merge level string 0 0 0
task level *admin.Task 0 0 0
actions_ready_job level *actions.jobUpdate 0 0 0

Performing the upgrade anyway.

> sudo ln -sf /usr/local/bin/forgejo-1.21.11-1-linux-arm64 /usr/local/bin/gitea
> gitea --version
Forgejo version 1.21.11+1 built with GNU Make 4.4.1, go1.21.9 : bindata, timetzdata, sqlite, sqlite_unlock_notify
> sudo systemctl restart gitea
Based on https://forgejo.org/docs/latest/admin/upgrade/ ## doctor ``` # the gc-lfs check takes a very long time (and output a long log) # perform all other checks first: > sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run paths --run storage-archives --run storage-attachments --run storage-avatars --run storage-lfs --run storage-packages --run storages --run check-db-version --run check-db-consistency --run check-user-type --run authorized-keys --run delete-orphaned-repos --run script-type --run hooks --run recalculate-stars-number --run check-old-archives --run enable-push-options --run fix-broken-repo-units --run fix-owner-team-create-org-repo --run recalculate-merge-bases --run synchronize-repo-heads --run check-git-daemon-export-ok --run check-commit-graphs --run check-user-email --run check-user-names [1] Check paths and basic configuration - [I] Configuration File Path: "/etc/gitea/app.ini" - [I] Repository Root Path: "/data/gitea/repositories" - [I] Data Root Path: "/data/gitea/data" - [I] Custom File Root Path: "/var/lib/gitea/custom" - [I] Work directory: "/var/lib/gitea" - [I] Log Root Path: "/var/log/gitea" OK [2] Check if there are orphaned archives in storage - [I] Found 0 (0 B) repo archive(s) OK [3] Check if there are orphaned attachments in storage - [I] Found 1 (13 KiB) attachment(s) OK [4] Check if there are orphaned avatars in storage - [W] Found 12/41 (21 KiB/558 KiB) orphaned avatar(s) - [I] Found 0 (0 B) repo avatar(s) OK [5] Check if there are orphaned lfs files in storage - [I] Found 864 (28 GiB) LFS file(s) OK [6] Check if there are orphaned package blobs in storage - [I] Found 0 (0 B) package blob(s) OK [7] Check if there are orphaned storage files - [I] Found 1 (13 KiB) attachment(s) - [I] Found 864 (28 GiB) LFS file(s) - [W] Found 12/41 (21 KiB/558 KiB) orphaned avatar(s) - [I] Found 0 (0 B) repo avatar(s) - [I] Found 0 (0 B) repo archive(s) - [I] Found 0 (0 B) package blob(s) OK [8] Check Database Version - [I] Expected database version: 280 OK [9] Check consistency of database - [W] Found 2 Orphaned OAuth2Application without existing User OK [10] Check if user with wrong type exist OK [11] Check if OpenSSH authorized_keys file is up-to-date OK [12] Deleted all content related to orphaned repos OK [13] Check if SCRIPT_TYPE is available - [I] ScriptType bash is on the current PATH at /usr/bin/bash OK [14] Check if hook files are up-to-date and executable OK [15] Recalculate Stars number for all user - [I] No check available for User Stars numbers (skipped) OK [16] Check old archives - [I] 0 old archives in repository need to be deleted OK [17] Check that all git repositories have receive.advertisePushOptions set to true - [I] Checked 28 repositories, 0 need updates. OK [18] Check for incorrectly dumped repo_units (See #16961) - [I] Found no broken repo_units OK [19] Check for incorrect can_create_org_repo for org owner teams - [I] Found no team with incorrect can_create_org_repo OK [20] Recalculate merge bases - [I] All 0 PRs in 28 repos have a correct mergebase OK ``` ``` > sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run gc-lfs --fix --log-file /tmp/doctor.log [1] Garbage collect LFS - [I] Checking OpeningDesign/Marco_Polo_v3 - [I] Found 142781 total LFSMetaObjects in OpeningDesign/Marco_Polo_v3 # gives a lot of output like 2024/04/24 21:19:21 models/git/lfs.go:434:MarkLFSMetaObject() [E] Unexpectedly updated 0 LFSMetaObjects with ID: 742 ``` ## Take a snapshot of `/data` in AWS. ## flush queues ``` sudo -u git gitea --config=/etc/gitea/app.ini manager flush-queues ``` Times out because of the `repo-archive` queue. Name | Type | Exemplar Type | Number of Workers | Active Workers | Number in Queue --- | --- | --- | --- | --- | --- notification-service | level | uinotification.issueNotificationOpts | 0 | 0 | 0 repo-archive | level | *archiver.ArchiveRequest | 0 | 0 | 159 push_update | level | []*repository.PushUpdateOptions | 0 | 0 | 0 branch_sync | level | *repository.BranchSyncOptions | 0 | 0 | 0 issue_indexer | level | *issues.IndexerMetadata | 0 | 0 | 0 repo_stats_update | level | int64 | 0 | 0 | 0 mirror | level | *mirror.SyncRequest | 0 | 0 | 0 webhook_sender | level | int64 | 0 | 0 | 0 pr_patch_checker | level | string | 0 | 0 | 0 pr_auto_merge | level | string | 0 | 0 | 0 task | level | *admin.Task | 0 | 0 | 0 actions_ready_job | level | *actions.jobUpdate | 0 | 0 | 0 Performing the upgrade anyway. ## replace the symlink and restart the service ``` > sudo ln -sf /usr/local/bin/forgejo-1.21.11-1-linux-arm64 /usr/local/bin/gitea > gitea --version Forgejo version 1.21.11+1 built with GNU Make 4.4.1, go1.21.9 : bindata, timetzdata, sqlite, sqlite_unlock_notify > sudo systemctl restart gitea ```
Author
> sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run paths --run storage-archives --run storage-attachments --run storage-avatars --run storage-lfs --run storage-packages --run storages --run check-db-version --run check-db-consistency --run check-user-type --run authorized-keys --run delete-orphaned-repos --run script-type --run hooks --run recalculate-stars-number --run check-old-archives --run enable-push-options --run fix-broken-repo-units --run fix-owner-team-create-org-repo --run fix-push-mirrors-without-git-remote --run recalculate-merge-bases --run synchronize-repo-heads --run check-git-daemon-export-ok --run check-commit-graphs --run check-user-email --run check-user-names

[1] Check paths and basic configuration
 - [I] Configuration File Path:    "/etc/gitea/app.ini"
 - [I] Repository Root Path:       "/data/gitea/repositories"
 - [I] Data Root Path:             "/data/gitea/data"
 - [I] Custom File Root Path:      "/var/lib/gitea/custom"
 - [I] Work directory:             "/var/lib/gitea"
 - [I] Log Root Path:              "/var/log/gitea"
OK

[2] Check if there are orphaned archives in storage
 - [W] Found 38/38 (9.1 GiB/9.1 GiB) orphaned repo archive(s)
OK

[3] Check if there are orphaned attachments in storage
 - [I] Found 1 (13 KiB) attachment(s)
OK

[4] Check if there are orphaned avatars in storage
 - [W] Found 12/41 (21 KiB/558 KiB) orphaned avatar(s)
 - [I] Found 0 (0 B) repo avatar(s)
OK

[5] Check if there are orphaned lfs files in storage
 - [I] Found 864 (28 GiB) LFS file(s)
OK

[6] Check if there are orphaned package blobs in storage
 - [I] Found 0 (0 B) package blob(s)
OK

[7] Check if there are orphaned storage files
 - [I] Found 1 (13 KiB) attachment(s)
 - [I] Found 864 (28 GiB) LFS file(s)
 - [W] Found 12/41 (21 KiB/558 KiB) orphaned avatar(s)
 - [I] Found 0 (0 B) repo avatar(s)
 - [W] Found 38/38 (9.1 GiB/9.1 GiB) orphaned repo archive(s)
 - [I] Found 0 (0 B) package blob(s)
OK

[8] Check Database Version
 - [I] Expected database version: 280
OK

[9] Check consistency of database
 - [W] Found 2 Orphaned OAuth2Application without existing User
OK

[10] Check if user with wrong type exist
OK

[11] Check if OpenSSH authorized_keys file is up-to-date
OK

[12] Deleted all content related to orphaned repos
OK

[13] Check if SCRIPT_TYPE is available
 - [I] ScriptType bash is on the current PATH at /usr/bin/bash
OK

[14] Check if hook files are up-to-date and executable
OK

[15] Recalculate Stars number for all user
 - [I] No check available for User Stars numbers (skipped)
OK

[16] Check old archives
 - [I] 0 old archives in repository need to be deleted
OK

[17] Check that all git repositories have receive.advertisePushOptions set to true
 - [I] Checked 28 repositories, 0 need updates.
OK

[18] Check for incorrectly dumped repo_units (See #16961)
 - [I] Found no broken repo_units
OK

[19] Check for incorrect can_create_org_repo for org owner teams
 - [I] Found no team with incorrect can_create_org_repo
OK

[20] Check for push mirrors without a git remote configured
 - [I] Found no push mirrors with missing git remotes
OK

[21] Recalculate merge bases
 - [I] All 0 PRs in 28 repos have a correct mergebase
OK

[22] Synchronize repo HEADs
 - [I] All 28 repos have their HEADs in the correct state
OK

[23] Check git-daemon-export-ok files
 - [I] Checked 28 repositories, 0 need updates.
OK

[24] Check commit-graphs
 - [I] Checked 28 repositories, 23 without commit-graphs.
OK

[25] Check if users has an valid email address
 - [I] All users have a valid e-mail.
OK

[26] Check if users have a valid username
 - [W] 1 user(s) have a non-valid username
OK

All done.
``` > sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run paths --run storage-archives --run storage-attachments --run storage-avatars --run storage-lfs --run storage-packages --run storages --run check-db-version --run check-db-consistency --run check-user-type --run authorized-keys --run delete-orphaned-repos --run script-type --run hooks --run recalculate-stars-number --run check-old-archives --run enable-push-options --run fix-broken-repo-units --run fix-owner-team-create-org-repo --run fix-push-mirrors-without-git-remote --run recalculate-merge-bases --run synchronize-repo-heads --run check-git-daemon-export-ok --run check-commit-graphs --run check-user-email --run check-user-names [1] Check paths and basic configuration - [I] Configuration File Path: "/etc/gitea/app.ini" - [I] Repository Root Path: "/data/gitea/repositories" - [I] Data Root Path: "/data/gitea/data" - [I] Custom File Root Path: "/var/lib/gitea/custom" - [I] Work directory: "/var/lib/gitea" - [I] Log Root Path: "/var/log/gitea" OK [2] Check if there are orphaned archives in storage - [W] Found 38/38 (9.1 GiB/9.1 GiB) orphaned repo archive(s) OK [3] Check if there are orphaned attachments in storage - [I] Found 1 (13 KiB) attachment(s) OK [4] Check if there are orphaned avatars in storage - [W] Found 12/41 (21 KiB/558 KiB) orphaned avatar(s) - [I] Found 0 (0 B) repo avatar(s) OK [5] Check if there are orphaned lfs files in storage - [I] Found 864 (28 GiB) LFS file(s) OK [6] Check if there are orphaned package blobs in storage - [I] Found 0 (0 B) package blob(s) OK [7] Check if there are orphaned storage files - [I] Found 1 (13 KiB) attachment(s) - [I] Found 864 (28 GiB) LFS file(s) - [W] Found 12/41 (21 KiB/558 KiB) orphaned avatar(s) - [I] Found 0 (0 B) repo avatar(s) - [W] Found 38/38 (9.1 GiB/9.1 GiB) orphaned repo archive(s) - [I] Found 0 (0 B) package blob(s) OK [8] Check Database Version - [I] Expected database version: 280 OK [9] Check consistency of database - [W] Found 2 Orphaned OAuth2Application without existing User OK [10] Check if user with wrong type exist OK [11] Check if OpenSSH authorized_keys file is up-to-date OK [12] Deleted all content related to orphaned repos OK [13] Check if SCRIPT_TYPE is available - [I] ScriptType bash is on the current PATH at /usr/bin/bash OK [14] Check if hook files are up-to-date and executable OK [15] Recalculate Stars number for all user - [I] No check available for User Stars numbers (skipped) OK [16] Check old archives - [I] 0 old archives in repository need to be deleted OK [17] Check that all git repositories have receive.advertisePushOptions set to true - [I] Checked 28 repositories, 0 need updates. OK [18] Check for incorrectly dumped repo_units (See #16961) - [I] Found no broken repo_units OK [19] Check for incorrect can_create_org_repo for org owner teams - [I] Found no team with incorrect can_create_org_repo OK [20] Check for push mirrors without a git remote configured - [I] Found no push mirrors with missing git remotes OK [21] Recalculate merge bases - [I] All 0 PRs in 28 repos have a correct mergebase OK [22] Synchronize repo HEADs - [I] All 28 repos have their HEADs in the correct state OK [23] Check git-daemon-export-ok files - [I] Checked 28 repositories, 0 need updates. OK [24] Check commit-graphs - [I] Checked 28 repositories, 23 without commit-graphs. OK [25] Check if users has an valid email address - [I] All users have a valid e-mail. OK [26] Check if users have a valid username - [W] 1 user(s) have a non-valid username OK All done. ```
Author

Run --fix for all except check-user-names (because . were previously allowed in usernames) and check-db-consistency (because the system oauth2 apps are expect to not have any user).

sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run paths --run storage-archives --run storage-attachments --run storage-avatars --run storage-lfs --run storage-packages --run storages --run check-db-version --run check-user-type --run authorized-keys --run delete-orphaned-repos --run script-type --run hooks --run recalculate-stars-number --run check-old-archives --run enable-push-options --run fix-broken-repo-units --run fix-owner-team-create-org-repo --run fix-push-mirrors-without-git-remote --run recalculate-merge-bases --run synchronize-repo-heads --run check-git-daemon-export-ok --run check-commit-graphs --run check-user-email --fix

Everything looks good:

> sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run paths --run storage-archives --run storage-attachments --run storage-avatars --run storage-lfs --run storage-packages --run storages --run check-db-version --run check-user-type --run authorized-keys --run delete-orphaned-repos --run script-type --run hooks --run recalculate-stars-number --run check-old-archives --run enable-push-options --run fix-broken-repo-units --run fix-owner-team-create-org-repo --run fix-push-mirrors-without-git-remote --run recalculate-merge-bases --run synchronize-repo-heads --run check-git-daemon-export-ok --run check-commit-graphs --run check-user-email --run check-user-names

[1] Check paths and basic configuration
 - [I] Configuration File Path:    "/etc/gitea/app.ini"
 - [I] Repository Root Path:       "/data/gitea/repositories"
 - [I] Data Root Path:             "/data/gitea/data"
 - [I] Custom File Root Path:      "/var/lib/gitea/custom"
 - [I] Work directory:             "/var/lib/gitea"
 - [I] Log Root Path:              "/var/log/gitea"
OK

[2] Check if there are orphaned archives in storage
 - [I] Found 0 (0 B) repo archive(s)
OK

[3] Check if there are orphaned attachments in storage
 - [I] Found 1 (13 KiB) attachment(s)
OK

[4] Check if there are orphaned avatars in storage
 - [I] Found 29 (537 KiB) avatar(s)
 - [I] Found 0 (0 B) repo avatar(s)
OK

[5] Check if there are orphaned lfs files in storage
 - [I] Found 864 (28 GiB) LFS file(s)
OK

[6] Check if there are orphaned package blobs in storage
 - [I] Found 0 (0 B) package blob(s)
OK

[7] Check if there are orphaned storage files
 - [I] Found 1 (13 KiB) attachment(s)
 - [I] Found 864 (28 GiB) LFS file(s)
 - [I] Found 29 (537 KiB) avatar(s)
 - [I] Found 0 (0 B) repo avatar(s)
 - [I] Found 0 (0 B) repo archive(s)
 - [I] Found 0 (0 B) package blob(s)
OK

[8] Check Database Version
 - [I] Expected database version: 280
OK

[9] Check if user with wrong type exist
OK

[10] Check if OpenSSH authorized_keys file is up-to-date
OK

[11] Deleted all content related to orphaned repos
OK

[12] Check if SCRIPT_TYPE is available
 - [I] ScriptType bash is on the current PATH at /usr/bin/bash
OK

[13] Check if hook files are up-to-date and executable
OK

[14] Recalculate Stars number for all user
 - [I] No check available for User Stars numbers (skipped)
OK

[15] Check old archives
 - [I] 0 old archives in repository need to be deleted
OK

[16] Check that all git repositories have receive.advertisePushOptions set to true
 - [I] Checked 28 repositories, 0 need updates.
OK

[17] Check for incorrectly dumped repo_units (See #16961)
 - [I] Found no broken repo_units
OK

[18] Check for incorrect can_create_org_repo for org owner teams
 - [I] Found no team with incorrect can_create_org_repo
OK

[19] Check for push mirrors without a git remote configured
 - [I] Found no push mirrors with missing git remotes
OK

[20] Recalculate merge bases
 - [I] All 0 PRs in 28 repos have a correct mergebase
OK

[21] Synchronize repo HEADs
 - [I] All 28 repos have their HEADs in the correct state
OK

[22] Check git-daemon-export-ok files
 - [I] Checked 28 repositories, 0 need updates.
OK

[23] Check commit-graphs
 - [I] Checked 28 repositories, 13 without commit-graphs.
OK

[24] Check if users has an valid email address
 - [I] All users have a valid e-mail.
OK

[25] Check if users have a valid username
 - [W] 1 user(s) have a non-valid username.
OK

All done.
Run `--fix` for all except `check-user-names` (because `.` were previously allowed in usernames) and `check-db-consistency` (because the system oauth2 apps are expect to not have any user). ``` sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run paths --run storage-archives --run storage-attachments --run storage-avatars --run storage-lfs --run storage-packages --run storages --run check-db-version --run check-user-type --run authorized-keys --run delete-orphaned-repos --run script-type --run hooks --run recalculate-stars-number --run check-old-archives --run enable-push-options --run fix-broken-repo-units --run fix-owner-team-create-org-repo --run fix-push-mirrors-without-git-remote --run recalculate-merge-bases --run synchronize-repo-heads --run check-git-daemon-export-ok --run check-commit-graphs --run check-user-email --fix ``` Everything looks good: ``` > sudo -u git gitea doctor check --config=/etc/gitea/app.ini --run paths --run storage-archives --run storage-attachments --run storage-avatars --run storage-lfs --run storage-packages --run storages --run check-db-version --run check-user-type --run authorized-keys --run delete-orphaned-repos --run script-type --run hooks --run recalculate-stars-number --run check-old-archives --run enable-push-options --run fix-broken-repo-units --run fix-owner-team-create-org-repo --run fix-push-mirrors-without-git-remote --run recalculate-merge-bases --run synchronize-repo-heads --run check-git-daemon-export-ok --run check-commit-graphs --run check-user-email --run check-user-names [1] Check paths and basic configuration - [I] Configuration File Path: "/etc/gitea/app.ini" - [I] Repository Root Path: "/data/gitea/repositories" - [I] Data Root Path: "/data/gitea/data" - [I] Custom File Root Path: "/var/lib/gitea/custom" - [I] Work directory: "/var/lib/gitea" - [I] Log Root Path: "/var/log/gitea" OK [2] Check if there are orphaned archives in storage - [I] Found 0 (0 B) repo archive(s) OK [3] Check if there are orphaned attachments in storage - [I] Found 1 (13 KiB) attachment(s) OK [4] Check if there are orphaned avatars in storage - [I] Found 29 (537 KiB) avatar(s) - [I] Found 0 (0 B) repo avatar(s) OK [5] Check if there are orphaned lfs files in storage - [I] Found 864 (28 GiB) LFS file(s) OK [6] Check if there are orphaned package blobs in storage - [I] Found 0 (0 B) package blob(s) OK [7] Check if there are orphaned storage files - [I] Found 1 (13 KiB) attachment(s) - [I] Found 864 (28 GiB) LFS file(s) - [I] Found 29 (537 KiB) avatar(s) - [I] Found 0 (0 B) repo avatar(s) - [I] Found 0 (0 B) repo archive(s) - [I] Found 0 (0 B) package blob(s) OK [8] Check Database Version - [I] Expected database version: 280 OK [9] Check if user with wrong type exist OK [10] Check if OpenSSH authorized_keys file is up-to-date OK [11] Deleted all content related to orphaned repos OK [12] Check if SCRIPT_TYPE is available - [I] ScriptType bash is on the current PATH at /usr/bin/bash OK [13] Check if hook files are up-to-date and executable OK [14] Recalculate Stars number for all user - [I] No check available for User Stars numbers (skipped) OK [15] Check old archives - [I] 0 old archives in repository need to be deleted OK [16] Check that all git repositories have receive.advertisePushOptions set to true - [I] Checked 28 repositories, 0 need updates. OK [17] Check for incorrectly dumped repo_units (See #16961) - [I] Found no broken repo_units OK [18] Check for incorrect can_create_org_repo for org owner teams - [I] Found no team with incorrect can_create_org_repo OK [19] Check for push mirrors without a git remote configured - [I] Found no push mirrors with missing git remotes OK [20] Recalculate merge bases - [I] All 0 PRs in 28 repos have a correct mergebase OK [21] Synchronize repo HEADs - [I] All 28 repos have their HEADs in the correct state OK [22] Check git-daemon-export-ok files - [I] Checked 28 repositories, 0 need updates. OK [23] Check commit-graphs - [I] Checked 28 repositories, 13 without commit-graphs. OK [24] Check if users has an valid email address - [I] All users have a valid e-mail. OK [25] Check if users have a valid username - [W] 1 user(s) have a non-valid username. OK All done. ```
Author

Note that an upgrade to Forgejo 7.0 might break LFS https://codeberg.org/forgejo/forgejo/issues/3438

Note that an upgrade to Forgejo 7.0 might break LFS https://codeberg.org/forgejo/forgejo/issues/3438
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: OpeningDesign/gitea_customization#2
No description provided.