github RayLabsHQ/gitea-mirror v3.54.1

one hour ago

Fixed

  • Release asset uploads no longer fill the disk (#540, closes #539).
    • When the destination answered before reading the whole upload, such as a reverse proxy refusing a large asset with 413, the temporary file stayed open after it was deleted. Its space only came back on a restart, and every sync that retried the asset leaked another one.
    • Updating frees the space already taken, because the restart releases it. Nothing else to do.
  • AUTO_IMPORT_REPOS=false now also holds for the run right after startup (#537, closes #532). With a schedule on, that run imported every repository from the sources on each restart.
  • Mirrors follow a Gitea or Forgejo server that moved to a new address (#536, closes #535, thanks @tiennm99).
    • Every repository recorded on the old address failed, and nothing updated the address. A repository is now repointed when the configured server already has a pull mirror of the same source in the expected place, and the token can push to it.
  • The health check no longer asks GitHub on every call after one failed check for the latest release (#534, closes #533, thanks @tiennm99). A failed check is now kept for 15 minutes, along with the last version it knew.

Notes

  • Release assets refused with 413: the log shows Failed to upload asset <name>: 413. A proxy in front of Gitea or Forgejo is limiting upload size. Raise the limit above your largest asset (client_max_body_size in nginx), or those assets keep failing.

As always, back up your Gitea before upgrading.

Full changelog: v3.54.0...v3.54.1

Don't miss a new gitea-mirror release

NewReleases is sending notifications on new releases.