RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042020-06-15T05:42:55ZRhodeCode - issues
Redmine 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 - Support #5491 (New): Upgrade RhodeCode Community + VCSSERVER from 4.10.4 to 4.1...https://issues.rhodecode.com/issues/54912018-07-18T23:39:12ZIgor Pinotti
<p>Hello,<br>
Updated my RC from 4.10.1 to 4.12.4, and now, when doing pull-request, and adding the reviewers, so clicking on pull-request, I get this:</p>
<p>“Error creating pull request: review_members: Errors: rules: Missing value”</p>
<p>Obs:seems like there is no rule for reviewer, but I cannot change due to community version</p>
<p>What do I do?!</p>
<p>Thanks</p>
<p>2018-07-18 16:30:46.164 INFO [rhodecode.lib.auth] user authenticating with:RHODECODE_AUTH IS authenticated on func RepoPullRequestsView:pull_request_create<br>
2018-07-18 16:30:46.244 ERROR [rhodecode.apps.repository.views.repo_pull_requests] Error creating pull request: review_members: Errors:<br>
rules: Missing value<br>
Traceback (most recent call last):<br>
File “/opt/rhodecode/store/p9vr3b65srfrkr4gbag23mpcdkk0xy6w-python2.7-rhodecode-enterprise-ce-4.12.4/lib/python2.7/site-packages/rhodecode/apps/repository/views/repo_pull_requests.py”, line 799, in pull_request_create<br>
_form = form.to_python(controls)<br>
File “/opt/rhodecode/store/kvwhp79i5dck97jpdgwcglv6xbjbza90-python2.7-FormEncode-1.2.4/lib/python2.7/site-packages/formencode/api.py”, line 419, in to_python<br>
value = tp(value, state)<br>
File “/opt/rhodecode/store/kvwhp79i5dck97jpdgwcglv6xbjbza90-python2.7-FormEncode-1.2.4/lib/python2.7/site-packages/formencode/schema.py”, line 196, in _to_python<br>
value_dict, state, error_dict=errors)<br>
Invalid: review_members: Errors:<br>
rules: Missing value</p>
RhodeCode CE/EE - Bug #5436 (Resolved): Unable To Open Pull Request in 4.11.2https://issues.rhodecode.com/issues/54362018-02-09T17:41:52ZPeter Rebholz
<p>I upgraded our testing environment to 4.11.2 in order to see if issue <a class="issue tracker-1 status-1 priority-3 priority-high3" title="Bug: When Opening New Pull Request, Target Revision Default Is Undesireable (New)" href="https://issues.rhodecode.com/issues/5414">#5414</a> was addressed. I'm unable to successfully open a pull request as there are a few issues in the way:</p>
<ul>
<li>When selecting a commit from the Changelog and clicked "open new pull request for selected commit", the source ref field is not set with the commit/bookmark I selected on the Changelog page</li>
<li>I can't appear to ever select a target revision. It's always blank and clicking on it does not display a drop down.</li>
</ul>
<p>I noticed an error in the JS console that prints once initially and whenever I change the target repository: TypeError: selectedRef is null. My initial thought was maybe a browser caching issue but after clearing my cache, that doesn't seem to address the issue.</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 #5433 (Resolved): RhodeCode Community 4.11 doesn't handle HG largefiles ext...https://issues.rhodecode.com/issues/54332018-02-01T17:36:24ZMaxim Mozgovoy
<p>After the upgrade from RhodeCode 4.10.6 my repositories with largefiles stopped working (404 not found when trying to pull).<br>
The log says,</p>
<p>ERROR [rhodecode.lib.vcs.exceptions] Found VCSServer remote traceback information: <br>
...<br>
Exception: repository requires features unknown to this Mercurial: largefiles</p>
<p>Largefiles is enabled in the settings. Downgrading the system back to 4.10.6 solved the issue.</p>
RhodeCode CE/EE - Bug #5414 (New): When Opening New Pull Request, Target Revision Default Is Unde...https://issues.rhodecode.com/issues/54142018-01-12T22:28:55ZPeter Rebholz
<p>Version Info:</p>
<p>RhodeCode 4.10.6 Enterprise Edition<br>
CentOS 7<br>
PostgreSQL 10.1</p>
<p>Issue:</p>
<p>We're testing out upgrading to 4.10.6 from a fairly old version and hit a snag that is going to keep us from upgrading. When opening a new pull request for a Hg repository, initiated from the Changelog screen, the default target revision is particularly poor for our workflow/use case. We're seeing it default to the <code>default</code> branch or, in repositories where the <code>default</code> branch is closed, the very first revision of the repository. It takes a really long time for RhodeCode to count every commit from the beginning of time to the present and further, if you change the branch while it's working, you get a browser alert dialog (see attached).</p>
<p>This has a significant impact on our workflow as every user is going to hit this every time they try and open a pull request. We use bookmarks as the source revision for pull requests so and are usually requesting things be merged into the same branch, thus the best default <u>for us</u> would be the same branch. However, having no default would be preferable to the wrong default and a long processing time + error pop-up.</p>
<p>The only workaround I have found is initiating the pull request from the pull requests page and setting the target revision <u>before</u> setting the source revision. This isn't a great work around.</p>
RhodeCode CE/EE - Task #5391 (Resolved): Secure Email changehttps://issues.rhodecode.com/issues/53912017-09-21T17:12:54ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<ul>
<li>add email requires a password</li>
<li>email is to be selected from the list instead of entered.</li>
<li>allows easier discovery of extra email addresses</li>
</ul>
RhodeCode CE/EE - Feature #5289 (New): Ability to Upload/Replace a file using the UIhttps://issues.rhodecode.com/issues/52892017-04-25T15:19:25ZAjay Gautam
<p>We store binary (excel) files in our repo. It would be tremendously helpful to have an "upload/replace" button on the UI. Please see attache image for details.</p>
RhodeCode CE/EE - Support #4677 (Resolved): API get_repo_refs not working ?https://issues.rhodecode.com/issues/46772016-12-15T14:03:15ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>[tenderapp] report: <a href="https://rhodecode.tenderapp.com/help/discussions/support-tickets/2117" class="external">https://rhodecode.tenderapp.com/help/discussions/support-tickets/2117</a></p>
<p>Hello support,</p>
<p>We have an issue with the RhodeCode API "get_repo_refs".<br>
While calling , it returns the following error: "failed to get repo: <code>...</code> references"</p>
<p>However, we are able to call other API for the same repo; "get_repo", "get_repo_nodes",...</p>
<p>We found this in the logs:<br>
2016-12-15 12:51:37.913 ERROR [rhodecode.api.views.repo_api] Exception occurred while trying to get repo refs<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/9d6f7bxchl0qfsi4v9z927y1kqsq8liz-python2.7-rhodecode-enterprise-ce-4.5.0/lib/python2.7/site-packages/rhodecode/api/views/repo_api.py", line 529, in get_repo_refs<br>
refs = vcs_instance.refs()<br>
File "/opt/rhodecode/store/9d6f7bxchl0qfsi4v9z927y1kqsq8liz-python2.7-rhodecode-enterprise-ce-4.5.0/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/base.py", line 229, in refs<br>
raise NotImplementedError<br>
NotImplementedError</p>
<p>Is this API still WIP ? We planned to use it for our current development.</p>
RhodeCode CE/EE - Bug #4304 (Resolved): Search: Internal Server Errorhttps://issues.rhodecode.com/issues/43042016-11-08T22:11:55ZBert Zahniser
<p>Unable to complete search indexing. Output from command: <br>
/home/rcdev/.rccontrol/enterprise-1/profile/bin/rhodecode-index --instance-name=enterprise-1</p>
<p>Generates error msg:<br>
Internal server error</p>
<p>Output from enterprise-1.log:<br>
==> enterprise-1/enterprise.log <==<br>
2016-11-08 21:06:15.575 ERROR [rhodecode.api] Unhandled exception occured on api call: <br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/bc6w8dzvdcs6dixi83cs32rbaj5zyz67-python2.7-rhodecode-enterprise-ce-4.4.0/lib/python2.7/site-packages/rhodecode/api/<strong>init</strong>.py", line 254, in request_view<br>
ret_value = func(**call_params)<br>
File "/opt/rhodecode/store/bc6w8dzvdcs6dixi83cs32rbaj5zyz67-python2.7-rhodecode-enterprise-ce-4.4.0/lib/python2.7/site-packages/rhodecode/api/views/repo_api.py", line 390, in get_repo_changesets<br>
<u>cs_json['diff'] = build_commit_data(commit, changes_details)<br>
File "/opt/rhodecode/store/bc6w8dzvdcs6dixi83cs32rbaj5zyz67-python2.7-rhodecode-enterprise-ce-4.4.0/lib/python2.7/site-packages/rhodecode/api/utils.py", line 288, in build_commit_data<br>
for f in commit.added:<br>
File "/opt/rhodecode/store/bc6w8dzvdcs6dixi83cs32rbaj5zyz67-python2.7-rhodecode-enterprise-ce-4.4.0/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/svn/commit.py", line 213, in added<br>
self._changes_cache['added'], self)<br>
File "/opt/rhodecode/store/b0avyih7iz13mraavqcmzv5y7l12f68f-python2.7-zope.cachedescriptors-4.0.0/lib/python2.7/site-packages/zope/cachedescriptors/property.py", line 69, in __get</u>_<br>
value = func(inst)<br>
File "/opt/rhodecode/store/bc6w8dzvdcs6dixi83cs32rbaj5zyz67-python2.7-rhodecode-enterprise-ce-4.4.0/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/svn/commit.py", line 197, in <u>changes_cache<br>
return self._remote.revision_changes(self._svn_rev)<br>
File "/opt/rhodecode/store/bc6w8dzvdcs6dixi83cs32rbaj5zyz67-python2.7-rhodecode-enterprise-ce-4.4.0/lib/python2.7/site-packages/rhodecode/lib/vcs/exceptions.py", line 175, in wrapper<br>
return func(*args, **kwargs)<br>
File "/opt/rhodecode/store/bc6w8dzvdcs6dixi83cs32rbaj5zyz67-python2.7-rhodecode-enterprise-ce-4.4.0/lib/python2.7/site-packages/rhodecode/lib/vcs/client.py", line 319, in caller<br>
return func(*all_args, **kwargs)<br>
File "/opt/rhodecode/store/ss0apdfdw13jgjplhgxqqxv7pmwxfz5d-python2.7-Pyro4-4.35/lib/python2.7/site-packages/Pyro4/core.py", line 168, in __call</u>_<br>
return self.<strong>send(self.</strong>name, args, kwargs)<br>
File "/opt/rhodecode/store/ss0apdfdw13jgjplhgxqqxv7pmwxfz5d-python2.7-Pyro4-4.35/lib/python2.7/site-packages/Pyro4/core.py", line 395, in _pyroInvoke<br>
raise data<br>
NotImplementedError: Action 3 not supported on path trunk/code/WLGore.MTrack/WLGore.MTrack.Library/Interfaces/IAssociate.cs<br>
+--- This exception occured remotely (Pyro) - Remote traceback:<br>
| Traceback (most recent call last):<br>
| File "/opt/rhodecode/store/ss0apdfdw13jgjplhgxqqxv7pmwxfz5d-python2.7-Pyro4-4.35/lib/python2.7/site-packages/Pyro4/core.py", line 966, in handleRequest<br>
| data = method(*vargs, **kwargs) # this is the actual method call to the Pyro object<br>
| File "/opt/rhodecode/store/y4yps64ak81djaja7s7d0w67nwrcqwy6-python2.7-rhodecode-vcsserver-4.4.0/lib/python2.7/site-packages/vcsserver/svn.py", line 177, in revision_changes<br>
| change.action, path))<br>
| NotImplementedError: Action 3 not supported on path trunk/code/WLGore.MTrack/WLGore.MTrack.Library/Interfaces/IAssociate.cs<br>
+--- End of remote traceback</p>
<p>2016-11-08 21:06:15.576 INFO [rhodecode.lib.middleware.request_wrapper] IP: 10.240.0.67 Request to /_admin/api time: 0.900s</p>
RhodeCode CE/EE - Task #4235 (Resolved): Support GIT LFS serverhttps://issues.rhodecode.com/issues/42352016-09-19T16:45:28ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>It has been requested by few customers, and it's getting really mature. We should add support for GIT LFS server and support LFS via our HTTP backend</p>
<p><a href="https://github.com/github/git-lfs/wiki/Implementations" class="external">https://github.com/github/git-lfs/wiki/Implementations</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 #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>