52167

SubGit error when svn users commit

Question:

I just installed SubGit and test it. When one of svn user commited a file, he got the following error message:

Commit failed (details follow): 'pre-commit' hook failed with error output:

SubGit ERROR REPORT (SubGit version 1.0.2 ('Miai') build #1764):

You've received this message because SubGit (http://subgit.com/) is installed in your repository and an error that needs to be dealt with has occured in SubGit translation engine.

UNRECOVERABLE ERROR: svn: Cannot rename file 'F:\svn\testsubgit\db\node-origins\0.tmp' to 'F:\svn\testsubgit\db\node-origins\0'

CURRENT STATE: Subversion: READ ONLY Git : READ AND WRITE

TO RECOVER: Follow Error Recovery procedure described at <a href="http://subgit.com/book/#recovery" rel="nofollow">http://subgit.com/book/#recovery</a>

TO REPORT: 1) Get error log from the server at 'F:\svn\testsubgit\subgit\subgit-sync-20121108-180124.zip'

2) Report an issue at http://issues.tmatesoft.com/

Is there any way to solve it? Or do I need to change some setting of SubGit?

Answer1:

I'm SubGit developer and would be glad to help you to resolve this issue. First, please send SubGit logs from 'F:\svn\testsubgit\subgit\subgit-sync-20121108-180124.zip to support@subgit.com

Also, please provide more details on your environment, in particular:

a) where your Subversion repositories are (could it be network drive)? b) do you use Apache server (http protocol) to access Subversion repositories? c) do you use the same service (Apache) to access Git repositories?

First thing to check are users (accounts) on whose behalf Subversion and Git services run. In case these are different users (e.g. System Administrator and Network Service), then there might be a permissions problem - files created by one services would become unavailable for another. When you run "subgit configure" and "subgit install" also make sure these commands are ran on behalf of the same user that runs Apache server (or another service).

In case you're using network drive to store Subversion repositories on, then network drive configuration might be the reason of the problem and I would advise you to move your repositories to the ordinary drive on the server.

Also, some software antiviral installed on the server might potentially interfer with SubGit - try disabling it.

To recover from this error follow instructions at <a href="http://subgit.com/book/#recovery" rel="nofollow">http://subgit.com/book/#recovery</a> - the most easy way would be to run "subgit install --rebuild repos" - but this way you may loose some of the commits on the Git side.

Recommend

  • org.apache.kafka.connect.errors.DataException: Invalid JSON for record default value: null
  • Kafka-consumer. commitSync vs commitAsync
  • Error when trying to load JDBC sink connector
  • When to throw exceptions?
  • Send emails in go through Exim (without smtp)?
  • android cant open pdf from cache dir
  • Unable to connect to Subversion Local repository
  • SVN - How to work with directories containing @ sign?
  • Is there a SVN Maven?
  • SVN - How do i create a subversion repository with a “single repository multiple project layout”?
  • Only first logging shows unless forcefully disposing
  • How to process binary stream in Wicket like Servlet?
  • mapping between words and a group tuple to get frequency of words
  • Does SmartGit support git-svn?
  • How to give custom name to Sqoop output files
  • Cythonized function unexpectedly slow
  • Passing parameter through “window.location.href”
  • Is it possible to define rest argument in OCaml?
  • How to handle elastic beanstalk deployment so it uploads only changed files
  • How Get arguments value using inline assembly in C without Glibc?
  • How to install node-mysql?
  • How to make R's read_csv2() recognise the text characters properly
  • Implementation of State Monad
  • java inputstream
  • Installing Apache MyFaces 2 on WildFly 8.2.0
  • How do I pass the string value parameter of the selected list item from an auto-populated dropdown l
  • Paperclip, set path outside of rails root folder
  • ILMerge & Keep Assembly Name
  • Shallow update not allowed (git > 1.9)
  • Google cloud sdk not working when python points python3
  • Numpy divide by zero. Why?
  • PHP: When would you need the self:: keyword?
  • InvalidAuthenticityToken between subdomains when logging in with Rails app
  • SQL merge duplicate rows and join values that are different
  • Acquiring multiple attributes from .xml file in c#
  • LevelDB C iterator
  • Can't mass-assign protected attributes when import data from csv file
  • reshape alternating columns in less time and using less memory
  • Converting MP3 duration time
  • How can I use threading to 'tick' a timer to be accessed by other threads?