git refuses me

git refuses me

by Bente Olsen -
Number of replies: 4
Picture of Testers Picture of Translators

I have tried to update to Moodle 3.6.3 using "git pull", but get

fatal: unable to connect to git.moodle.org:
git.moodle.org[0: 34.210.133.53]: errno=Opkobling nægtet

I can ping git.moodle.org, but connection is refused - how come/anything I can do about it? It used to work just perfect.

Average of ratings: -
In reply to Bente Olsen

Ang: git refuses me - solved

by Bente Olsen -
Picture of Testers Picture of Translators

I discovered that using my own pc, I had no problems, so I contacted my host, who whitelisted Moodle's git server.

In reply to Bente Olsen

Re: Ang: git refuses me - solved

by Ken Task -
Picture of Particularly helpful Moodlers

On some remotely hosted servers, even though they have git pre-installed, had to use

Bitbucket: https://bitbucket.org/moodle/moodle

Rather than: HQ: git://git.moodle.org/moodle.git

If one had previously used git:// and now for whatever reason can't ... the change to https://... will require editing the .git/config file url

from

[remote "origin"]
    url = git://git.moodle.org/moodle.git

to

[remote "origin"]
    url = https://bitbucket.org/moodle/moodle

That's IF my feeble memory serves today! :|

'spirit of sharing', Ken