RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042020-04-02T14:34:35ZRhodeCode - issues
Redmine RhodeCode CE/EE - Bug #5610 (Resolved): Files navigation looses the at=<name> markerhttps://issues.rhodecode.com/issues/56102020-04-02T14:34:35ZDaniel Ddaniel@rhodecode.com
<p>During investigation of <a class="issue tracker-1 status-3 priority-2 priority-default" title="Bug: SVN navigation to trunk fails (Resolved)" href="https://issues.rhodecode.com/issues/5599">#5599</a> we also discovered that the ?at= GET marker that indicates current reference we're browsing is getting lost when navigating via tree/files. We'd need to fix this to preserve that marker especially for SVN</p>
RhodeCode CE/EE - Bug #5608 (Resolved): svn+ssh user set incorrectlyhttps://issues.rhodecode.com/issues/56082020-03-31T17:04:34ZLuke Mauldin
<p>Scenario:</p>
<ol>
<li>Create a repository <code>teststructure</code></li>
<li>Checkout the repository via svn+ssh</li>
<li>Add a file commit it</li>
<li>Edit the file and commit it</li>
</ol>
<p>Expected: the author of the SVN commit should be the user performing the commit. Actual: <code>rhodecode</code> is set as the author of the commit.<br>
If I checkout the repository using https + svn, then the author is set correctly in the commit.</p>
<p>See the below debugging information.</p>
<pre><code>vim trunk/foo/test_b.sql
svn commit -m "Updating file again"
2020-03-31 09:55:19.903 [71611] DEBUG [rhodecode.config.middleware] DEBUG MODE ON | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.903 [71611] DEBUG [rhodecode.config.middleware] Using the following Mako template directories: ['rhodecode:templates'] | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.904 [71611] DEBUG [rhodecode.config.middleware] Using the following pyramid.includes: [] | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.938 [71611] INFO [rhodecode.model] RhodeCode 4.18.2 initializing db for postgresql://rhodecode:XXXXX@127.0.0.1:5432/rhodecode | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.939 [71611] INFO [rhodecode.config.environment] Enabled VCS backends: ['svn', 'git'] | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.942 [71611] DEBUG [rhodecode.config.middleware] Initializing main includeme from middleware.pyc | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.967 [71611] DEBUG [rhodecode.lib.rc_cache] dogpile: found following cache regions: set(['cache_perms', 'cache_repo_longterm', 'sql_cache_short', 'cache_license', 'cache_repo']) | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.971 [71611] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_perms[{'async_creation_runner': None, 'name': 'cache_perms', 'function_key_generator': <function wrapper at 0x7fbe2f4678c0>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7fbe2f4542d0>, '_actual_backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7fbe2f454f10>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7fbe39988de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7fbe3a788c50>, 'key_mangler': None, 'expiration_time': 300, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7fbe2f454f10>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.971 [71611] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_repo_longterm[{'async_creation_runner': None, 'name': 'cache_repo_longterm', 'function_key_generator': <function wrapper at 0x7fbe2f46e6e0>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7fbe3a788d50>, '_actual_backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7fbe3a788e50>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7fbe39988de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7fbe2f470110>, 'key_mangler': None, 'expiration_time': 2592000, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7fbe3a788e50>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.972 [71611] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region sql_cache_short[{'async_creation_runner': None, 'name': 'sql_cache_short', 'function_key_generator': <function wrapper at 0x7fbe2f46e7d0>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7fbe2f4701d0>, '_actual_backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7fbe2f470210>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7fbe39988de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7fbe2f4702d0>, 'key_mangler': None, 'expiration_time': 30, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7fbe2f470210>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.972 [71611] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_license[{'async_creation_runner': None, 'name': 'cache_license', 'function_key_generator': <function wrapper at 0x7fbe2f46e938>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7fbe2f470350>, '_actual_backend': <class 'rhodecode.lib.rc_cache.backends.FileNamespaceBackend'> `/home/rhodecode/.rccontrol/community-1/data/rc_cache_3`, 'function_multi_key_generator': <function function_multi_key_generator at 0x7fbe39988de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7fbe2f470490>, 'key_mangler': None, 'expiration_time': 300, '_user_defined_key_mangler': None, 'backend': <class 'rhodecode.lib.rc_cache.backends.FileNamespaceBackend'> `/home/rhodecode/.rccontrol/community-1/data/rc_cache_3`}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:19.973 [71611] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_repo[{'async_creation_runner': None, 'name': 'cache_repo', 'function_key_generator': <function wrapper at 0x7fbe2f46ea28>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7fbe2f470510>, '_actual_backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7fbe2f4705d0>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7fbe39988de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7fbe2f470550>, 'key_mangler': None, 'expiration_time': 2592000, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7fbe2f4705d0>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:20.145 [71611] INFO [celery.rhodecode.loader] Configuring celery based on `/home/rhodecode/.rccontrol/community-1/rhodecode.ini` file | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:20.151 [71611] DEBUG [celery.rhodecode.loader] Got custom celery conf: {u'task_always_eager': False, u'broker_url': u'redis://localhost:6379/8', u'max_tasks_per_child': 100} | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:20.151 [71611] INFO [rhodecode.config.middleware] Pyramid app `pyramid_app_with_cleanup` created and configured in 0.25s | req_id:00000000-0000-0000-0000-000000000000
2020-03-31 09:55:20.156 [71611] DEBUG [rhodecode.apps.ssh_support.lib.backends] Mode: `auto` User: `mauldinl:5` Shell: `False` SSH Command: `"svnserve -t"` SCM_DETECTED: `svn` SCM Mode: `auto` SCM Repo: `None` | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.379 [71611] DEBUG [rhodecode.apps.ssh_support.lib.backends] Update key id:`2` fingerprint:`MD5:9e:12:51:5d:00:36:87:79:56:0f:6e:c0:52:1a:0b:8e` access time | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.379 [71611] DEBUG [rhodecode.apps.ssh_support.lib.backends] SSH Connection info {'client_port': '50004', 'client_ip': '138.254.18.106', 'server_ip': '138.254.135.35', 'server_port': '22'} | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.381 [71611] DEBUG [rhodecode.lib.auth] AuthUser: starting data propagation for new potential user | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.384 [71611] DEBUG [rhodecode.lib.auth] Trying Auth User lookup by USER ID: `5` | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.384 [71611] DEBUG [rhodecode.model.user] AuthUser: fill data execution based on: user_id:5 api_key:None username:None | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.385 [71611] DEBUG [rhodecode.model.user] AuthUser: filling found user:<User('id:5:mauldinl')> data | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.391 [71611] DEBUG [rhodecode.lib.auth] AuthUser: propagated user is now <AuthUser('id:5[mauldinl] ip:None auth:False')> | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.391 [71611] DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> scope `None` with caching: True[TTL: 300s] | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.395 [71611] DEBUG [rhodecode.lib.auth] PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> computed in 0.0035s: [('repositories', 545), ('repositories_groups', 18), ('global', 2), ('repository_branches', 0), ('user_groups', 5)] | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.406 [71611] DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> scope `OrderedDict([('repo_id', -1), ('user_group_id', -1), ('repo_group_id', -1), ('repo_name', None)])` with caching: True[TTL: 300s] | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.407 [71611] DEBUG [rhodecode.lib.auth] PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> computed in 0.0003s: [('repositories', 0), ('global', 2), ('repository_branches', 0), ('repositories_groups', 0), ('user_groups', 0)] | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.409 [71611] DEBUG [rhodecode.apps.ssh_support.lib.backends] VCS detected:`svn` mode: `auto` repo_name: None, branch_permission_checks:False | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.409 [71611] DEBUG [rhodecode.lib.hooks_daemon] Preparing HTTP callback daemon at `127.0.0.1:37319` and registering hook object | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.409 [71611] DEBUG [rhodecode.lib.hooks_daemon] Prepared a callback daemon: HttpHooksCallbackDaemon at url `127.0.0.1:37319` | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.409 [71611] DEBUG [rhodecode.lib.hooks_daemon] Running `HttpHooksCallbackDaemon` callback daemon | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.409 [71611] DEBUG [rhodecode.lib.hooks_daemon] Running event loop of callback daemon in background thread | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.410 [71611] DEBUG [rhodecode.apps.ssh_support.lib.backends.svn] Using svn binaries from path ~/.rccontrol/vcsserver-1/profile/bin/svnserve | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.410 [71611] DEBUG [rhodecode.apps.ssh_support.lib.backends.svn] Final CMD: ~/.rccontrol/vcsserver-1/profile/bin/svnserve -t --config-file /tmp/tmpSpzroh -r /srv/rhodecode/repos/ | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
svnserve: warning: cannot set LC_CTYPE locale
svnserve: warning: environment variable LANG is en_US.UTF-8
svnserve: warning: please check that your locale name is correct
2020-03-31 09:55:20.605 [71611] DEBUG [rhodecode.apps.ssh_support.lib.backends.svn] Extracting repository name from subdir path playground/teststructure/trunk/foo | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.606 [71611] DEBUG [rhodecode.apps.ssh_support.lib.backends.svn] Found prefix playground/teststructure/ match, returning proper repository name | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.606 [71611] DEBUG [rhodecode.apps.ssh_support.lib.backends.base] permission for <User('id:5:mauldinl')> on playground/teststructure are: repository.admin | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
2020-03-31 09:55:20.606 [71611] INFO [rhodecode.apps.ssh_support.lib.backends.base] READ Permissions for User "<User('id:5:mauldinl')>" detected to repo "playground/teststructure"! | req_id:19beac90-52d8-4d06-8981-7bcfa54e68e6
Sending trunk/foo/test_b.sql
Transmitting file data .done
Committing transaction...
Committed revision 19.
</code></pre>
<p>See the svn log output:</p>
<pre><code>svn log -l 3
svnserve: warning: cannot set LC_CTYPE locale
svnserve: warning: environment variable LANG is en_US.UTF-8
svnserve: warning: please check that your locale name is correct
------------------------------------------------------------------------
r17 | rhodecode | 2020-03-31 09:01:50 -0500 (Tue, 31 Mar 2020) | 1 line
Move file
------------------------------------------------------------------------
r16 | mauldinl | 2020-03-19 09:42:40 -0500 (Thu, 19 Mar 2020) | 1 line
Moving file
------------------------------------------------------------------------
r15 | mauldinl | 2020-03-19 09:39:38 -0500 (Thu, 19 Mar 2020) | 1 line
</code></pre>
<p>Revision 17 was commited via svn+ssh (incorrect author), but revisions 15 and 16 were commited via svn+https (which has the correct author).</p>
<p>Rhodecode version: 4.18.2</p>
RhodeCode CE/EE - Bug #5606 (Resolved): SVN + ssh subdirectory failurehttps://issues.rhodecode.com/issues/56062020-03-30T15:33:39ZLuke Mauldin
<p>Encountered a bug when using SVN + ssh.<br>
Scenario:</p>
<ol>
<li>Create a new SVN repository: teststructure</li>
<li>Checkout repository as HTTPS</li>
<li>mkdir and commit <code>/trunk/foo</code></li>
<li>Add and commit file <code>/trunk/foo/test.sql</code></li>
<li><p>Svn move <code>/trunk/foo/test.sql</code> to <code>/trunk/foo/test_a.sql</code> and commit<br>
The above steps all work as expected</p></li>
<li><p>Checkout teststructure repository as svn+ssh</p></li>
<li><p>Svn move <code>/trunk/foo/test_a.sql</code> to <code>/trunk/foo/test_b.sql</code> and commit<br>
this step fails with a permission error (see details below)</p></li>
</ol>
<p>Other information: my user account <code>mauldinl</code> is a "super admin" in the tool and all HTTPS operations with SVN work as expected. svn+ssh operations work as expected in the root level of an SVN repository but write operations fail in subdirectories. All git SSH operations work as expected. I have restarted Rhodecode and ran steps to invalidate all cached keys in case it is a caching issue. Experienced the same issue with both file and Redis caching.</p>
<p>Version: Rhodecode 4.18.2<br>
OS: RHEL 8</p>
<p>Debugging information:</p>
<pre><code>❰mauldinl❙/tmp❱✔≻ svn co svn+ssh://rhodecode@XXXXX/playground/teststructure teststructure_ssh
2020-03-30 06:37:34.811 [99778] DEBUG [rhodecode.config.middleware] DEBUG MODE ON | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.811 [99778] DEBUG [rhodecode.config.middleware] Using the following Mako template directories: ['rhodecode:templates'] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.812 [99778] DEBUG [rhodecode.config.middleware] Using the following pyramid.includes: [] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.844 [99778] INFO [rhodecode.model] RhodeCode 4.18.2 initializing db for postgresql://rhodecode:XXXXX@127.0.0.1:5432/rhodecode | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.846 [99778] INFO [rhodecode.config.environment] Enabled VCS backends: ['svn', 'git'] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.849 [99778] DEBUG [rhodecode.config.middleware] Initializing main includeme from middleware.pyc | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.874 [99778] DEBUG [rhodecode.lib.rc_cache] dogpile: found following cache regions: set(['cache_perms', 'cache_repo_longterm', 'sql_cache_short', 'cache_license', 'cache_repo']) | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.877 [99778] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_perms[{'async_creation_runner': None, 'name': 'cache_perms', 'function_key_generator': <function wrapper at 0x7f4276711848>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f42766fd290>, '_actual_backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7f42766fded0>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f4280c39de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f4281a39c50>, 'key_mangler': None, 'expiration_time': 300, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7f42766fded0>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.878 [99778] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_repo_longterm[{'async_creation_runner': None, 'name': 'cache_repo_longterm', 'function_key_generator': <function wrapper at 0x7f4276718668>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f4281a39d50>, '_actual_backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7f4281a39e50>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f4280c39de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f427671b0d0>, 'key_mangler': None, 'expiration_time': 2592000, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7f4281a39e50>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.878 [99778] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region sql_cache_short[{'async_creation_runner': None, 'name': 'sql_cache_short', 'function_key_generator': <function wrapper at 0x7f4276718758>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f427671b190>, '_actual_backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7f427671b1d0>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f4280c39de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f427671b290>, 'key_mangler': None, 'expiration_time': 30, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7f427671b1d0>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.879 [99778] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_license[{'async_creation_runner': None, 'name': 'cache_license', 'function_key_generator': <function wrapper at 0x7f42767188c0>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f427671b310>, '_actual_backend': <class 'rhodecode.lib.rc_cache.backends.FileNamespaceBackend'> `/home/rhodecode/.rccontrol/community-1/data/rc_cache_3`, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f4280c39de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f427671b450>, 'key_mangler': None, 'expiration_time': 300, '_user_defined_key_mangler': None, 'backend': <class 'rhodecode.lib.rc_cache.backends.FileNamespaceBackend'> `/home/rhodecode/.rccontrol/community-1/data/rc_cache_3`}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:34.880 [99778] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_repo[{'async_creation_runner': None, 'name': 'cache_repo', 'function_key_generator': <function wrapper at 0x7f42767189b0>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f427671b4d0>, '_actual_backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7f427671b590>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f4280c39de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f427671b510>, 'key_mangler': None, 'expiration_time': 2592000, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7f427671b590>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:35.046 [99778] INFO [celery.rhodecode.loader] Configuring celery based on `/home/rhodecode/.rccontrol/community-1/rhodecode.ini` file | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:35.052 [99778] DEBUG [celery.rhodecode.loader] Got custom celery conf: {u'task_always_eager': False, u'broker_url': u'redis://localhost:6379/8', u'max_tasks_per_child': 100} | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:35.052 [99778] INFO [rhodecode.config.middleware] Pyramid app `pyramid_app_with_cleanup` created and configured in 0.24s | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:37:35.057 [99778] DEBUG [rhodecode.apps.ssh_support.lib.backends] Mode: `auto` User: `mauldinl:5` Shell: `False` SSH Command: `"svnserve -t"` SCM_DETECTED: `svn` SCM Mode: `auto` SCM Repo: `None` | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.282 [99778] DEBUG [rhodecode.apps.ssh_support.lib.backends] Update key id:`2` fingerprint:`MD5:9e:12:51:5d:00:36:87:79:56:0f:6e:c0:52:1a:0b:8e` access time | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.282 [99778] DEBUG [rhodecode.apps.ssh_support.lib.backends] SSH Connection info {'client_port': '52644', 'client_ip': '138.254.18.237', 'server_ip': '138.254.135.35', 'server_port': '22'} | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.284 [99778] DEBUG [rhodecode.lib.auth] AuthUser: starting data propagation for new potential user | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.286 [99778] DEBUG [rhodecode.lib.auth] Trying Auth User lookup by USER ID: `5` | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.287 [99778] DEBUG [rhodecode.model.user] AuthUser: fill data execution based on: user_id:5 api_key:None username:None | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.287 [99778] DEBUG [rhodecode.model.user] AuthUser: filling found user:<User('id:5:mauldinl')> data | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.294 [99778] DEBUG [rhodecode.lib.auth] AuthUser: propagated user is now <AuthUser('id:5[mauldinl] ip:None auth:False')> | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.294 [99778] DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> scope `None` with caching: True[TTL: 300s] | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.298 [99778] DEBUG [rhodecode.lib.auth] PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> computed in 0.0036s: [('repositories', 541), ('global', 2), ('repositories_groups', 18), ('repository_branches', 0), ('user_groups', 5)] | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.310 [99778] DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> scope `OrderedDict([('repo_id', -1), ('user_group_id', -1), ('repo_group_id', -1), ('repo_name', None)])` with caching: True[TTL: 300s] | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.347 [99778] DEBUG [rhodecode.lib.auth] PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> computed in 0.0370s: [('repository_branches', 0), ('global', 2), ('repositories', 0), ('repositories_groups', 0), ('user_groups', 0)] | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.349 [99778] DEBUG [rhodecode.apps.ssh_support.lib.backends] VCS detected:`svn` mode: `auto` repo_name: None, branch_permission_checks:False | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.349 [99778] DEBUG [rhodecode.lib.hooks_daemon] Preparing HTTP callback daemon at `127.0.0.1:36369` and registering hook object | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.350 [99778] DEBUG [rhodecode.lib.hooks_daemon] Prepared a callback daemon: HttpHooksCallbackDaemon at url `127.0.0.1:36369` | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.350 [99778] DEBUG [rhodecode.lib.hooks_daemon] Running `HttpHooksCallbackDaemon` callback daemon | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.350 [99778] DEBUG [rhodecode.lib.hooks_daemon] Running event loop of callback daemon in background thread | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.350 [99778] DEBUG [rhodecode.apps.ssh_support.lib.backends.svn] Using svn binaries from path ~/.rccontrol/vcsserver-1/profile/bin/svnserve | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.350 [99778] DEBUG [rhodecode.apps.ssh_support.lib.backends.svn] Final CMD: ~/.rccontrol/vcsserver-1/profile/bin/svnserve -t --config-file /tmp/tmp3ldrQa -r /srv/rhodecode/repos/ | req_id:80516960-5025-4885-8e80-84dfefb2483e
svnserve: warning: cannot set LC_CTYPE locale
svnserve: warning: environment variable LANG is en_US.UTF-8
svnserve: warning: please check that your locale name is correct
2020-03-30 06:37:35.510 [99778] DEBUG [rhodecode.apps.ssh_support.lib.backends.base] permission for <User('id:5:mauldinl')> on playground/teststructure are: repository.admin | req_id:80516960-5025-4885-8e80-84dfefb2483e
2020-03-30 06:37:35.510 [99778] INFO [rhodecode.apps.ssh_support.lib.backends.base] READ Permissions for User "<User('id:5:mauldinl')>" detected to repo "playground/teststructure"! | req_id:80516960-5025-4885-8e80-84dfefb2483e
A teststructure_ssh/trunk
A teststructure_ssh/trunk/bar
A teststructure_ssh/trunk/bar/test_b2.sql
A teststructure_ssh/trunk/bar/test_b3.sql
A teststructure_ssh/trunk/bar/test_b5.sql
A teststructure_ssh/trunk/bar/test_b7.sql
A teststructure_ssh/trunk/foo
A teststructure_ssh/trunk/foo/test_a.sql
Checked out revision 16.
❰mauldinl❙/tmp❱✔≻ cd teststructure_ssh/trunk/
❰mauldinl❙/tmp/teststructure_ssh/trunk❱✔≻ ls
bar/ foo/
❰mauldinl❙/tmp/teststructure_ssh/trunk❱✔≻ cd foo
❰mauldinl❙/tmp/teststructure_ssh/trunk/foo❱✔≻ ls
test_a.sql
❰mauldinl❙/tmp/teststructure_ssh/trunk/foo❱✔≻ svn mv test_a.sql test_b.sql
A test_b.sql
D test_a.sql
❰mauldinl❙/tmp/teststructure_ssh/trunk/foo❱✔≻ svn commit -m "Move file"
2020-03-30 06:38:07.291 [99839] DEBUG [rhodecode.config.middleware] DEBUG MODE ON | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.292 [99839] DEBUG [rhodecode.config.middleware] Using the following Mako template directories: ['rhodecode:templates'] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.292 [99839] DEBUG [rhodecode.config.middleware] Using the following pyramid.includes: [] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.325 [99839] INFO [rhodecode.model] RhodeCode 4.18.2 initializing db for postgresql://rhodecode:XXXXX@127.0.0.1:5432/rhodecode | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.326 [99839] INFO [rhodecode.config.environment] Enabled VCS backends: ['svn', 'git'] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.330 [99839] DEBUG [rhodecode.config.middleware] Initializing main includeme from middleware.pyc | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.355 [99839] DEBUG [rhodecode.lib.rc_cache] dogpile: found following cache regions: set(['cache_perms', 'cache_repo_longterm', 'sql_cache_short', 'cache_license', 'cache_repo']) | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.358 [99839] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_perms[{'async_creation_runner': None, 'name': 'cache_perms', 'function_key_generator': <function wrapper at 0x7f8fdae5d848>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f8fdae49290>, '_actual_backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7f8fdae49ed0>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f8fe5385de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f8fe6185c50>, 'key_mangler': None, 'expiration_time': 300, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7f8fdae49ed0>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.359 [99839] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_repo_longterm[{'async_creation_runner': None, 'name': 'cache_repo_longterm', 'function_key_generator': <function wrapper at 0x7f8fdae64668>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f8fe6185d50>, '_actual_backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7f8fe6185e50>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f8fe5385de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f8fdae670d0>, 'key_mangler': None, 'expiration_time': 2592000, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7f8fe6185e50>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.359 [99839] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region sql_cache_short[{'async_creation_runner': None, 'name': 'sql_cache_short', 'function_key_generator': <function wrapper at 0x7f8fdae64758>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f8fdae67190>, '_actual_backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7f8fdae671d0>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f8fe5385de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f8fdae67290>, 'key_mangler': None, 'expiration_time': 30, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.LRUMemoryBackend object at 0x7f8fdae671d0>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.360 [99839] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_license[{'async_creation_runner': None, 'name': 'cache_license', 'function_key_generator': <function wrapper at 0x7f8fdae648c0>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f8fdae67310>, '_actual_backend': <class 'rhodecode.lib.rc_cache.backends.FileNamespaceBackend'> `/home/rhodecode/.rccontrol/community-1/data/rc_cache_3`, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f8fe5385de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f8fdae67450>, 'key_mangler': None, 'expiration_time': 300, '_user_defined_key_mangler': None, 'backend': <class 'rhodecode.lib.rc_cache.backends.FileNamespaceBackend'> `/home/rhodecode/.rccontrol/community-1/data/rc_cache_3`}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.361 [99839] DEBUG [rhodecode.lib.rc_cache] dogpile: registering a new region cache_repo[{'async_creation_runner': None, 'name': 'cache_repo', 'function_key_generator': <function wrapper at 0x7f8fdae649b0>, 'region_invalidator': <dogpile.cache.region.DefaultInvalidationStrategy object at 0x7f8fdae674d0>, '_actual_backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7f8fdae67590>, 'function_multi_key_generator': <function function_multi_key_generator at 0x7f8fe5385de8>, '_lock_registry': <dogpile.util.nameregistry.NameRegistry object at 0x7f8fdae67510>, 'key_mangler': None, 'expiration_time': 2592000, '_user_defined_key_mangler': None, 'backend': <rhodecode.lib.rc_cache.backends.RedisPickleBackend object at 0x7f8fdae67590>}] | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.526 [99839] INFO [celery.rhodecode.loader] Configuring celery based on `/home/rhodecode/.rccontrol/community-1/rhodecode.ini` file | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.532 [99839] DEBUG [celery.rhodecode.loader] Got custom celery conf: {u'task_always_eager': False, u'broker_url': u'redis://localhost:6379/8', u'max_tasks_per_child': 100} | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.532 [99839] INFO [rhodecode.config.middleware] Pyramid app `pyramid_app_with_cleanup` created and configured in 0.24s | req_id:00000000-0000-0000-0000-000000000000
2020-03-30 06:38:07.537 [99839] DEBUG [rhodecode.apps.ssh_support.lib.backends] Mode: `auto` User: `mauldinl:5` Shell: `False` SSH Command: `"svnserve -t"` SCM_DETECTED: `svn` SCM Mode: `auto` SCM Repo: `None` | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.758 [99839] DEBUG [rhodecode.apps.ssh_support.lib.backends] Update key id:`2` fingerprint:`MD5:9e:12:51:5d:00:36:87:79:56:0f:6e:c0:52:1a:0b:8e` access time | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.758 [99839] DEBUG [rhodecode.apps.ssh_support.lib.backends] SSH Connection info {'client_port': '52644', 'client_ip': '138.254.18.237', 'server_ip': '138.254.135.35', 'server_port': '22'} | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.760 [99839] DEBUG [rhodecode.lib.auth] AuthUser: starting data propagation for new potential user | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.763 [99839] DEBUG [rhodecode.lib.auth] Trying Auth User lookup by USER ID: `5` | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.763 [99839] DEBUG [rhodecode.model.user] AuthUser: fill data execution based on: user_id:5 api_key:None username:None | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.763 [99839] DEBUG [rhodecode.model.user] AuthUser: filling found user:<User('id:5:mauldinl')> data | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.770 [99839] DEBUG [rhodecode.lib.auth] AuthUser: propagated user is now <AuthUser('id:5[mauldinl] ip:None auth:False')> | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.770 [99839] DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> scope `None` with caching: True[TTL: 300s] | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.774 [99839] DEBUG [rhodecode.lib.auth] PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> computed in 0.0034s: [('repositories', 541), ('global', 2), ('repositories_groups', 18), ('repository_branches', 0), ('user_groups', 5)] | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.785 [99839] DEBUG [rhodecode.lib.auth] Computing PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> scope `OrderedDict([('repo_id', -1), ('user_group_id', -1), ('repo_group_id', -1), ('repo_name', None)])` with caching: True[TTL: 300s] | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.786 [99839] DEBUG [rhodecode.lib.auth] PERMISSION tree for user <AuthUser('id:5[mauldinl] ip:None auth:False')> computed in 0.0004s: [('repositories', 0), ('global', 2), ('repository_branches', 0), ('repositories_groups', 0), ('user_groups', 0)] | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.788 [99839] DEBUG [rhodecode.apps.ssh_support.lib.backends] VCS detected:`svn` mode: `auto` repo_name: None, branch_permission_checks:False | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.788 [99839] DEBUG [rhodecode.lib.hooks_daemon] Preparing HTTP callback daemon at `127.0.0.1:56149` and registering hook object | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.788 [99839] DEBUG [rhodecode.lib.hooks_daemon] Prepared a callback daemon: HttpHooksCallbackDaemon at url `127.0.0.1:56149` | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.789 [99839] DEBUG [rhodecode.lib.hooks_daemon] Running `HttpHooksCallbackDaemon` callback daemon | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.789 [99839] DEBUG [rhodecode.lib.hooks_daemon] Running event loop of callback daemon in background thread | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.789 [99839] DEBUG [rhodecode.apps.ssh_support.lib.backends.svn] Using svn binaries from path ~/.rccontrol/vcsserver-1/profile/bin/svnserve | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.789 [99839] DEBUG [rhodecode.apps.ssh_support.lib.backends.svn] Final CMD: ~/.rccontrol/vcsserver-1/profile/bin/svnserve -t --config-file /tmp/tmpz0gGYF -r /srv/rhodecode/repos/ | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
svnserve: warning: cannot set LC_CTYPE locale
svnserve: warning: environment variable LANG is en_US.UTF-8
svnserve: warning: please check that your locale name is correct
2020-03-30 06:38:07.969 [99839] DEBUG [rhodecode.apps.ssh_support.lib.backends.base] permission for <User('id:5:mauldinl')> on playground/teststructure/trunk/foo are: None | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.969 [99839] ERROR [rhodecode.apps.ssh_support.lib.backends.base] user `<User('id:5:mauldinl')>` permissions to repo:playground/teststructure/trunk/foo are empty. Forbidding access. | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.970 [99839] DEBUG [rhodecode.apps.ssh_support.lib.backends.base] Running cleanup with cache invalidation | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.976 [99839] DEBUG [rhodecode.lib.hooks_daemon] Exiting `HttpHooksCallbackDaemon` callback daemon | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.976 [99839] DEBUG [rhodecode.lib.hooks_daemon] Waiting for background thread to finish. | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
2020-03-30 06:38:07.983 [99839] DEBUG [rhodecode.lib.hooks_daemon] Background thread done. | req_id:f2d3044f-0809-458c-9342-082d91e7c7ef
svnserve: E210002: Network connection closed unexpectedly
svn: E170013: Commit failed (details follow):
svn: E170013: Unable to connect to a repository at URL 'svn+ssh://rhodecode@XXXXX/playground/teststructure/trunk/foo'
svn: E210002: Network connection closed unexpectedly
</code></pre> RhodeCode CE/EE - Bug #5604 (Resolved): Search error on second result pagehttps://issues.rhodecode.com/issues/56042020-03-27T19:55:33ZLuke Mauldin
<p>Encountered error when using a smultiple search terms and navigating to the second page.<br><br>
Scenario:</p>
<ol>
<li>Search for: FromError AND extension:go --- the url generated is: httpsXXXXcom/_admin/search?q=FromError+AND+extension%3Ago&type=content&max_lines</li>
<li>Navigate to the second page of the results. =10The search query is changed in the search box to be: FromError%20AND%20extension%3Ago and the generated url is: httpsXXXXXcom/_admin/search?q=FromError%2520AND%2520extension%253Ago&max_lines=10&sort=desc%3Adate&type=content&pag</li>
</ol>
<p>It looks like the application is trying to encode the spaces in the URL but it is not working as expected.e=2</p>
RhodeCode Control - Feature #5582 (New): Add the version number of a PR in the HTTP APIhttps://issues.rhodecode.com/issues/55822020-01-15T10:45:22ZOlivier Renaud
<p>The JSON response of <code>get_pull_request</code> does not include the version number of the pull request (the one that gets incremented when a PR is updated with new commits). It would be a useful information to report in my use case (writing a bot that acts as a PR reviewer for TeamCity builds).</p>
<p>Using the Python api, I can find the version number with this code, but there is no workaround when working with the HTTP API.</p>
<pre><code class="python syntaxhl" data-language="python"><span class="n">pr</span> <span class="o">=</span> <span class="n">PullRequest</span><span class="p">.</span><span class="n">get</span><span class="p">(</span><span class="n">pr_id</span><span class="p">)</span>
<span class="n">pr_version</span> <span class="o">=</span> <span class="n">pr</span><span class="p">.</span><span class="n">versions</span><span class="p">.</span><span class="n">count</span><span class="p">()</span> <span class="o">+</span> <span class="mi">1</span>
</code></pre> RhodeCode Control - Bug #5535 (New): improper rollback on upgrade failurehttps://issues.rhodecode.com/issues/55352019-02-09T21:12:54ZCatalin Salgau
<p>Behaviour probably not strictly related to version, but for context. (I accept that those old versions are no longer supported.)<br>
Migrating a 2.1.0 instance to 2.2.8 hit an error relating to a package rename (pkg_resources.DistributionNotFound: rhodecodemomentum) and attempted rollback.<br>
<em>instancename/profile</em> symlink was rolled back, but not the rhodecode.ini file, resulting in the app egg still pointing to egg:rhodecodemomentum and the instance failing to restart.<br>
Manually renaming rhodecode.backup_2.1.0.ini back fixed the issue.</p>
RhodeCode Control - Feature #5534 (New): extract/preload subcommandhttps://issues.rhodecode.com/issues/55342019-02-09T20:22:48ZCatalin Salgau
<p>Per documentation, restoring an instance involves creating a new instance and replacing files.<br>
Assuming one is restoring their entire ~/.rccontrol folder, the issue, as I see it, comes down to not having the required files expanded under the NIX store, as symlinked from <em>instancename/profile</em>.<br>
I'd like to suggest an <em>rccontrol extract</em> command that downloads (if not in cache/offline) and extracts the proper files on restore/upgrade, without the intermediary new instance step.<br>
This would also simplify cleanup of the nix store on live instances.</p>
RhodeCode Control - Feature #5533 (In Progress): Support busybox tarhttps://issues.rhodecode.com/issues/55332019-02-09T19:51:04ZCatalin Salgau
<p>Busybox tar does not handle --usage(as GNU tar does).<br>
Switching rccontrol from </p>
<pre><code> local_command("tar", '--usage')
</code></pre>
<p>to</p>
<pre><code> local_command("tar", '--help')
</code></pre>
<p>yields the same effect while being more inclusive.</p>
RhodeCode Tools - Bug #5531 (New): rhodecode-index: default cli opts overwrite given mapping filehttps://issues.rhodecode.com/issues/55312019-02-08T16:34:36ZPeter Colledge
<p>For example, if I provide a mapping file with</p>
<pre><code>[__DEFAULT__]
repo_limit = 1
</code></pre>
<p>I still get an unlimited limit, which is the default CLI param, until I explicitly use the CLI param <code>rhodecode-index... --repo-limit 1</code></p>
<p>See parse_opts in rhodecode_tools/commands/index.py </p>
<p>Version 756dd5c2d0b6 (v1.1.0) of cloned+venv'ed rhodecode-tools-ce.</p>
RhodeCode Control - Bug #5501 (New): rccontrol throwing rccontrol.lib.exceptions.SupervisorFailed...https://issues.rhodecode.com/issues/55012018-10-12T14:37:19Zdan m
<p>Attempting to run any command that invokes supervisord gives me the following STE:</p>
<p>$ rccontrol status community-1<br>
RHODECODE CONTROL VERSION: 1.19.2<br>
Starting supervisord.<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/bin/.supervisord-wrapped", line 12, in <br>
sys.exit(main())<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/supervisord.py", line 357, in main<br>
go(options)<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/supervisord.py", line 367, in go<br>
d.main()<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/supervisord.py", line 67, in main<br>
self.options.set_rlimits_or_exit()<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/options.py", line 1398, in set_rlimits_or_exit<br>
soft, hard = resource.getrlimit(res)<br>
resource.error: (38, 'Function not implemented')<br>
Supervisord did not start properly.<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/bin/..rccontrol-wrapped-wrapped", line 12, in <br>
sys.exit(cmd())<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/main.py", line 54, in cmd<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 716, in <strong>call</strong><br>
return self.main(*args, **kwargs)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 696, in main<br>
rv = self.invoke(ctx)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 1060, in invoke<br>
return _process_result(sub_ctx.command.invoke(sub_ctx))<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 889, in invoke<br>
return ctx.invoke(self.callback, **ctx.params)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 534, in invoke<br>
return callback(*args, **kwargs)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/decorators.py", line 64, in new_func<br>
return ctx.invoke(f, obj, *args[1:], **kwargs)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 534, in invoke<br>
return callback(*args, **kwargs)<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/status.py", line 21, in cmd<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/utils.py", line 431, in wrapper<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/status.py", line 34, in main<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1951, in status<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1059, in get_process_status<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1049, in get_process_info<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1326, in xmlrpc<br>
rccontrol.lib.exceptions.SupervisorFailedToStart</p>
<p>RC version: 1.19.2<br>
What's installed: 1 CE instance, 1 VCSServer instance<br>
OS: CentOs 6.10 (updates current up to the past week or so)</p>
<p>Comments to follow</p>
RhodeCode Tools - Bug #5450 (New): rhodecode-api get_license_info no longer workshttps://issues.rhodecode.com/issues/54502018-03-19T18:16:55ZGildas Fargeasgildas.fargeas@nerd.nintendo.com
<p>I just noticed that but it seems the method get_license_info no longer works in the api.<br>
I get the same error using either a curl request or rhodecode-api bin. I also checked get_users and it works fine.<br>
Can you reproduce this error ?</p>
<pre><code>ERROR: Backend server at `http://127.0.0.1:10002/_admin/api` returned non 2XX http code (500). Please make sure it is running and accepting connections. Original response: <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Error - 500 Internal Server Error</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="robots" content="index, nofollow"/>
<link rel="icon" href="/_static/rhodecode/images/favicon.ico" sizes="16x16 32x32" type="image/png" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/_static/rhodecode/css/style.css" media="screen"/>
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/_static/rhodecode/css/ie.css" media="screen"/>
<![endif]-->
<style>body { background:#eeeeee; }</style>
<script type="text/javascript">
// register templateContext to pass template variables to JS
var templateContext = {timeago: {}};
</script>
<script type="text/javascript" src="/_static/rhodecode/js/scripts.js"></script>
</head>
<body>
<div class="wrapper error_page">
<div class="sidebar">
<a href="/"><img class="error-page-logo" src="/_static/rhodecode/images/RhodeCode_Logo_Black.png" alt="RhodeCode"/></a>
</div>
<div class="main-content">
<h1>
<span class="error-branding">
RhodeCode
</span><br/>
500 Internal Server Error | <span class="error_message">The server has either erred or is incapable of performing the requested operation.</span>
</h1>
<div class="inner-column">
<h4>Possible Causes</h4>
<ul>
<li>Server is overloaded.</li>
<li>Server database connection is lost.</li>
<li>Server expected unhandled error.</li>
</ul>
</div>
<div class="inner-column">
<h4>Support</h4>
<p>For support, go to <a href="https://rhodecode.com/help/" target="_blank">Support</a>.
It may be useful to include your log file; see the log file locations <a href="https://rhodecode.com/r1/enterprise/docs/admin-system-overview/">here</a>.
</p>
</div>
<div class="inner-column">
<h4>Documentation</h4>
<p>For more information, see <a href="https://rhodecode.com/r1/enterprise/docs/">docs.rhodecode.com</a>.</p>
</div>
</div>
</div>
</body>
</html>
None
</code></pre> RhodeCode CE/EE - Task #5326 (Resolved): Public usergroup profilehttps://issues.rhodecode.com/issues/53262017-05-30T16:11:23ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Somehow similar to user profile e.g <a href="https://code.rhodecode.com/_profiles/marcink" class="external">https://code.rhodecode.com/_profiles/marcink</a> but for usergroups.</p>
<ul>
<li>expose a view that shows an usergroup with members, really simple</li>
<li>the view checks usergroup permissions(view at least read required)</li>
<li>we need similar helper as for users which will expose a link to the usergroup profile</li>
</ul>
RhodeCode CE/EE - Task #5270 (New): Comments updateshttps://issues.rhodecode.com/issues/52702017-04-05T12:39:52ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Think about emails sent out on on comments:</p>
<ul>
<li>maybe they shouldn’t be inside both </li>
<li>add more context (TODO resolution)</li>
<li>Maybe thread that would allow reading those ?</li>
</ul>
RhodeCode CE/EE - Feature #4074 (New): Edit review commenthttps://issues.rhodecode.com/issues/40742016-07-06T16:50:33ZTamas Gemes
<p>Currently you can only create and delete your comments during a review.<br>
This is the same for in-code comments and global (commit or pull request) comments.</p>
<p>It would be nice to have an edit feature too.</p>
RhodeCode Tools - Task #3333 (New): Create rhodecode-tools backup command for backup of RhodeCode...https://issues.rhodecode.com/issues/33332016-03-17T12:43:52ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>We should create a backup command that allows to backup instances.</p>
<ul>
<li>needs to be atomic for repositories so we don't catch a push in progress operation</li>
<li>needs to identify all required files to backup including configs, extra hooks, gists, databases etc</li>
</ul>