Migrating to new server

Pavel's Avatar

Pavel

24 Oct, 2016 05:51 AM

Hi, i try to migrate to new server. I copy database sqlite, <production>.ini file and repositories directory. When I click on repositories or folder on rhodecode web interface I get error 500 "The server encountered an unexpected condition which prevented it from fulfilling the request.", when i try "Remap and Rescan" i get the same.
In enterprice.log:
Error - <class 'Pyro4.errors.CommunicationError'>: Unable to connect to remote pyro server <Pyro4.core.Proxy at 0x7f9eb25dabd0, not connected, for PYRO:[email blocked]:10001>
URL: http://192.168.62.200:5000/a.dobychina
File '/opt/rhodecode/store/4awiprfqs8sg65b6r45rp214ycfbylab-python2.7-WebError-0.10.3/lib/python2.7/site-packages/weberror/errormiddleware.py', line 162 in __call__
  app_iter = self.application(environ, sr_checker)
File '/opt/rhodecode/store/487gkxzssdq6wq7y4z5mj7385458lq4m-python2.7-Beaker-1.7.0/lib/python2.7/site-packages/beaker/middleware.py', line 155 in __call__
  return self.wrap_app(environ, session_start_response)
File '/opt/rhodecode/store/czjm7r1lv8dcgyrwyrs0xqh53z02x8yw-python2.7-Routes-1.13/lib/python2.7/site-packages/routes/middleware.py', line 80 in __call__
  config.environ = environ
File '/opt/rhodecode/store/czjm7r1lv8dcgyrwyrs0xqh53z02x8yw-python2.7-Routes-1.13/lib/python2.7/site-packages/routes/__init__.py', line 22 in __setattr__
  self.load_wsgi_environ(value)
File '/opt/rhodecode/store/czjm7r1lv8dcgyrwyrs0xqh53z02x8yw-python2.7-Routes-1.13/lib/python2.7/site-packages/routes/__init__.py', line 51 in load_wsgi_environ
  result = mapper.routematch(path)
File '/opt/rhodecode/store/czjm7r1lv8dcgyrwyrs0xqh53z02x8yw-python2.7-Routes-1.13/lib/python2.7/site-packages/routes/mapper.py', line 692 in routematch
  result = self._match(url, environ)
File '/opt/rhodecode/store/czjm7r1lv8dcgyrwyrs0xqh53z02x8yw-python2.7-Routes-1.13/lib/python2.7/site-packages/routes/mapper.py', line 646 in _match
  domain_match)
File '/opt/rhodecode/store/czjm7r1lv8dcgyrwyrs0xqh53z02x8yw-python2.7-Routes-1.13/lib/python2.7/site-packages/routes/route.py', line 578 in match
  not self.conditions['function'](environ, result):
File '/opt/rhodecode/store/wbkmapwwalqgwzds7vk22qw7iq5v4dk2-python2.7-RhodeCodeEnterprise-3.6.1/lib/python2.7/site-packages/rhodecode/config/routing.py', line 83 in check_group
File '/opt/rhodecode/store/wbkmapwwalqgwzds7vk22qw7iq5v4dk2-python2.7-RhodeCodeEnterprise-3.6.1/lib/python2.7/site-packages/rhodecode/lib/utils.py', line 371 in is_valid_repo_group
File 'rhodecode/lib/vcs/utils/helpers.py', line 55 in rhodecode.lib.vcs.utils.helpers.get_scm (rhodecode/lib/vcs/utils/helpers.c:1546)
File 'rhodecode/lib/vcs/utils/helpers.py', line 53 in rhodecode.lib.vcs.utils.helpers.get_scm.get_scms (rhodecode/lib/vcs/utils/helpers.c:1162)
File 'rhodecode/lib/vcs/utils/helpers.py', line 103 in rhodecode.lib.vcs.utils.helpers.get_scms_for_path (rhodecode/lib/vcs/utils/helpers.c:2544)
File 'rhodecode/lib/vcs/backends/git/repository.py', line 135 in rhodecode.lib.vcs.backends.git.repository.GitRepository.is_valid_repository (rhodecode/lib/vcs/backends/git/repository.c:3955)
File 'rhodecode/lib/vcs/backends/git/repository.py', line 63 in rhodecode.lib.vcs.backends.git.repository.GitRepository.__init__ (rhodecode/lib/vcs/backends/git/repository.c:2444)
File 'rhodecode/lib/vcs/backends/git/repository.py', line 160 in rhodecode.lib.vcs.backends.git.repository.GitRepository._init_repo (rhodecode/lib/vcs/backends/git/repository.c:4559)
File 'rhodecode/lib/vcs/client.py', line 87 in rhodecode.lib.vcs.client.RemoteRepo.__getattr__ (rhodecode/lib/vcs/client.c:2421)
File 'rhodecode/lib/vcs/client.py', line 104 in rhodecode.lib.vcs.client._get_proxy_method (rhodecode/lib/vcs/client.c:2916)
CommunicationError: Unable to connect to remote pyro server <Pyro4.core.Proxy at 0x7f9eb25dabd0, not connected, for PYRO:[email blocked]:10001>

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 24 Oct, 2016 12:32 PM

    Marcin Kuzminski's Avatar

    Hi,

    This error means vcsserver is either misconfigured or not running. Please make sure you have it correctly configured.

  2. 2 Posted by Pavel on 24 Oct, 2016 12:54 PM

    Pavel's Avatar

    Thanks a lot. It's my mistake in rhodecode.ini was wrong ip in parameter vcs.server

  3. Support Staff 3 Posted by Marcin Kuzminsk... on 27 Dec, 2016 04:28 PM

    Marcin Kuzminski's Avatar

    In order to keep our support system clean and improve our response time to the open tickets, I will now close this support ticket. Of course, if you still have questions regarding this issue you may reopen this ticket at your convenience.

  4. Marcin Kuzminski closed this discussion on 27 Dec, 2016 04:28 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

03 Oct, 2017 08:26 PM
03 Oct, 2017 05:48 PM
28 Sep, 2017 05:55 PM
25 Sep, 2017 06:06 PM
25 Sep, 2017 05:54 AM
18 Aug, 2017 09:19 PM