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 - Support #5639 (New): 500 Internal Server Error | The server has either erred .....https://issues.rhodecode.com/issues/56392020-11-22T09:15:32ZClaude Chausse
<p>Hi </p>
<p>I am trying to recover my rhodecode installation after a Server Failure. I installed rhodecode and then imported my Database from my backup <br>
but the server fails when I trying to connect I get the stand error</p>
<p>===============<br>
500 Internal Server Error<br>
The server has either erred or is incapable of performing the requested operation.<br>
Possible Causes<br>
Server is overloaded.<br>
Server database connection is lost.</p>
<a name="Server-expected-unhandled-error"></a>
<h1 > Server expected unhandled error<a href="#Server-expected-unhandled-error" class="wiki-anchor">¶</a></h1>
<p>When I look at the log I see this<br>
020-11-22 03:00:16.055 [45105] ERROR [rhodecode.config.middleware] error occurred handling this request for path: /_static/rhodecode/images/favicon.ico<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/98nqg9sak7d1if134kfldiz507dkfild-python2.7-pyramid-1.10.1/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween<br>
response = handler(request)<br>
...<br>
Then this</p>
<p>OperationalError: (_mysql_exceptions.OperationalError) (1054, "Unknown column 'users.last_activity' in 'field list'") [SQL: u'SELECT users.firstname AS users_firstname, users.email AS users_email, users.api_key AS users_api_key, users.user_data AS users_user_data, users.user_id AS users_user_id, users.username AS users_username, users.password AS users_password, users.active AS users_active, users.<code>admin</code> AS users_admin, users.lastname AS users_lastname, users.last_login AS users_last_login, users.last_activity AS users_last_activity, users.extern_type AS users_extern_type, users.extern_name AS users_extern_name, users.inherit_default_permissions AS users_inherit_default_permissions, users.created_on AS users_created_on \nFROM users \nWHERE users.username = %s'] [parameters: ('default',)]</p>
<p>I need help to revive my Rhodecode</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 - Support #5516 (Resolved): Cannot log into RhodeCodehttps://issues.rhodecode.com/issues/55162018-11-26T12:45:50ZThierry Wynsdau
<p>When trying to connect with his admin account the user receive the following error message :<br>
00 Internal Server Error | The server has either erred or is incapable of performing the requested operation. </p>
<a name="Only-this-user-is-impacted-No-other-user-reported-any-trouble"></a>
<h2 >Only this user is impacted. No other user reported any trouble.<a href="#Only-this-user-is-impacted-No-other-user-reported-any-trouble" class="wiki-anchor">¶</a></h2>
<p>From the log on the machine (/home/rcserver/.rccontrol/enterprise-1/enterprise.log), I can see this stacktrace: <br>
Code:</p>
<p>2018-11-26 10:45:30.039 ERROR [rhodecode.config.middleware] error occurred handling this request for path: /<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/044m67rkz9sqqc4w8v45i97lxls99qgm-python2.7-pyramid-1.9.1/lib/python2.7/site-packages/pyramid/tweens.py", line 39, in excview_tween<br>
response = handler(request)<br>
File "/opt/rhodecode/store/044m67rkz9sqqc4w8v45i97lxls99qgm-python2.7-pyramid-1.9.1/lib/python2.7/site-packages/pyramid/router.py", line 156, in handle_request<br>
view_name<br>
File "/opt/rhodecode/store/044m67rkz9sqqc4w8v45i97lxls99qgm-python2.7-pyramid-1.9.1/lib/python2.7/site-packages/pyramid/view.py", line 642, in <u>call_view<br>
response = view_callable(context, request)<br>
File "/opt/rhodecode/store/044m67rkz9sqqc4w8v45i97lxls99qgm-python2.7-pyramid-1.9.1/lib/python2.7/site-packages/pyramid/viewderivers.py", line 390, in attr_view<br>
return view(context, request)<br>
File "/opt/rhodecode/store/044m67rkz9sqqc4w8v45i97lxls99qgm-python2.7-pyramid-1.9.1/lib/python2.7/site-packages/pyramid/viewderivers.py", line 368, in predicate_wrapper<br>
return view(context, request)<br>
File "/opt/rhodecode/store/044m67rkz9sqqc4w8v45i97lxls99qgm-python2.7-pyramid-1.9.1/lib/python2.7/site-packages/pyramid/viewderivers.py", line 462, in rendered_view<br>
request, result, view_inst, context)<br>
File "/opt/rhodecode/store/044m67rkz9sqqc4w8v45i97lxls99qgm-python2.7-pyramid-1.9.1/lib/python2.7/site-packages/pyramid/renderers.py", line 435, in render_view<br>
return self.render_to_response(response, system, request=request)<br>
File "/opt/rhodecode/store/044m67rkz9sqqc4w8v45i97lxls99qgm-python2.7-pyramid-1.9.1/lib/python2.7/site-packages/pyramid/renderers.py", line 458, in render_to_response<br>
result = self.render(value, system_values, request=request)<br>
File "/opt/rhodecode/store/044m67rkz9sqqc4w8v45i97lxls99qgm-python2.7-pyramid-1.9.1/lib/python2.7/site-packages/pyramid/renderers.py", line 454, in render<br>
result = renderer(value, system_values)<br>
File "/opt/rhodecode/store/q714q7bvxr69znv06pv1x0li3hjacpvk-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/</u><u>init</u><u>.py", line 156, in __call</u>_<br>
reraise(MakoRenderingException(errtext), None, exc_info[2])<br>
File "/opt/rhodecode/store/q714q7bvxr69znv06pv1x0li3hjacpvk-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/<strong>init</strong>.py", line 148, in <strong>call</strong><br>
result = template.render_unicode(*<em>system)<br>
File "/opt/rhodecode/store/bgrkjwf42qjkc1f7b56qsr2ab4ikgwjg-python2.7-Mako-1.0.7/lib/python2.7/site-packages/mako/template.py", line 471, in render_unicode<br>
as_unicode=True)<br>
File "/opt/rhodecode/store/bgrkjwf42qjkc1f7b56qsr2ab4ikgwjg-python2.7-Mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py", line 838, in _render<br>
*</em><u>kwargs_for_callable(callable</u>, data))<br>
File "/opt/rhodecode/store/bgrkjwf42qjkc1f7b56qsr2ab4ikgwjg-python2.7-Mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py", line 873, in <u>render_context<br>
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)<br>
File "/opt/rhodecode/store/bgrkjwf42qjkc1f7b56qsr2ab4ikgwjg-python2.7-Mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py", line 899, in _exec_template<br>
callable</u>(context, *args, **kwargs)<br>
File "_base_root_mako", line 96, in render_body<br>
File "_base_base_mako", line 50, in render_body<br>
File "rhodecode_templates_index_mako", line 47, in render_menu_bar_nav<br>
File "_base_base_mako", line 246, in render_menu_items<br>
File "_base_base_mako", line 158, in usermenu<br>
File "_base_base_mako", line 654, in render_usermenu<br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1219, in personal_repo_group<br>
return RepoGroup.get_user_personal_repo_group(self.user_id)<br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/model/db.py", line 2408, in get_user_personal_repo_group<br>
.filter(cls.user == user).scalar()<br>
File "/opt/rhodecode/store/knphb4bx7g4ps5qnnb68cnsflphqb488-python2.7-SQLAlchemy-1.1.15/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2843, in scalar<br>
ret = self.one()<br>
File "/opt/rhodecode/store/knphb4bx7g4ps5qnnb68cnsflphqb488-python2.7-SQLAlchemy-1.1.15/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2817, in one<br>
"Multiple rows were found for one()")<br>
MakoRenderingException:</p>
<p>Traceback (most recent call last):<br>
File "/opt/rhodecode/store/q714q7bvxr69znv06pv1x0li3hjacpvk-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/<strong>init</strong>.py", line 148, in <strong>call</strong><br>
result = template.render_unicode(*<em>system)<br>
File "/opt/rhodecode/store/bgrkjwf42qjkc1f7b56qsr2ab4ikgwjg-python2.7-Mako-1.0.7/lib/python2.7/site-packages/mako/template.py", line 471, in render_unicode<br>
as_unicode=True)<br>
File "/opt/rhodecode/store/bgrkjwf42qjkc1f7b56qsr2ab4ikgwjg-python2.7-Mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py", line 838, in _render<br>
*</em><u>kwargs_for_callable(callable</u>, data))<br>
File "/opt/rhodecode/store/bgrkjwf42qjkc1f7b56qsr2ab4ikgwjg-python2.7-Mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py", line 873, in <u>render_context<br>
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)<br>
File "/opt/rhodecode/store/bgrkjwf42qjkc1f7b56qsr2ab4ikgwjg-python2.7-Mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py", line 899, in _exec_template<br>
callable</u>(context, *args, **kwargs)<br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/templates/base/root.mako", line 179, in render_body<br>
${next.body()}<br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/templates/base/base.mako", line 19, in render_body<br>
${self.menu_bar_nav()}<br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/templates/index.mako", line 14, in render_menu_bar_nav<br>
${self.menu_items(active='repositories')}<br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/templates/index.mako", line 441, in render_menu_items<br>
${usermenu(active=(active=='my_account'))}<br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/templates/index.mako", line 379, in usermenu<br>
<%def name="menu_items(active=None)"><br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/templates/index.mako", line 358, in render_usermenu<br>
% if c.rhodecode_user.personal_repo_group:<br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1219, in personal_repo_group<br>
return RepoGroup.get_user_personal_repo_group(self.user_id)<br>
File "/opt/rhodecode/store/z6rzdjhgcsqvbvv2vzdy5hnq5ppj81yy-python2.7-rhodecode-enterprise-ce-4.11.1/lib/python2.7/site-packages/rhodecode/model/db.py", line 2408, in get_user_personal_repo_group<br>
.filter(cls.user == user).scalar()<br>
File "/opt/rhodecode/store/knphb4bx7g4ps5qnnb68cnsflphqb488-python2.7-SQLAlchemy-1.1.15/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2843, in scalar<br>
ret = self.one()<br>
File "/opt/rhodecode/store/knphb4bx7g4ps5qnnb68cnsflphqb488-python2.7-SQLAlchemy-1.1.15/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2817, in one<br>
"Multiple rows were found for one()")<br>
MultipleResultsFound: Multiple rows were found for one()</p>
<p>2018-11-26 10:45:30.064 INFO [rhodecode.lib.middleware.request_wrapper] IP: 192.168.12.189 Request to / time: 2.375s [Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Edge/16.16299]<br>
2018-11-26 10:45:30.758 INFO [rhodecode.lib.auth] user authenticating with:AUTH_TOKEN_AUTH IS authenticated on func RepoSummaryView:repo_refs_data<br>
2018-11-26 10:45:31.699 INFO [rhodecode.lib.middleware.request_wrapper] IP: 192.168.14.116 Request to /infrastructure/hgutils/refs-data time: 2.825s [Python-urllib/2.7]<br>
2018-11-26 10:45:31.890 INFO [rhodecode.lib.middleware.request_wrapper] IP: 43.22.110.32 Request to /infrastructure/hgutils/refs-data time: 2.063s [Python-urllib/2.7]<br>
<sup>C</sup><br>
rcadmin@SK-SCM:/home/rcserver/.rccontrol/enterprise-1$</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 #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 - 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 - 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 #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 - Task #4251 (Feedback): [customer] Pull request with subreposhttps://issues.rhodecode.com/issues/42512016-09-29T13:41:00ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>While a lot of time passed since we’ve exchanged emails last time, let me share some details about the way we work at R and what kind of Rhodecode improvements would be useful for us. </p>
<ul>
<li>Most of our iOS/Mac product repositories are Mercurial </li>
<li>We extensively use Mercurial’s subrepositories for internal dependencies: our internal libraries are Mercurial or git repositories, which are added to product repository as a subrepo. </li>
<li>I like github flow: creating feature branches (bookmarks in Mercurial), opening pull request to master (default), code-reviewing this pull request and merging it after review is finished</li>
</ul>
<p>Unfortunately Rhodecode does not allow to create pull request for Mercurial repository in case it contains any subrepo, even if there were no changes in that sub-repositories. </p>
<p>So that’s the main reason why we can’t use github flow with Rhodecode and that’s the reason why we have to Crucible. </p>
<p>I’ve shared these details with team about a year ago : <a href="https://rhodecode.tenderapp.com/help/discussions/support-tickets/1234-unable-to-create-pull-request" class="external">https://rhodecode.tenderapp.com/help/discussions/support-tickets/1234-unable-to-create-pull-request</a></p>
<p>Currently Rhodecode is more like a repository storage for us and while post-commit reviews are possible they are rarely used. That’s why most people at R almost never see Rhodecode web interface. </p>
<p>Let me know if you need any more details or have any workaround that would still allow us to use pull requests. </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 #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 - Support #3364 (New): Allow Specifying the Commit Message for Pull Request Mergeshttps://issues.rhodecode.com/issues/33642015-11-19T01:00:00ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>[tenderapp] report: <a href="https://rhodecode.tenderapp.com/help/discussions/suggestions/426" class="external">https://rhodecode.tenderapp.com/help/discussions/suggestions/426</a></p>
<p>We have a team (using Git) that would like to be able to specify the message for merge commits created from a server side merge of a pull request. This is mainly to include the issue tracking number in the message so it can more easily be traced.</p>