I stumbled across gitea whilst looking for a git repository manager that could handle mirroring… as I’d like to keep a few local mirrors of remote git repositories on the local network.
I am running gitea via the Docker container on a AlpineLinux based virtual machine with 1 core, 512MB RAM and 80GB disk. The VM has a fairly heavily firewalled view of the world, but I have permitted HTTP/HTTPS, git and SSH protocols, as well as access to a local SMTP server.
The first thing I tried doing was to mirror this repository:
The first attempt failed because I hadn’t allowed for the git:// protocol access. That has left me with a repository that I can neither view nor delete… it gives me an error 500 every time I try to visit it:
I fixed the problem and tried again, and I note that while git-clone seems to be going in the background (according to
top), the front-end proxy eventually timed out. Visiting the repository in a separate tab again yields error 500. At some point, it seems to give up, and I’m left with no repository clone.
Is there some trick one can do to clone a big repository like the one I linked to? I have other clones of the repository that I could use to get things going but once imported, I’d like gitea to pull down the latest updates from the upstream repository.