Page 1 of 2 12 LastLast
Results 1 to 20 of 26

Thread: Commit Failure

  1. #1

    Angry Commit Failure

    Hi all,

    recently i have been facing a hell lot of problems while checking-in the code to my svn server.

    the commit fails almost 99% of the time.

    and most of the times the error is as follows

    Code:
    svn: At least one property change failed; repository is unchanged
    svn: '/svn/ecmc/!svn/wrk/dd176f9b-7b1e-4c54-801b-7d38f685f12f/skin.eceasy/720p/Settings.xml'
    path not found
    or sometime i get the following error

    Code:
    Error    commit failed (details below):
    Error    General svn error from  server
    and if at all the commit succeeds and i get a new revision number ....... I cant find my changes in the repository.... i.e. after the successfull commit ... if i checkout a new copy of the code from the repo's head ... then i cant see my changes !! ..


    Another annoying problem is that while commiting multiple files at a time .... some of the files get commited correctly ... while some just dont show up the changes in the server .... though i dont get a commit error !!!!

    svn cleanup dosent help either !

    These issues are getting quite frustrating ..... can someone guide me through this ???

    thanks in advance
    Rajesh
    Last edited by rajeshdgsb; 04-10-2012 at 03:02 AM.

  2. #2

    Unhappy

    Am I the only one with this problem ????

  3. #3
    Online Operations Site Admin
    Join Date
    Mar 2012
    Location
    WANdisco, Sheffield, UK
    Posts
    766
    Hi there,

    Can you tell us more about your environment please (what OS are you using, what version of Subversion, which client (if any))?

    Is your working copy up to date? Do you get any conflicts reported when trying to commit?

    Regards
    Mand

  4. #4

    Unhappy

    Quote Originally Posted by Mand View Post
    Hi there,

    Can you tell us more about your environment please (what OS are you using, what version of Subversion, which client (if any))?

    Is your working copy up to date? Do you get any conflicts reported when trying to commit?

    Regards
    Mand

    yup sure ...

    I am using XP SP2 with tortoise svn 1.6.16 .... the svn server is 1.4.2

    I have also tried tortoise svn 1.7 on windows 7

    I have also tried rapid svn 0.12.0 with subversion1.6.6 on ubuntu

    but i get the above mentioned 3 -4 errors in all of them !!

    some times I get checksum Mismatch in some UNRELATED(unchanged) files while svn upate or checkin .... but then i tried the following...
    i tried checking out a fresh copy from server ... adding my changes to it .. and then commiting !!! that rules out the 'working copy being out of sync' reason... and also solves the checksum mismatch error ....

    but all this does not solve the "PATH NOT FOUND" or the "GENERAL SVN ERROR FROM SERVER" problem !

    The error "GENERAL SVN ERROR FROM SERVER" was never accompanied by any conflict report .....
    The error "PATH NOT FOUND" .. though does mentions the name of the file in the failure message !!


    any pointers ??

    regards
    Rajesh
    Last edited by rajeshdgsb; 04-11-2012 at 04:24 AM.

  5. #5
    Online Operations Site Admin
    Join Date
    Mar 2012
    Location
    WANdisco, Sheffield, UK
    Posts
    766
    What does the error log say?

  6. #6
    Quote Originally Posted by Mand View Post
    What does the error log say?
    error log ... !! as in the message that i get ?
    as I mentioned ....
    it either is this
    Code:
    svn: At least one property change failed; repository is unchanged
    svn: '/svn/ecmc/!svn/wrk/dd176f9b-7b1e-4c54-801b-7d38f685f12f/skin.eceasy/720p/Settings.xml'
    path not found
    or this

    Code:
    Error    commit failed (details below):
    Error    General svn error from  server

    or

    i actually get a SUCCESS message with a new revision number ... but then ... when i do a fresh checkout .... I cant see my changes ... in fact in such cases ... if i checkout the code (HEAD) ... it checks out the code with the latest rev no ... WITH MY CHANGES MISSING !!! .....and moreover when i try to browse the repo in tortoise svn .. I cant see my checkins ... or i cant see the latest rev no. that i got on commit.... though i can checkout the latest rev (without my changes ) ..... !!!! hope I havent confused u ??

  7. #7
    Online Operations Site Admin
    Join Date
    Mar 2012
    Location
    WANdisco, Sheffield, UK
    Posts
    766
    Is the 'general svn error from server' message the response in your svn client (TortoiseSVN)? If so you should have an error log elsewhere (see here for Subversion specific errors or here if the problem is with the Apache side of things).

    I also see you're using quite an old version of Subversion, is there a reason you haven't updated?

  8. #8
    Senior Member Site ModeratorSite Admin
    Join Date
    Mar 2011
    Location
    Chesterfield, UK
    Posts
    771
    Quote Originally Posted by rajeshdgsb View Post
    error log ... !! as in the message that i get ?
    I think Mand probably meant your server error log.
    Mat Booth
    Software Engineer
    WANdisco, Inc.

    I joined the blog-o-web-o-sphere! Linux and Coding Blog

    How To Ask Smart Questions

  9. #9
    Yes , This 'general svn error from server' is the response in my svn client.
    To see the logs i do a "svn show log" in tortoise svn. This is a GUI listing all the files committed according to their rev number.
    "svn log" frm the CLI also gives the same log as the "svn show log" from the gui client.

    -> when i get general svn error ... i dont see any new entry in this log .
    -> Also when i get the path not found error .... then also i dont get any new entry in this log
    -> When I get a commit success response for multiple files .... then i get a new entry in this log ... with all the file mentioned. But that does not guarantee that i will find my changes in these files on a fresh checkout !!!


    As for old svn ...... yes the server is quite old (1.4) ... but my clients are quite updated (1.7.x) .....And i searched net if 1.4 is compatible with 1.7.x client ...and i could not find anny compatibility issues between them ... Moreover ... the server is in Norway ... and I am using svn client in India ...so changing the server will be ... more ... problematic ....
    Last edited by rajeshdgsb; 04-13-2012 at 12:23 AM.

  10. #10
    Senior Member Site ModeratorSite Admin
    Join Date
    Mar 2011
    Location
    Chesterfield, UK
    Posts
    771
    You misunderstand, when I say server error logs, I mean the log file (a text file) on the server that Apache/Svnserve is writing to -- not the Subversion commit log. You may need to ask your server administrator in order to see this.
    Mat Booth
    Software Engineer
    WANdisco, Inc.

    I joined the blog-o-web-o-sphere! Linux and Coding Blog

    How To Ask Smart Questions

  11. #11
    Hi,

    I am the server administrator in question, and I'm trying to figure out what's going on from the other side. I should first note that we are not seeing similar problems with other repositories on the same system, or from other users of the same repository. So my suspicion is that there is some issue with Rajesh's site, or the way he and his colleagues are using subversion - but I can't figure out what it might be.

    It is a little difficult to get the relevant parts out of the apache2 error files, as the same logs cover other repositories and other users.

    This is from one type of failure:

    [Thu Apr 12 15:00:34 2012] [error] [client 10.22.10.126] Unable to PUT new contents for /svn/ec/!svn/wrk/01cf32ba-66d4-8c43-a712-cf1e7c3f6be3/ECI6DS/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml. [403, #0]
    [Thu Apr 12 15:00:34 2012] [error] [client 10.22.10.126] Could not create file within the repository. [404, #160013]
    [Thu Apr 12 15:00:34 2012] [error] [client 10.22.10.126] File not found: transaction '592-1', path '/ECI6DS/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml' [404, #160013]

    Another type of failure typically looks like this:

    [Fri Apr 13 08:48:05 2012] [error] [client 10.22.10.126] A failure occurred while driving the update report editor [404, #160013]
    [Fri Apr 13 08:48:05 2012] [error] [client 10.22.10.126] Working copy path 'ECT3_Large/Resources/Mute.h' does not exist in repository [404, #160013]


    As Rajesh mentioned, the subversion server is a little old - version 1.4.2 to be accurate. I don't really have the opportunity to update it at the moment - some of the repositories are quite big (totalling 7.5 GB), and I don't want to take it offline for an update. I plan to migrate them to a new virtual server eventually, using svnadmin dump and load to transfer the data.

  12. #12
    Online Operations Site Admin
    Join Date
    Mar 2012
    Location
    WANdisco, Sheffield, UK
    Posts
    766
    Quote Originally Posted by david@westcontrol.com View Post
    [Thu Apr 12 15:00:34 2012] [error] [client 10.22.10.126] Unable to PUT new contents for /svn/ec/!svn/wrk/01cf32ba-66d4-8c43-a712-cf1e7c3f6be3/ECI6DS/.metadata/.plugins/org.eclipse.ltk.ui.refactoring/dialog_settings.xml. [403, #0]
    403 is an authorisation error. So first thing is to check that the users trying to perform the commit have access and permission to do so.

    Quote Originally Posted by david@westcontrol.com View Post
    Another type of failure typically looks like this:

    [Fri Apr 13 08:48:05 2012] [error] [client 10.22.10.126] A failure occurred while driving the update report editor [404, #160013]
    [Fri Apr 13 08:48:05 2012] [error] [client 10.22.10.126] Working copy path 'ECT3_Large/Resources/Mute.h' does not exist in repository [404, #160013]
    Have you checked that path is correct with the repo browser in TortoiseSVN?

    Regards
    Mand

  13. #13
    "About the authorisation error " ... yes , I have the authorisation for this repo ... and ... this error comes when i am trying to checkin multiple files in a single commit. but i dont get this error when I try to checkin one file at a time !!

  14. #14
    Online Operations Site Admin
    Join Date
    Mar 2012
    Location
    WANdisco, Sheffield, UK
    Posts
    766
    Do you have write permissions for the entire repository, or is it path-based?
    Mand Beckett
    WANdisco

    Read the WANdisco blog for Subversion, uberSVN and SmartSVN tips and tricks | Find me on Twitter

  15. #15
    Permission is for the entire repository.

  16. #16
    here is another one ...
    I added a new folder to the repo ... for a new project.
    Now I am trying to add and commit 3 new files to this empty folder ...... but this is the error i am getting consistently ...
    Code:
    Commit
    E:\workspace\ECI6DS\ECI6_USART_PROTOCOL.odt
    E:\workspace\ECI6DS\ECI6_USART_PROTOCOL.pdf
    E:\workspace\ECI6DS\README_INCASE_OF_DEBUGGER_ERROR.txt
    E:\workspace\ECI6DS\ECI6_USART_PROTOCOL.odt
    Commit failed (details follow):
    At least one property change failed; repository is unchanged
    '/svn/ec/!svn/wrk/75582974-e28b-ff47-a2ca-fd2b2410d28c/ECI6DS/ECI6_USART_PROTOCOL.odt'
    path not found
    I tried doing the commit again and again ... and suddenly after some number of tries , i was successfully able to commit these files .... without doing any modifications to my "steps to follow" ....except that i removed the README_INCASE_OF_DEBUGGER_ERROR.txt from the commit list .
    Last edited by rajeshdgsb; 04-16-2012 at 05:13 AM.

  17. #17
    Here is an excerpt from the error log on the server side of this transaction:

    [Mon Apr 16 15:12:07 2012] [error] [client 10.22.10.126] A failure occurred while driving the update report editor [404, #160013]
    [Mon Apr 16 15:12:07 2012] [error] [client 10.22.10.126] Working copy path 'README_INCASE_OF_DEBUGGER_ERROR.txt' does not exist in repository [404, #160013]
    [Mon Apr 16 15:19:05 2012] [error] [client 10.22.10.126] A failure occurred while driving the update report editor [404, #160013]
    [Mon Apr 16 15:19:05 2012] [error] [client 10.22.10.126] Working copy path 'README_INCASE_OF_DEBUGGER_ERROR.txt' does not exist in repository [404, #160013]
    [Mon Apr 16 15:19:42 2012] [error] [client 10.22.10.126] A failure occurred while driving the update report editor [404, #160013]
    [Mon Apr 16 15:19:42 2012] [error] [client 10.22.10.126] Working copy path 'README_INCASE_OF_DEBUGGER_ERROR.txt' does not exist in repository [404, #160013]
    [Mon Apr 16 15:19:54 2012] [error] [client 10.22.10.126] A failure occurred while driving the update report editor [404, #160013]
    [Mon Apr 16 15:19:54 2012] [error] [client 10.22.10.126] Working copy path 'README_INCASE_OF_DEBUGGER_ERROR.txt' does not exist in repository [404, #160013]


    As far as I can see, it looks like Rajesh's client machine thinks there is a file "README_INCASE_OF_DEBUGGER_ERROR.txt" in the "ECI6DS" directory, but it does not actually exist on the subversion server. Looking at the "access.log" for the server, it seems that the file was deleted a little earlier:


    10.22.10.126 - rajesh [16/Apr/2012:15:19:24 +0200] "OPTIONS /svn/ec/ECI6DS HTTP/1.1" 200 142 "-" "SVN/1.6.17 (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"
    10.22.10.126 - rajesh [16/Apr/2012:15:19:25 +0200] "PROPFIND /svn/ec/ECI6DS HTTP/1.1" 207 355 "-" "SVN/1.6.17 (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"
    10.22.10.126 - rajesh [16/Apr/2012:15:19:25 +0200] "MKACTIVITY /svn/ec/!svn/act/b55e7a45-2dec-df41-ab46-c35ba030675e HTTP/1.1" 201 300 "-" "SVN/1.6.17 (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"
    10.22.10.126 - rajesh [16/Apr/2012:15:19:26 +0200] "CHECKOUT /svn/ec/!svn/vcc/default HTTP/1.1" 201 310
    "-" "SVN/1.6.17 (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"
    10.22.10.126 - rajesh [16/Apr/2012:15:19:26 +0200] "PROPPATCH /svn/ec/!svn/wbl/b55e7a45-2dec-df41-ab46-c35ba030675e/598 HTTP/1.1" 207 265 "-" "SVN/1.6.17 (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"
    10.22.10.126 - rajesh [16/Apr/2012:15:19:27 +0200] "PROPFIND /svn/ec/ECI6DS HTTP/1.1" 207 244 "-" "SVN/1.6.17 (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"
    10.22.10.126 - rajesh [16/Apr/2012:15:19:28 +0200] "CHECKOUT /svn/ec/!svn/ver/596/ECI6DS HTTP/1.1" 201 312 "-" "SVN/1.6.17 (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"
    10.22.10.126 - rajesh [16/Apr/2012:15:19:28 +0200] "DELETE /svn/ec/!svn/wrk/b55e7a45-2dec-df41-ab46-c35ba030675e/ECI6DS/README_INCASE_OF_DEBUGGER_ERROR.txt HTTP/1.1" 404 354 "-" "SVN/1.6.17 (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"
    10.22.10.126 - rajesh [16/Apr/2012:15:19:28 +0200] "DELETE /svn/ec/!svn/act/b55e7a45-2dec-df41-ab46-c35ba030675e HTTP/1.1" 204 - "-" "SVN/1.6.17 (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"
    10.22.10.126 - - [16/Apr/2012:15:19:37 +0200] "OPTIONS /svn/ec/ECI6DS HTTP/1.1" 401 392 "-" "SVN/1.6.17
    (r1128011)/TortoiseSVN-1.6.16.21511 neon/0.29.6"



    This looks to me like some corruption in the local .svn metadata on Rajesh's machine. But it is odd that he has had problems on other machines too. Rajesh - can you check out the "ECI6DS" directory in a fresh directory, and see if it works okay now?

  18. #18
    Hi David ,

    The problem is that .. I tried checking in the single README_INCASE_OF_DEBUGGER_ERROR.txt , An i get a success message that says
    Code:
    Commit
    E:\workspace\ECI6DS\README_INCASE_OF_DEBUGGER_ERROR.txt
    E:\workspace\ECI6DS\README_INCASE_OF_DEBUGGER_ERROR.txt
    At revision: 599
    Now . I expect that this file has reached the svn server and now a copy of it resides in the repo ECI6DS.
    But , apart from the new revision number ... i cant see any thing new in the repo .... I cant see the file that i just committed successfully .
    when I try to do a svn update on my working copy ... i get this error

    Code:
    Update
    Working copy path 'README_INCASE_OF_DEBUGGER_ERROR.txt' does not exist in repository
    which means that ... even after the successful commit .... the file has not been added to the svn server !!!
    This has been a major problem !!!
    Infact if u see the logs @ the server side ... u will find that i have successfully commited this file 2-3 times .... but i still cant find on the server.

  19. #19
    Hi David,
    A suggestion ...rather .... a very lame one ..... can u search the server for the file README_INCASE_OF_DEBUGGER_ERROR.txt . I am skeptic if somehow the file is ending up @ some other location in the server . Though I have rechecked the commit path .....and its fine. But since we are getting a new revision number ....and when i say show log .. it shows me log until the revision number 296 only .that being the rev no when i commited the 2 previous files .. that i can see now on the repo. After that revision ....until now .. i have done 3 commits for the same file README_INCASE_OF_DEBUGGER_ERROR.txt . but i cant see it in repo ... nor can i see the rev no in the show log .That is the reason ...I am thinking may bee the file is getting added to some other folder(project) ... probably thats why the show log (for my project) does not show the rev no or the file !!!!

  20. #20
    May be this info could be of some help .....
    This is regarding the problem where i do a successful commit and get a new rev number. But when i do a svn update ..it says "file does not exist in the repo".

    in the .svn folder we have 4 other folders
    - prop-base
    - props
    - text-base
    - tmp

    Now after i do a commit and get a new rev number .....
    The text-base folder has all the files that i have checked in . But the prop-base folder do not have the files that i just commited . So i try to do a svn update ... and that is when it throws the error "file does not exist in the repo".

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •