Project

General

Profile

Actions

Bug #5492

open

VCSServer + SVN 1.10

Added by T0m Cat almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
26.07.2018
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Hi everybody,

just came across this issue:
In a fresh installed most recent rhodecode instance we copied an existing SVN Repository, which was created with the current SVN Version 1.10. Afterwards we used "Remap and Rescan" in Rhodecode Web GUI to scan for the new repository, but the Web GUI said, that there was no repository added.

A look in the vcsserver.log shows the problem:

2018-07-26 14:03:09.113 DEBUG [vcsserver.svn] Invalid Subversion path `/data/rhodecode-repos/webapps`, tb: Traceback (most recent call last):
  File "/opt/rhodecode/store/gnc8qsvvbylarxkxsyvinisv80khd8rk-python2.7-rhodecode-vcsserver-4.12.4/lib/python2.7/site-packages/vcsserver/svn.py", line 150, in is_path_valid_repository
    svn.repos.open(path)
  File "/opt/rhodecode/store/glkwj7av6pjjnsxvq7ykdhwid6pqbl8m-subversion-1.9.7/lib/python2.7/site-packages/libsvn/repos.py", line 232, in svn_repos_open
    return _repos.svn_repos_open(*args)
SubversionException: 160043 - Expected FS format between '1' and '7'; found format '8'

2018-07-26 14:03:09.113 INFO  [vcsserver.tweens] IP: 127.0.0.1 Request to path: `/svn` time: 0.001s
[26/Jul/2018:14:03:09 +0200] GNCRN <3554>   127.0.0.1       rqt:0.000949 200 51 "POST:/svn " usr:- "-" "PycURL/7.19.5 libcurl/7.50.3 OpenSSL/1.0.2h zlib/1.2.8 libssh2/1.7.0 nghttp2/1.7.1"
2018-07-26 14:03:09.116 DEBUG [vcsserver.http_main] method called:is_path_valid_repository with kwargs:{}
2018-07-26 14:03:09.116 INFO  [vcsserver.tweens] IP: 127.0.0.1 Request to path: `/svn` time: 0.000s
[26/Jul/2018:14:03:09 +0200] GNCRN <3554>   127.0.0.1       rqt:0.000536 200 51 "POST:/svn " usr:- "-" "PycURL/7.19.5 libcurl/7.50.3 OpenSSL/1.0.2h zlib/1.2.8 libssh2/1.7.0 nghttp2/1.7.1"
2018-07-26 14:03:09.119 DEBUG [vcsserver.http_main] method called:is_path_valid_repository with kwargs:{}
2018-07-26 14:03:09.119 DEBUG [vcsserver.svn] Invalid Subversion path `/data/rhodecode-repos/webapps/db`, tb: Traceback (most recent call last):
  File "/opt/rhodecode/store/gnc8qsvvbylarxkxsyvinisv80khd8rk-python2.7-rhodecode-vcsserver-4.12.4/lib/python2.7/site-packages/vcsserver/svn.py", line 150, in is_path_valid_repository
    svn.repos.open(path)
  File "/opt/rhodecode/store/glkwj7av6pjjnsxvq7ykdhwid6pqbl8m-subversion-1.9.7/lib/python2.7/site-packages/libsvn/repos.py", line 232, in svn_repos_open
    return _repos.svn_repos_open(*args)
SubversionException: 165005 - Expected repository format '3' or '5'; found format '8'

These are the rhodecode versions:

RHODECODE CONTROL VERSION: 1.18.0

 - NAME: community-1
 - STATUS: RUNNING
   logs:/root/.rccontrol/community-1/community.log
 - VERSION: 4.12.4 Community
 - VCS: vcsserver-1
 - URL: http://127.0.0.1:10020
 - CONFIG: /root/.rccontrol/community-1/rhodecode.ini

 - NAME: vcsserver-1
 - STATUS: RUNNING
   logs:/root/.rccontrol/vcsserver-1/vcsserver.log
 - VERSION: 4.12.4 VCSServer
 - URL: http://127.0.0.1:10010
 - CONFIG: /root/.rccontrol/vcsserver-1/vcsserver.ini

rcconctrol upgrade '*' sais there are no newer version available.

So is it right, that rhodecode currently doesn't support SVN 1.10 Repos? Are there any plans for that?

Thx in advance!
T0mcat

Actions #1

Updated by Marcin Kuzminski [CTO] almost 6 years ago

Hi,

Yes unfortunetly due to how SVN does storage we don't support SVN 1.10 created repositories yet. You can either downgrade them to previous format, or wait for the next release which we'll ship with svn 1.10.

Bestm

Actions

Also available in: Atom PDF