CVS and git repositories have moved to a fast new server

CVS and git repositories have moved to a fast new server

Martin Dougiamas -
回帖数:24
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Testers的头像
Hi,

Just to let you know, cvs.moodle.org is moving to a new server today (from 74.54.45.50 to 174.123.154.58), and you might see some "WARNING: POSSIBLE DNS SPOOFING DETECTED!" warnings from ssh because the IP number has changed.

Fear not, it's a legitimate move.

To fix the warnings, just delete your local copy of the host key and re-connect.

Cheers,
Martin
平均分:Useful (1)
回复Martin Dougiamas

Re: CVS and git repositories have moved to a fast new server

Ralf Krause -
Plugin developers的头像 Translators的头像
Hi Martin,

should I change the server address for the cvs server in my Moodle4Mac?

In the past the server uk.cvs.moodle.org was much faster in Europe than the main server cvs.moodle.org but I don't know if it works fine everywhere.

Ralf
回复Martin Dougiamas

Re: CVS and git repositories have moved to a fast new server

Iñaki Arenaza -
Core developers的头像 Documentation writers的头像 Peer reviewers的头像 Plugin developers的头像
Is the new host key fingerprint published somewhere those paranoid like me can check? 眨眼

Saludos,
Iñaki.
回复Martin Dougiamas

Re: CVS and git repositories have moved to a fast new server

koen roggemans -
Core developers的头像 Documentation writers的头像 Moodle HQ的头像 Particularly helpful Moodlers的头像 Plugin developers的头像 Translators的头像
Probably completely unnecessary to post this here, but to take the wrong key out of your .ssh/known_hosts file, you can use the ssh-keygen -R cvs.moodle.org -command in your *nix environment.
When you perform a new cvs update, you will be asked to approve the new key for cvs.moodle.org and to add it to your .ssh/known_hosts again.
回复koen roggemans

Re: CVS and git repositories have moved to a fast new server

Ralf Krause -
Plugin developers的头像 Translators的头像

Hi,

I don't know if the problem is on the cvs server or in my local mac .... as I understand the hint it should be a problem on the cvs server.

When I try to update my Moodle4Mac via anonymous cvs I get the following error message:


+--------------------------------------------+
| CVS update for your local Moodle4Mac
+--------------------------------------------+

CVS password is empty ... please only press to start
Logging in to :pserver:anonymous@uk.cvs.moodle.org:2401/cvsroot/moodle
CVS password:

Connecting to the CVS server. Download will take a few moments!
If the CVS update runs too long you may break with <strg>-C

? config.php
cannot create_adm_p /tmp/cvs-serv23407/admin
Permission denied
logout

[Prozess beendet]
Searching 'cvs' and 'cannot create_adm_p' with Google I found some interesting facts.

> cannot create_adm_p /tmp/cvs-serv17258/Cmd
> Permission denied

The most common source of that error is a missing CVSROOT/Emptydir directory and lack of permission to create it. The simplest fix is to run "cvs init" as a user who has write permission in $CVSROOT/CVSROOT.
(It's safe to run init on an existing repository -- it preserves all the existing stuff and just creates anything that's missing.)


Could anybody help?

Ralf

回复Ralf Krause

Re: CVS and git repositories have moved to a fast new server

Ralf Krause -
Plugin developers的头像 Translators的头像
I have no problems with CVS anymore. I did not change any code.
Thanks for the changes in the background. CVS is really very fast now!!

Thanks, Ralf
回复Martin Dougiamas

Re: CVS and git repositories have moved to a fast new server

Ralf Seliger -
Is this move the reason that I get only version 20091014 when I update my MOODLE_19_WEEKLY from eu.cvs.moodle.org?

Regards,
Ralf Seliger
回复Ralf Seliger

Re: CVS and git repositories have moved to a fast new server

Ryan Smith -
The MOODLE_19_STABLE branch on eu.cvs.moodle.org has not updated the files to 1.9.6 today either. Is there something wrong with the CVS?
回复Ryan Smith

Re: CVS and git repositories have moved to a fast new server

Ralf Krause -
Plugin developers的头像 Translators的头像
I loaded MOODLE_19_STABLE from uk.cvs.moodle.org ... this was okay for me.
回复Ralf Krause

Re: CVS and git repositories have moved to a fast new server

