wiki:site_notice
This is an old revision of the document!
This howto describes how to recover an SVN repository after the following error:
Could not read chunk delimiter: Secure connection truncated
This error occurs when a revision gets corrupted. The SVN database is still accessible via svn checkout, but it stops checking out when it encounters the files of the corrupted revision.
Solution:
- Determine the revision which has got corrupted, using svnadmin recover REPOS_PATH
- The recovery should fail, giving you the number of the revision which is corrupted
- Dump all the good revisions using svnadmin dump REPOS_PATH -r 1:xx > file.dump where xx is the last good revision
- Rename the old REPOS_PATH directory
- Restore the dump file into REPOS_PATH using svnadmin create REPOS_PATH; svnadmin load REPOS_PATH < file.dump
/data/www/wiki.inf.unibz.it/data/attic/wiki/site_notice.1186573458.txt.gz · Last modified: 2019/01/16 10:03 (external edit)