Again, I did rccontrol self-destroy, installed from scratch changed the repo path. But I am still getting the same error. But when I read the lines logged in the file community.log line by line I found that rhodecode is trying to create a git repo but what I was trying to create is a svn repo basically.
2018-06-04 11:38:14.370 [13049] INFO [rhodecode.lib.auth] user <AuthUser('id:2[admin] ip:127.0.0.1 auth:True')> authenticating with:RHODECODE_AUTH IS authenticated on func AdminReposView:repository_create
2018-06-04 11:38:14.506 [13049] ERROR [rhodecode.lib.vcs.client_http] Call to **http://127.0.0.1:10010/git returned non 200 HTTP code: 503**
2018-06-04 11:38:14.506 [13049] WARNI [rhodecode.task.create_repo] Exception occurred when creating repository, doing cleanup...
Traceback (most recent call last):
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/celerylib/tasks.py", line 143, in create_repo
clone_uri=clone_uri,
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/model/repo.py", line 832, in _create_filesystem_repo
if is_valid_repo_group(repo_path, self.repos_path):
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/utils.py", line 303, in is_valid_repo_group
scm_ = get_scm(os.path.dirname(full_path))
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/utils/helpers.py", line 51, in get_scm
found_scms = [(scm, path) for scm in get_scms_for_path(path)]
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/utils/helpers.py", line 91, in get_scms_for_path
if backend.is_valid_repository(path):
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 139, in is_valid_repository
**GitRepository(path)**
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 69, in __init__
self._init_repo(create, src_url, update_after_clone, bare)
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 164, in _init_repo
if not self._remote.assert_correct_path():
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 125, in f
return self._call(name, *args, **kwargs)
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 144, in _call_with_logging
return RemoteRepo._call(self, name, *args, **kwargs)
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/exceptions.py", line 181, in wrapper
return func(*args, **kwargs)
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 139, in _call
return _remote_call(self.url, payload, EXCEPTIONS_MAP, self._session)
File "/opt/rhodecode/store/bbjmr1bwgmqsdkajzkmm5hk16al1b3ag-python2.7-rhodecode-enterprise-ce-4.12.2/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 211, in _remote_call
raise exceptions.HttpVCSCommunicationError(repr(response.content))
After clicking “Add Repository” I chose the type as “svn” but rhodecode is trying to create a git repo I guess and that ends up in an error. Why may it be though?