Patrick Pollet -
Same with me.

Today (23/10) eu.cvs.moodle.org is still offering '1.9.5+ (Build: 20091014)' whereas uk.cvs.moodle.org is at '1.9.6 (Build: 20091021)'.

Strange that is it not labeled 1.9.6+ as per the main download page, but the build date match...

Cheers.


回复Patrick Pollet

Re: CVS and git repositories have moved to a fast new server

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
We (at the OU) are aware there is a problem. Our server is still failing to connect to the main CVS server. Someone is looking into it. However, it is sometimes remarkable how long things can take in a large institution. Hopefully it won't be much longer.
回复Tim Hunt

Re: CVS and git repositories have moved to a fast new server

Richard Burton -
Hi Tim

Just a small nudge to say I could do with your server being up to date as well.

Thanks

Richard
回复Richard Burton

Re: CVS and git repositories have moved to a fast new server

Chris Battisson -

Hi Tim,

we rely on the eu (OU) CVS also and could do with the latest 19_WEEKLY made available.

Fingers crossed it's fixed soon.

Thanks for letting us know - I thought I was going a little mad.

Chris

回复Chris Battisson

Re: CVS and git repositories have moved to a fast new server

Tim Hunt -
Core developers的头像 Documentation writers的头像 Particularly helpful Moodlers的头像 Peer reviewers的头像 Plugin developers的头像
Yes I know. We suck.

However, it is actually nothing to do with me, I am just passing on the nagging messages occasionally.
回复Tim Hunt

Re: Procedure to switch from EU or UK repository?

Gary Anderson -

It might be helpful if someone could post the instructions of how to switch from one repository to another (unless it is really complex or has too much potential for side-effcts).  The procedure would be useful if one would decide to do this for any reason in the future as well.

--Gary

回复Gary Anderson

Re: Procedure to switch from EU or UK repository?

Gary Anderson -

Replying to my own request, I looked into this and it is not a trivial task as cvs stores the informaton about the repository in each directory.

However, I did download the scripts found at http://www.solarorange.com/docs/cvs/repositorymove.html and ran the bash command provided using:

./changeroot.sh :pserver:anonymous@us.cvs.moodle.org:/cvsroot/moodle
I then ran cvs update, and I am now updated to 1.9.6.  The custom code on our machine was preserved.
I would only use the above with extreme caution on a test machine
using backed up scripts.  But at least one knows the steps involved if one ever needs to do it.
回复Gary Anderson

Re: Procedure to switch from EU or UK repository?

Chris Battisson -

I would be interested in that info if anyone has it, specifically for changing repository with TortoiseCVS on windows Server 2003 - Or is it just a case of RTFM?

Tim - I hope I didn't appear to assign responsibility to you - I understand. We only have (miniscule compared to the OU) 15,000 or so learners ourselves and I know how long it can take our network guys to turn around a job.

回复Chris Battisson

Re: Procedure to switch from EU or UK repository?

Frank Ralf -
回复Frank Ralf

Re: Procedure to switch from EU or UK repository?

Jordan Tomkinson -
eu.cvs.moodle.org is syncing again, it should be up to date shortly (if not already)
回复Jordan Tomkinson

Re: Procedure to switch from EU or UK repository?

Chris Battisson -
Excellent news, updating a our test/dev install as I type to 1.9.6.
Thanks for the links also folks.
回复Jordan Tomkinson

Re: Procedure to switch from EU or UK repository?

Frank Ralf -
I'm getting Moodle 1.9.6+ (Build: 20091027) just now. Thanks a lot!
回复Patrick Pollet

Re: CVS and git repositories have moved to a fast new server

Patrick Pollet -
[edit] : trouble is than uk.cvs uses dates tags labelled as $Id: block.php,v 1.18.4.2 2008/04/02 06:09:57 whereas eu.cvs uses $Id: block.php,v 1.18.4.2 2008-04-02 06:09:57.
So it ruins all our scripts that rely on diff to check for updates in core code ...

So, please admins of eu.cvs.moodle.org, do something 眨眼
回复Patrick Pollet

Re: CVS and git repositories have moved to a fast new server

Frank Ralf -
I just got 1.9.5+ (Build: 20091020) from eu.cvs.moodle.org but the server is terribly slow.