Project

General

Profile

Actions

Bug #4206

open

Error creating SVN groups

Added by Bert Zahniser about 8 years ago. Updated about 8 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
Start date:
30.08.2016
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:
Affected Version:

Description

Unable to automatically create SVN groups after following instructions here: https://docs.rhodecode.com/RhodeCode-Enterprise/admin/svn-http.html

Contents of ~rcdev/.rccontrol/enterprise-1/enterprise.log:
Traceback (most recent call last):
File "/opt/rhodecode/store/7k24i4a22hf4cki5mkrdkzrfs27a059m-python2.7-rhodecode-enterprise-ce-4.3.0/lib/python2.7/site-packages/rhodecode/model/repo_group.py", line 262, in create
events.trigger(events.RepoGroupCreateEvent(repo_group))
File "/opt/rhodecode/store/7k24i4a22hf4cki5mkrdkzrfs27a059m-python2.7-rhodecode-enterprise-ce-4.3.0/lib/python2.7/site-packages/rhodecode/events/init.py", line 34, in trigger
registry.notify(event)
File "/opt/rhodecode/store/incd2pyifnx1i11anwh308gxp16rp957-python2.7-pyramid-1.6.1/lib/python2.7/site-packages/pyramid/registry.py", line 91, in notify
[ _ for _ in self.subscribers(events, None) ]
File "/opt/rhodecode/store/b7lvw76lk897d4fq53zqg9sfzvsl6256-python2.7-zope.interface-4.1.3/lib/python2.7/site-packages/zope/interface/registry.py", line 328, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/rhodecode/store/b7lvw76lk897d4fq53zqg9sfzvsl6256-python2.7-zope.interface-4.1.3/lib/python2.7/site-packages/zope/interface/adapter.py", line 596, in subscribers
subscription(*objects)
File "/opt/rhodecode/store/incd2pyifnx1i11anwh308gxp16rp957-python2.7-pyramid-1.6.1/lib/python2.7/site-packages/pyramid/config/adapters.py", line 103, in derived_subscriber
return subscriber(arg[0])
File "/opt/rhodecode/store/7k24i4a22hf4cki5mkrdkzrfs27a059m-python2.7-rhodecode-enterprise-ce-4.3.0/lib/python2.7/site-packages/rhodecode/svn_support/subscribers.py", line 31, in generate_config_subscriber
generate_mod_dav_svn_config(event.request.registry.settings)
File "/opt/rhodecode/store/7k24i4a22hf4cki5mkrdkzrfs27a059m-python2.7-rhodecode-enterprise-ce-4.3.0/lib/python2.7/site-packages/rhodecode/svn_support/utils.py", line 45, in generate_mod_dav_svn_config
RepoGroup.get_all_repo_groups())
File "/opt/rhodecode/store/7k24i4a22hf4cki5mkrdkzrfs27a059m-python2.7-rhodecode-enterprise-ce-4.3.0/lib/python2.7/site-packages/rhodecode/svn_support/utils.py", line 71, in render_mod_dav_svn_config
return render(template, context)
File "/opt/rhodecode/store/incd2pyifnx1i11anwh308gxp16rp957-python2.7-pyramid-1.6.1/lib/python2.7/site-packages/pyramid/renderers.py", line 81, in render
result = helper.render(value, None, request=request)
File "/opt/rhodecode/store/incd2pyifnx1i11anwh308gxp16rp957-python2.7-pyramid-1.6.1/lib/python2.7/site-packages/pyramid/renderers.py", line 469, in render
result = renderer(value, system_values)
File "/opt/rhodecode/store/1lkbhkn06vz9j6308cfs8ngzzn6sssvm-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/
init.py", line 144, in __call_
template = self.template
File "/opt/rhodecode/store/1lkbhkn06vz9j6308cfs8ngzzn6sssvm-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/init.py", line 110, in template
template = self.lookup.get_template(spec)
File "/opt/rhodecode/store/1lkbhkn06vz9j6308cfs8ngzzn6sssvm-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/init.py", line 75, in get_template
"Can not locate template for uri %r" % uri)
TopLevelLookupException: Can not locate template for uri 'rhodecode:svn_support/templates/mod-dav-svn.conf.mako'
2016-08-29 19:41:28.820 INFO [rhodecode.model.repo_group] Removing group /data/Test-Web/Test-Web1

Actions #1

Updated by Marcin Kuzminski [CTO] about 8 years ago

Hi Bert,

Please try doing the following:

mkdir -p /opt/rhodecode/store/7k24i4a22hf4cki5mkrdkzrfs27a059m-python2.7-rhodecode-enterprise-ce-4.3.0/lib/python2.7/site-packages/rhodecode/svn_support/templates
curl https://code.rhodecode.com/rhodecode-enterprise-ce/raw/stable/rhodecode/svn_support/templates/mod-dav-svn.conf.mako > /opt/rhodecode/store/7k24i4a22hf4cki5mkrdkzrfs27a059m-python2.7-rhodecode-enterprise-ce-4.3.0/lib/python2.7/site-packages/rhodecode/svn_support/templates/mod-dav-svn.conf.mako

And then try rccontrol restart "*"

Actions #2

Updated by Bert Zahniser about 8 years ago

Hi Marcin,

These commands fixed our issue. Thanks for the quick response!

Will this get integrated into a future release?

Bert

Actions #3

Updated by Marcin Kuzminski [CTO] about 8 years ago

Hi Bert,

Yes it will be in next bugfix release it's actually artifact of installer that this file is not attached. We'll make a release probably tomorrow.

Actions #4

Updated by Marcin Kuzminski [CTO] about 8 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF