Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I try to update the projects to the SVN repos using reposman, here is the command I use :

ruby /home/redmine/redmine-1.2.1/extra/svn/reposman.rb --redmine --svn-dir /var/svn --owner redmine --group www-data --url --key=myapikey --verbose

And here is the result I got from reposman.rb :

querying Redmine for projects...
Unable to connect to invalid character at "<?xml vers"

When I look at the production.log, here is what I have :

Processing SysController#projects to json (for at 2011-09-05 14:31:50) [GET]
  Parameters: {"key"=>"myapikey"}
Completed in 40ms (View: 1, DB: 0) | 200 OK []

But when I go to the url, I have a correct xml page with a list of my projects.

What is wrong? (Please ask me what I have to show you more from my server to help you.).

share|improve this question
up vote 2 down vote accepted

I had the same problem and this was the only promising looking search result.

My problem was, that I was using a wrong version of the active record gem. I had version 3.1.0 installed. But with version 2.3.11 it works fine. Hope this helps.

share|improve this answer
I add to remove more than juste activerecord -v=3.1.0 (activesupport, actionmailer, etc (but just for 3.1.0)). But then, it worked. I removed many gems before trying again so I don't know which one was the core of the problem. Thanks for your help! – Cyril N. Sep 16 '11 at 9:53

I downgraded activerecord 3.1.0 to activerecord 2.3.11, but still had the problem. Like ServiusHack, mentioned. Downgrading activeresource from 3.1.0 to 2.3.11 did the trick for me.

Thanks for the advice guys!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.