Project

General

Profile

installation issues with cvs, cannot checkout changesets

Added by Randolph Kepplinger about 10 years ago

Hello,

I am trying to integrate cvs with redmine since a couple of days.
My main problem is, that the "show repository" link haags undefinitely and i am not sure if cvs sync is wirking at all.

i tried "rake redmine:fetch_changesets RAILS_ENV=production" on the command line as root user, but this takes forever. Once it "ran" a night but did not produce one line in the table changesets.

i get a warning

/usr/lib/ruby/gems/1.8/gems/haml-4.0.4/lib/haml/parser.rb:86: warning: regexp has invalid interval
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.

The CVS repository is on the same machine and my setting for the repository connection in a project are

CVSROOT: /usr/local/cvs
Module: my modules name
etc

Also i found some messages in the production.log like

SCM command failed, make sure that your SCM command (e.g. svn) is in PATH (/usr/lib/ruby/gems/1.8/bin:/sbin:/usr/sbin:/bin:/usr/bin)
You can configure your scm commands in config/configuration.yml.
'cvs' '-d' '/usr/local/cvs' '-q' 'rlog' 'essence/'
with: Mysql2::Error: Lock wait timeout exceeded; try restarting transaction: INSERT INTO `changesets` (`comments`, `commit_date`, `committed_on`, `committer`, `repository_id`, `revision`, `scmid`, `user_id`) VALUES ('Fixes Immorent', '2013-09-25 11:37:17', '2013-09-25 11:37:17', 'pkocvs', 2, 'tmp1', 'HEAD-20130925-093717', NULL)

But /usr/bin/cvs is existing so the first line does not make sence...

My environment is


Environment:
  Redmine version                2.4.1.stable
  Ruby version                   1.8.7-p352 (2011-06-30) [x86_64-linux]
  Rails version                  3.2.15
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.6.11
  Cvs                            1.12.13
  Git                            1.7.1
  Filesystem                     
Redmine plugins:
  redmine_card                   0.0.1
  redmine_dashboard              2.1
  redmine_questions              0.0.5
  redmine_release_notes          1.3.1
  redmine_theme_changer          0.1.0
  redmine_wiki_extensions        0.6.4

Do you have ideas what i could do to get this running?

kind regards

Randolph