RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042023-11-14T12:54:14ZRhodeCode - issues
Redmine RhodeCode CE/EE - Bug #5706 (Resolved): GIT: new commit cannot be made with parent that is NOT a ...https://issues.rhodecode.com/issues/57062023-11-14T12:54:14ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Checking tests failures and it seem new commits cannot be made with a parent that is not a branch</p>
RhodeCode CE/EE - Bug #5621 (Resolved): LDAP + User Groups authentication plugin not working afte...https://issues.rhodecode.com/issues/56212020-06-15T05:42:55ZMichael Davis
<p>After upgrading our RhodeCode EE server to 4.19.3, the LDAP + User Groups authentication plugin no longer works for us. I get "invalid username/password" errors when trying to log in with an LDAP account. If I switch the server to the regular LDAP plugin, it works fine with the same settings.</p>
<p>The problem appears to have first occurred in 4.19.0. I tested this by updating a copy of our server from 4.18.3 (where the LDAP + Groups authentication plugin worked) to 4.19.0 (where it did not).</p>
<p>I see this error in the log file when the authentication failure occurs:</p>
<pre><code>2020-06-14 22:24:16.746 [15542] INFO [rhodecode.authentication.base] Authenticating user `mdavis` using egg:rhodecode-enterprise-ee#ldap_group plugin
2020-06-14 22:24:16.776 [15542] ERROR [rhodecode.rc_auth_plugins.auth_ldap_group] Other exception
Traceback (most recent call last):
File "rc_auth_plugins/auth_ldap_group.py", line 835, in rc_auth_plugins.auth_ldap_group.RhodeCodeAuthPlugin.auth
File "rc_auth_plugins/auth_ldap_group.py", line 295, in rc_auth_plugins.auth_ldap_group.AuthLdap.authenticate_ldap
AttributeError: 'AuthLdap' object has no attribute 'BASE_DN'
2020-06-14 22:24:16.783 [15542] WARNI [rhodecode.model.validators] user `mdavis` failed to authenticate
</code></pre> RhodeCode CE/EE - Bug #5517 (Resolved): Problem with upgrading to Community-4.15https://issues.rhodecode.com/issues/55172018-12-11T03:56:46ZLeonardo Ferreira GuimarĂ£es
<p>During the process of upgrading the Community-4.15 product, there is a check problem (MD5 check), the following information appears:</p>
<p>rccontrol self-update<br>
Falling back and looking at the MANIFEST<br>
Currently running RhodeCode Control version "1.21.0"<br>
Updating MANIFEST file with latest version from <a href="https://dls.rhodecode.com/linux/MANIFEST" class="external">https://dls.rhodecode.com/linux/MANIFEST</a></p>
<p>New version of Community:community-1 is available. Installed 4.14.1, 4.15.0 is available.</p>
<p>Latest version "1.21.0"<br>
No new version of RhodeCode Control available.</p>
<p>$ rccontrol self-update && rccontrol upgrade '*'<br>
Falling back and looking at the MANIFEST<br>
Currently running RhodeCode Control version "1.21.0"<br>
Updating MANIFEST file with latest version from <a href="https://dls.rhodecode.com/linux/MANIFEST" class="external">https://dls.rhodecode.com/linux/MANIFEST</a></p>
<p>New version of Community:community-1 is available. Installed 4.14.1, 4.15.0 is available.</p>
<p>Latest version "1.21.0"<br>
No new version of RhodeCode Control available.</p>
<p>Checking for available update for community-1 @ 4.14.1<br>
Upgrade to version 4.15.0 is available.<br>
Stopped community-1<br>
Downloading <a href="https://dls.rhodecode.com/linux/RhodeCodeCommunity-4.15.0+x86_64-linux_build20181210_2100.tar.bz2" class="external">https://dls.rhodecode.com/linux/RhodeCodeCommunity-4.15.0+x86_64-linux_build20181210_2100.tar.bz2</a> ...<br>
MD5 check failed. '/home/rhodecode/.rccontrol/cache/RhodeCodeCommunity-4.15.0+x86_64-linux_build20181210_2100.tar.bz2.tmp' should be '33319fb97a39d28a52c109fd9c5fd5e6' but got 'c0af1199b391917b84eef93552e58f1d'<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/upgrade.py", line 83, in main<br>
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 2643, in upgrade<br>
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 627, in upgrade<br>
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 646, in upgrade_profile_link<br>
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 249, in _get_app_path<br>
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 861, in install<br>
File "/opt/rhodecode/store/aj0j6v1jkb76k62p0ss0xiay9llrs89b-python2.7-rhodecode-control-1.21.0/lib/python2.7/site-packages/rccontrol/lib/context.py", line 814, in download<br>
DownloadFailedChecksum: MD5 check failed. '/home/rhodecode/.rccontrol/cache/RhodeCodeCommunity-4.15.0+x86_64-linux_build20181210_2100.tar.bz2.tmp' should be '33319fb97a39d28a52c109fd9c5fd5e6' but got 'c0af1199b391917b84eef93552e58f1d'<br>
Rolling back to previous version.<br>
Auto starting community-1<br>
Checking for available update for vcsserver-1 @ 4.15.0<br>
Instance is at the latest known version.</p>
<p>Run 'rccontrol self-update' to check for new versions.<br>
Supervisord state is: RUNNING</p>
RhodeCode CE/EE - Bug #5434 (Resolved): Locale problemhttps://issues.rhodecode.com/issues/54342018-02-02T14:55:03ZNikolay Yankin
<p>Same problem as described here <a href="https://issues.rhodecode.com/issues/5297" class="external">https://issues.rhodecode.com/issues/5297</a> on Gentoo x64</p>
<p>Problem was appeared after upgrading from 4.9.1 to 4.11.1 (4.10.6 also affected)</p>
RhodeCode CE/EE - Bug #4273 (Resolved): GIT executable not seen by vcsserverhttps://issues.rhodecode.com/issues/42732016-10-12T23:09:12ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Reported by user. It seems git executable is not detected by vcsserver, and it's using the system one. In case there's NO git server it doesn't work.<br>
I'm not sure how this happened but the system somehow supposed to use the GIT from profile link, i think johannes explicitly removed git path from configuration.</p>
RhodeCode CE/EE - Bug #4268 (Resolved): [ee] default reviewers from changed lines is returning wr...https://issues.rhodecode.com/issues/42682016-10-06T14:18:07ZDaniel Ddaniel@rhodecode.com
<p>When getting default reviewers from authors of changed lines, not all the hunks are being processed, just the first one, meaning the changed lines are wrong (too low)</p>
RhodeCode CE/EE - Bug #4233 (Resolved): slack, git push problemhttps://issues.rhodecode.com/issues/42332016-09-19T13:24:56ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>got this while pushing to the website project:</p>
<pre><code>2016-09-19 10:52:04.619 CRITI [rhodecode.integrations.types.slack] {'author': u'Marcin Kuzminski <marcin@rhodecode.com>', 'branch': None, 'mentions': [], 'issues': [], 'url': 'https://internal-code.rhodecode.com/rhodecode-website/changeset/50586183192a283ea3dfbb2347174ec67a70574e', 'date': datetime.datetime(2016, 9, 19, 10, 51, 5), 'raw_id': '50586183192a283ea3dfbb2347174ec67a70574e', 'revision': 1879, 'short_id': '50586183192a', 'message_html': literal(u'settings: updated with latest changes\n'), 'reviewers': [], 'parents': [{'raw_id': 'ab5b2b1ad9c3058f374aba0434f71f987eaee3b7'}], 'message': u'settings: updated with latest changes\n'}
2016-09-19 10:52:04.619 ERROR [rhodecode.integrations] failure occured when sending event <rhodecode.events.repo.RepoPushEvent object at 0x7f8d29d05410> to integration <Integration(u'slack', 'root_repos')>
Traceback (most recent call last):
File "/nix/store/xa9k1grs480djz8cq6778cq828x3d6xs-python2.7-rhodecode-enterprise-ce-4.5.0+20160919x085905xb55b9717656ax48ec43f7e442/lib/python2.7/site-packages/rhodecode/integrations/__init__.py", line 54, in integrations_event_handler
integration_model.send_event(integration, event)
File "/nix/store/xa9k1grs480djz8cq6778cq828x3d6xs-python2.7-rhodecode-enterprise-ce-4.5.0+20160919x085905xb55b9717656ax48ec43f7e442/lib/python2.7/site-packages/rhodecode/model/integration.py", line 108, in send_event
handler.send_event(event)
File "/nix/store/xa9k1grs480djz8cq6778cq828x3d6xs-python2.7-rhodecode-enterprise-ce-4.5.0+20160919x085905xb55b9717656ax48ec43f7e442/lib/python2.7/site-packages/rhodecode/integrations/types/slack.py", line 139, in send_event
text = self.format_repo_push_event(data)
File "/nix/store/xa9k1grs480djz8cq6778cq828x3d6xs-python2.7-rhodecode-enterprise-ce-4.5.0+20160919x085905xb55b9717656ax48ec43f7e442/lib/python2.7/site-packages/rhodecode/integrations/types/slack.py", line 227, in format_repo_push_event
branch_commits = {'branch': branch_data[commit['branch']],
KeyError: None
</code></pre> RhodeCode CE/EE - Bug #4223 (Resolved): [git, tags] annotated tags not appearing in UIhttps://issues.rhodecode.com/issues/42232016-09-09T11:51:31ZLisa Quatmannlisa@rhodecode.com
<p>When I have an annotated tag in a git repo, and I push this tag, I do not see it listed in the changelog, the repo summary, the repo tag summary, or the commit detail page.</p>
<p>As reported in the community slack: <a href="https://rhodecode-community.slack.com/archives/general/p1473412004000013" class="external">https://rhodecode-community.slack.com/archives/general/p1473412004000013</a></p>
RhodeCode CE/EE - Bug #4206 (Resolved): Error creating SVN groupshttps://issues.rhodecode.com/issues/42062016-08-30T15:42:38ZBert Zahniser
<p>Unable to automatically create SVN groups after following instructions here: <a href="https://docs.rhodecode.com/RhodeCode-Enterprise/admin/svn-http.html" class="external">https://docs.rhodecode.com/RhodeCode-Enterprise/admin/svn-http.html</a></p>
<p><strong>Contents of ~rcdev/.rccontrol/enterprise-1/enterprise.log:</strong><br>
Traceback (most recent call last):<br>
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<br>
events.trigger(events.RepoGroupCreateEvent(repo_group))<br>
File "/opt/rhodecode/store/7k24i4a22hf4cki5mkrdkzrfs27a059m-python2.7-rhodecode-enterprise-ce-4.3.0/lib/python2.7/site-packages/rhodecode/events/<strong>init</strong>.py", line 34, in trigger<br>
registry.notify(event)<br>
File "/opt/rhodecode/store/incd2pyifnx1i11anwh308gxp16rp957-python2.7-pyramid-1.6.1/lib/python2.7/site-packages/pyramid/registry.py", line 91, in notify<br>
[ _ for _ in self.subscribers(events, None) ]<br>
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<br>
return self.adapters.subscribers(objects, provided)<br>
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<br>
subscription(*objects)<br>
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<br>
return subscriber(arg[0])<br>
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<br>
generate_mod_dav_svn_config(event.request.registry.settings)<br>
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<br>
RepoGroup.get_all_repo_groups())<br>
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 <u>render_mod_dav_svn_config<br>
return render(template, context)<br>
File "/opt/rhodecode/store/incd2pyifnx1i11anwh308gxp16rp957-python2.7-pyramid-1.6.1/lib/python2.7/site-packages/pyramid/renderers.py", line 81, in render<br>
result = helper.render(value, None, request=request)<br>
File "/opt/rhodecode/store/incd2pyifnx1i11anwh308gxp16rp957-python2.7-pyramid-1.6.1/lib/python2.7/site-packages/pyramid/renderers.py", line 469, in render<br>
result = renderer(value, system_values)<br>
File "/opt/rhodecode/store/1lkbhkn06vz9j6308cfs8ngzzn6sssvm-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/</u><u>init</u><u>.py", line 144, in __call</u>_<br>
template = self.template<br>
File "/opt/rhodecode/store/1lkbhkn06vz9j6308cfs8ngzzn6sssvm-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/<strong>init</strong>.py", line 110, in template<br>
template = self.lookup.get_template(spec)<br>
File "/opt/rhodecode/store/1lkbhkn06vz9j6308cfs8ngzzn6sssvm-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/<strong>init</strong>.py", line 75, in get_template<br>
"Can not locate template for uri %r" % uri)<br>
TopLevelLookupException: Can not locate template for uri 'rhodecode:svn_support/templates/mod-dav-svn.conf.mako'<br>
2016-08-29 19:41:28.820 INFO [rhodecode.model.repo_group] Removing group /data/Test-Web/Test-Web1</p>
RhodeCode CE/EE - Bug #4199 (Resolved): investigate: ongoing SSL problems when switching to 4.X f...https://issues.rhodecode.com/issues/41992016-08-29T09:56:29ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Based on this thread: <a href="https://community.rhodecode.com/t/cloning-problem-over-ssl/49/12" class="external">https://community.rhodecode.com/t/cloning-problem-over-ssl/49/12</a></p>
<p>Lots of people report that there are some SSL problems. We should check this out.<br>
I'm suspecting python bump caused this, but we should check, and propose a workardound ?</p>
<p>Things to check:</p>
<ul>
<li>is it nix related</li>
<li>is it a real regression from 3.X</li>
<li>was this python 2.7.X bump</li>
<li>could we make a simple workaround addind some SSL certificate flags etc.</li>
</ul>
RhodeCode CE/EE - Bug #4184 (Resolved): fix content INT overflow bughttps://issues.rhodecode.com/issues/41842016-08-19T20:05:13ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>based on this report: <a href="https://code.rhodecode.com/rhodecode-enterprise-ce/diff/rhodecode/public/js/rhodecode/i18n/zh.js?diff2=73776efe8f2c558703bbccf91f023ee2736689b4&diff1=f6e3b63a41d7c40145251f71624e28e3682ae067&context=27670116110564327424&diff=diff&ignorews=1" class="external">https://code.rhodecode.com/rhodecode-enterprise-ce/diff/rhodecode/public/js/rhodecode/i18n/zh.js?diff2=73776efe8f2c558703bbccf91f023ee2736689b4&diff1=f6e3b63a41d7c40145251f71624e28e3682ae067&context=27670116110564327424&diff=diff&ignorews=1</a></p>
RhodeCode CE/EE - Bug #4173 (Resolved): [ce, ee] mysql recycle pool timeout not workinghttps://issues.rhodecode.com/issues/41732016-08-12T16:41:27ZDaniel Ddaniel@rhodecode.com
<p>Replication:</p>
<ul>
<li>new config using mysql database</li>
<li>set mysql's wait_timeout to 6</li>
<li><code>threads = 1</code> in ini</li>
<li><code>sqlalchemy.db1.pool_recycle = 3</code> in ini</li>
<li>git push a repo (no changes need, just a push)</li>
<li>wait 7 seconds</li>
<li>git push again</li>
<li>get - <code>OperationalError: (OperationalError) (2006, 'MySQL server has gone away)</code></li>
</ul>
<p>This will also break subsequent requests with <code>StatementError: Can't reconnect until invalid transaction is rolled back</code></p>
RhodeCode CE/EE - Bug #4166 (Resolved): [ce] Rhodecode crashing after MySQL errorhttps://issues.rhodecode.com/issues/41662016-08-11T13:39:00ZMihai Nica
<p>Rhodecode Enterprise crashes with a MySQL error after a while.<br>
Already checked the pool_recycle, and it's set.<br>
Celery is not enabled.</p>
<p>Here is the information in the error log:</p>
<pre><code>2016-08-11 08:48:37.672 ERROR [rhodecode.lib.caches] Failed to commit on cache key update
Traceback (most recent call last):
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/lib/caches.py", line 216, in __exit__
Session().commit()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 788, in commit
self.transaction.commit()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 384, in commit
self._prepare_impl()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 364, in _prepare_impl
self.session.flush()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 1985, in flush
self._flush(objects)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2103, in _flush
transaction.rollback(_capture_exception=True)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/util/langhelpers.py", line 60, in __exit__
compat.reraise(exc_type, exc_value, exc_tb)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 2067, in _flush
flush_context.execute()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 372, in execute
rec.execute(self)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/unitofwork.py", line 526, in execute
uow
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 65, in save_obj
mapper, table, insert)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/persistence.py", line 602, in _emit_insert_statements
execute(statement, params)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 841, in execute
return meth(self, multiparams, params)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/sql/elements.py", line 322, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 938, in _execute_clauseelement
compiled_sql, distilled_params
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1005, in _execute_context
None, None)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1271, in _handle_dbapi_exception
exc_info
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 999, in _execute_context
conn = self._revalidate_connection()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 354, in _revalidate_connection
"Can't reconnect until invalid "
StatementError: Can't reconnect until invalid transaction is rolled back (original cause: InvalidRequestError: Can't reconnect until invalid transaction is rolled back) u'INSERT INTO cache_invalidation (cache_key, cache_args, cache_active) VALUES (%s, %s, %s)' [{'cache_active': True, 'cache_args': u'wsys/linux-tools/backup', 'cache_key': u'vcs-14268wsys/linux-tools/backup'}]
2016-08-11 08:48:38.000 ERROR [rhodecode.config.middleware] failed to fetch settings
Traceback (most recent call last):
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/config/middleware.py", line 174, in error_handler
rc_config = SettingsModel().get_all_settings()
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/model/settings.py", line 234, in get_all_settings
return _compute()
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/model/settings.py", line 217, in _compute
for result in q
File "/opt/rhodecode/store/0lg6aqzs7b4bs1x12s8i6ib5hqa285rj-python2.7-rhodecode-enterprise-ce-4.2.1/lib/python2.7/site-packages/rhodecode/lib/caching_query.py", line 105, in __iter__
return Query.__iter__(self)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2441, in __iter__
return self._execute_and_instances(context)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2454, in _execute_and_instances
close_with_result=True)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2445, in _connection_from_session
**kw)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 880, in connection
execution_options=execution_options)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 885, in _connection_for_bind
engine, execution_options)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/orm/session.py", line 326, in _connection_for_bind
conn = bind.contextual_connect()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/base.py", line 1910, in contextual_connect
self.pool.connect(),
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 338, in connect
return _ConnectionFairy._checkout(self)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 645, in _checkout
fairy = _ConnectionRecord.checkout(pool)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 442, in checkout
dbapi_connection = rec.get_connection()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 506, in get_connection
self.connection = self.__connect()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/pool.py", line 539, in __connect
connection = self.__pool._creator()
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 96, in connect
connection_invalidated=invalidated
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/util/compat.py", line 199, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 90, in connect
return dialect.connect(*cargs, **cparams)
File "/opt/rhodecode/store/rvbznw1hks4ix1pnlfmpfwh9sqmm287d-python2.7-SQLAlchemy-0.9.9/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 377, in connect
return self.dbapi.connect(*cargs, **cparams)
File "/opt/rhodecode/store/70w1dh4xc8q6m8avi9d90c5qn614cbaz-python2.7-MySQL-python-1.2.5/lib/python2.7/site-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/opt/rhodecode/store/70w1dh4xc8q6m8avi9d90c5qn614cbaz-python2.7-MySQL-python-1.2.5/lib/python2.7/site-packages/MySQLdb/connections.py", line 193, in __init__
super(Connection, self).__init__(*args, **kwargs2)
</code></pre>
<p>We are running:</p>
<pre><code>rhodecode@vcs:~$ rccontrol status
- NAME: community-1
- STATUS: RUNNING
- TYPE: Community
- VERSION: 4.2.1
- VCS: vcsserver-1
- URL: http://0.0.0.0:5000
- NAME: vcsserver-1
- STATUS: RUNNING
- TYPE: VCSServer
- VERSION: 4.2.1
- URL: http://127.0.0.1:10001
</code></pre>
<p>And MySQL 5.5 on Ubuntu Linux 14.04.</p>
RhodeCode CE/EE - Bug #4116 (New): [ee] Starting EE or running paster commands like setup-rhodeco...https://issues.rhodecode.com/issues/41162016-07-22T09:03:20ZMartin Bornholdmartin@rhodecode.com
<p>Running EE with pserve or paster commands like setup-rhodecode command works only if i set <code>export LC_ALL=en_US.UTF-8</code><br>
Steps to reproduce the error:</p>
<pre><code>export LC_ALL=''
paster setup-rhodecode --user=admin --email=admin@example.com --password=secret --api-key=9999999999999999999999999999999999999999 http_waitress.ini
</code></pre>
<p>or </p>
<pre><code>export LC_ALL=''
pserve http_waitress.ini
</code></pre> RhodeCode CE/EE - Bug #3372 (In Progress): [ldap, groups] Customer gets an empty list of groupshttps://issues.rhodecode.com/issues/33722016-03-23T21:31:25ZMikhail Chernykhmikhail@rhodecode.com
<p>Ticket: <a href="https://rhodecode.tenderapp.com/help/discussions/support-tickets/1661-ldap-group-issue" class="external">https://rhodecode.tenderapp.com/help/discussions/support-tickets/1661-ldap-group-issue</a><br>
Can be that we have introduced an issue in 3.8.x or a misconfiguration. </p>