I’m trying to manually create some Git repositories on my filesystem. I just create empty ones, using git init --bare
.
When I press “Remap and rescan” / “Rescan filesystem” (without any other option checked), I get an exception, although the repositories seem to be added to RhodeCode correctly, but not sure if something might be broken after.
The exception is:
POST http://myserver/_admin/settings/mapping/update
Traceback (most recent call last):
File "/nix/store/s43k2r9rysfbzmsjdqnxgzvvb7zjhkxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween
response = handler(request)
File "/nix/store/s43k2r9rysfbzmsjdqnxgzvvb7zjhkxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/router.py", line 148, in handle_request
registry, request, context, context_iface, view_name
File "/nix/store/s43k2r9rysfbzmsjdqnxgzvvb7zjhkxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/view.py", line 667, in _call_view
response = view_callable(context, request)
File "/nix/store/s43k2r9rysfbzmsjdqnxgzvvb7zjhkxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py", line 188, in attr_view
return view(context, request)
File "/nix/store/s43k2r9rysfbzmsjdqnxgzvvb7zjhkxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py", line 214, in predicate_wrapper
return view(context, request)
File "/nix/store/s43k2r9rysfbzmsjdqnxgzvvb7zjhkxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 436, in rendered_view
result = view(context, request)
File "/nix/store/s43k2r9rysfbzmsjdqnxgzvvb7zjhkxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 132, in _class_view
response = getattr(inst, attr)()
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 2512, in local_wrapper
return wrapper(func, *args, **kwds)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1828, in __wrapper
return func(*fargs, **fkwargs)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 2512, in local_wrapper
return wrapper(func, *args, **kwds)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1902, in __wrapper
return func(*fargs, **fkwargs)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 2512, in local_wrapper
return wrapper(func, *args, **kwds)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1721, in __wrapper
return func(*fargs, **fkwargs)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/apps/admin/views/settings.py", line 249, in settings_mapping_update
added, removed = repo2db_mapper(filesystem_repos, rm_obsolete)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/utils.py", line 565, in repo2db_mapper
git_repo._update_server_info()
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/git/repository.py", line 702, in _update_server_info
self._remote.update_server_info()
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 242, in repo_remote_attr
return self._call(name, *args, **kwargs)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/vcs/exceptions.py", line 187, in wrapper
return func(*args, **kwargs)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 303, in _call
result = remote_call(cache_key)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/rc_cache/utils.py", line 85, in decorate
return creator()
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/rc_cache/utils.py", line 82, in creator
return fn(*arg, **kw)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 301, in remote_call
return _remote_call(url, payload, EXCEPTIONS_MAP, self._session)
File "/nix/store/liqcjfzp4qrjsw0fmv88pmlbd7jg8l26-python2.7-rhodecode-enterprise-ce-4.28.0/lib/python2.7/site-packages/rhodecode/lib/vcs/client_http.py", line 103, in _remote_call
raise exc
Exception