Hey Gems,
We are using GitLab CE in Live Environment. I got a requirement to make a
replica of GitLab server. So, I have used "GitLab Mirrors" for the same
while achieving got an error says
Resolving gitlab remote.
Traceback (most recent call last):
File "lib/manage_gitlab_project.py", line 109, in <module>
found_project=createproject(project_name)
File "lib/manage_gitlab_project.py", line 95, in createproject
new_project=git.add_project(pname,description=description,**project_options)
File
"/usr/lib/python2.6/site-packages/gitlab3-0.5.4-py2.6.egg/gitlab3/__init__.py",
line 184, in fn
data = parent._post(api._uq_url, data=kwargs)
File
"/usr/lib/python2.6/site-packages/gitlab3-0.5.4-py2.6.egg/gitlab3/__init__.py",
line 418, in _post
return self._request(requests.post, api_url, addl_keys, data)
File
"/usr/lib/python2.6/site-packages/gitlab3-0.5.4-py2.6.egg/gitlab3/__init__.py",
line 435, in _request
self._check_status_code(r.status_code, url, data)
File
"/usr/lib/python2.6/site-packages/gitlab3-0.5.4-py2.6.egg/gitlab3/__init__.py",
line 411, in _check_status_code
raise self._code_to_exc[status_code](msg)
gitlab3.exceptions.MissingRequiredAttribute: URL:
http://Server2/api/v3/projects, Data: {'wall_enabled': 'false',
'snippets_enabled': 'false', 'merge_requests_enabled': 'false', 'name':
'test18.git', 'issues_enabled': 'false', 'wiki_enabled': 'false', 'public':
'false', 'description': 'Mirror of
root@server1:/opt/gitlab/git-data/repositories/sample/sample.git'}
There was an unknown issue with manage_gitlab_project.py
So, am not able to solve issue then I have one more way with Rsync to copy
the whole file system of GitLab and below command I used.
rsync -avz --delete /opt/GitLab/ root@server2:/opt/GitLab
<root@server2:/opt/gitlab>
rsync -avz --delete /var/opt/GitLab/ root@server2:/var/opt/GitLab
so it's got updated in replica server, how ever it is not getting updated
in GitLab console. I have tried refresh the console but no luck.
Its highly appreciate if you guys help me to resolve the issue.
Best regards,
rajasekhar
--
You received this message because you are subscribed to the Google Groups
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/gitlabhq/7cc0695d-fdbb-491a-822b-3f1899c5445c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.