Import SVN repository

Michał Paszek's Avatar

Michał Paszek

23 Sep, 2017 11:18 AM

I can't import SVN repository from "Add repository" page. During import in vcsserver log looks that:

2017-09-23 13:15:46.209 DEBUG [vcsserver.http_main] method called:assert_correct_path with kwargs:{}
2017-09-23 13:15:46.209 DEBUG [vcsserver.base] FETCH GitFactory@/home/rcdev/repositories_store repo object from cache. Context: 60c000c8-4bf8-49b9-abdf-ad4059dbc784
2017-09-23 13:15:46.209 DEBUG [beaker.container] lock_createfunc (waiting)
2017-09-23 13:15:46.209 DEBUG [beaker.container] lock_createfunc (waited)
2017-09-23 13:15:46.209 DEBUG [beaker.container] get_value creating new value
2017-09-23 13:15:46.209 DEBUG [beaker.container] released create lock
2017-09-23 13:15:46.210 INFO [vcsserver.tweens] IP: 127.0.0.1 Request to path: `/git` time: 0.001s
2017-09-23 13:15:46.212 DEBUG [vcsserver.http_main] method called:is_path_valid_repository with kwargs:{}
2017-09-23 13:15:46.212 INFO [vcsserver.tweens] IP: 127.0.0.1 Request to path: `/svn` time: 0.001s
2017-09-23 13:15:46.222 DEBUG [vcsserver.http_main] method called:create_repository with kwargs:{}
2017-09-23 13:15:46.222 INFO [vcsserver.svn] Creating Subversion repository in path "/home/rcdev/repositories_store/AGGEN2"
2017-09-23 13:15:46.222 DEBUG [vcsserver.base] FETCH SubversionFactory@/home/rcdev/repositories_store/AGGEN2 repo object from cache. Context: 6bfa3dda-542a-451a-8e1b-4cf1fcb0639b
2017-09-23 13:15:46.222 DEBUG [beaker.container] lock_createfunc (waiting)
2017-09-23 13:15:46.222 DEBUG [beaker.container] lock_createfunc (waited)
2017-09-23 13:15:46.222 DEBUG [beaker.container] get_value creating new value
2017-09-23 13:15:46.222 DEBUG [vcsserver.svn] Create SVN repo with config "{'compatible-version': '1.9'}"
2017-09-23 13:15:46.248 DEBUG [vcsserver.svn] Got SVN object: <libsvn.repos.svn_repos_t; proxy of <Swig Object of type 'svn_repos_t *' at 0x7f51b8077990> >
2017-09-23 13:15:46.249 DEBUG [beaker.container] set_value stored time 1506165346.249232 expire time 300
2017-09-23 13:15:46.249 DEBUG [beaker.container] released create lock
2017-09-23 13:15:46.249 INFO [vcsserver.tweens] IP: 127.0.0.1 Request to path: `/svn` time: 0.028s
2017-09-23 13:15:46.250 DEBUG [vcsserver.http_main] method called:import_remote_repository with kwargs:{}
svnadmin: E200003: Premature end of content data in dumpstream
2017-09-23 13:15:46.466 ERROR [vcsserver.svn] svnrdump dump failed: statuscode 1: message: svnrdump: E170013: Unable to connect to a repository at URL 'http://rhodecode:***@svn.evertop.pl/svn/evertop/aggen'
svnrdump: E215004: No more credentials or we tried too many times.
Authentication failed

 ~ rccontrol status
RHODECODE CONTROL VERSION: 1.14.0

 - NAME: community-1
 - STATUS: RUNNING
   logs:/home/rcdev/.rccontrol/community-1/community.log
 - VERSION: 4.9.0 Community
 - VCS: None
 - URL: http://127.0.0.1:10008
 - CONFIG: /home/rcdev/.rccontrol/community-1/rhodecode.ini

 - NAME: enterprise-1
 - STATUS: STOPPED
   logs:/home/rcdev/.rccontrol/enterprise-1/enterprise.log
 - VERSION: 4.6.1 Enterprise
 - VCS: None
 - URL: http://127.0.0.1:10008
 - CONFIG: /home/rcdev/.rccontrol/enterprise-1/rhodecode.ini

 - NAME: vcsserver-1
 - STATUS: RUNNING
   logs:/home/rcdev/.rccontrol/vcsserver-1/vcsserver.log
 - VERSION: 4.9.0 VCSServer
 - URL: http://127.0.0.1:10004
 - CONFIG: /home/rcdev/.rccontrol/vcsserver-1/vcsserver.ini

Rhodecode deployed from OVA and updated to recent version.

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 23 Sep, 2017 11:40 AM

    Marcin Kuzminski's Avatar

    Hi,

    RhodeCode uses svnadmin to import repositories, is the server at svn.evertop.pl/svn/evertop/aggen exposing such data ? Maybe the problem is with SVN version compatibilities.

    Also as per the last message, did you tried to disable authentication temporary to see if this is not the problem somehow?

    Best,

    P.S. Please consider joining our Slack community channel under https://rhodecode.com/join . Get access to our development team as well as community members always willing to help.

  2. 2 Posted by Michał Paszek on 25 Sep, 2017 06:06 PM

    Michał Paszek's Avatar

    Sorry for the delay.
    After disabling authentication import gone well.
    SVN is configured to authenticate a user in LDAP. Maybe there is the problem?
    For now, import without auth is ok for me so I can go further with migration.
    Thank You very much for the help.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Nov, 2017 03:02 PM
21 Nov, 2017 06:38 PM
03 Oct, 2017 08:26 PM
03 Oct, 2017 05:48 PM
28 Sep, 2017 05:55 PM