CVS and git repositories have moved to a fast new server

CVS and git repositories have moved to a fast new server

by Martin Dougiamas -
Number of replies: 24
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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
Average of ratings:Useful (1)
In reply to Martin Dougiamas

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

by Ralf Krause -
Picture of Plugin developers Picture of 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
In reply to Martin Dougiamas

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

by Iñaki Arenaza -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
Is the new host key fingerprint published somewhere those paranoid like me can check? wink

Saludos,
Iñaki.
In reply to Martin Dougiamas

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

by koen roggemans -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of 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.
Average of ratings:Useful (1)
In reply to koen roggemans

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

by Ralf Krause -
Picture of Plugin developers Picture of 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

In reply to Ralf Krause

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

by Ralf Krause -
Picture of Plugin developers Picture of 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
In reply to Martin Dougiamas

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

by 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
In reply to Ralf Seliger

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

by 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?
In reply to Ryan Smith

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

by Ralf Krause -
Picture of Plugin developers Picture of Translators
I loaded MOODLE_19_STABLE from uk.cvs.moodle.org ... this was okay for me.
In reply to Ralf Krause

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

by 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.


In reply to Patrick Pollet

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

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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.
In reply to Tim Hunt

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

by Richard Burton -
Hi Tim

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

Thanks

Richard
In reply to Richard Burton

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

by 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

In reply to Chris Battisson

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

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of 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.
In reply to Tim Hunt

Re: Procedure to switch from EU or UK repository?

by 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

In reply to Gary Anderson

Re: Procedure to switch from EU or UK repository?

by 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.
In reply to Gary Anderson

Re: Procedure to switch from EU or UK repository?

by 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.

In reply to Chris Battisson

Re: Procedure to switch from EU or UK repository?

by Frank Ralf -
Hi Chris,

See CVS_for_Administrators#Switching_to_a_new_CVS_server which cites http://www.tortoisecvs.org/faq.html#changecvsroot

Unfortunately it's not trivial.

hth
Frank
In reply to Frank Ralf

Re: Procedure to switch from EU or UK repository?

by Jordan Tomkinson -
eu.cvs.moodle.org is syncing again, it should be up to date shortly (if not already)
Average of ratings:Useful (1)
In reply to Jordan Tomkinson

Re: Procedure to switch from EU or UK repository?

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

Re: Procedure to switch from EU or UK repository?

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

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

by 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 wink
In reply to Patrick Pollet

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

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