Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Gitea 1.19のインスタンスを1.20に更新すると、以下のようなエラーが出て起動しません。
/data/gitea/conf/app.ini
に破壊的変更があり、以下のように書き換える必要があります。変更前
変更後
LFS関連の設定はほかに、
LFS_START_SERVER
、LFS_JWT_SECRET
などがありますが、[lfs]
に移動されたのはLFS_CONTENT_PATH
だけのようです。このエラーは、以下の
deprecatedSettingFatal(rootCfg, "server", "LFS_CONTENT_PATH", "lfs", "PATH", "v1.19.0")
で発生しており、以下のPRで、起動時にLFS storageを正常に初期化するために、
log.Fatal
を呼び出すdeprecatedSettingFatal
とともに実装されました。