RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042023-11-28T08:43:53ZRhodeCode - issues
Redmine RhodeCode CE/EE - Bug #5710 (Resolved): security: hide env vars on exception without debug modehttps://issues.rhodecode.com/issues/57102023-11-28T08:43:53ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Currentt exceptions print out a docker env with a lot of secrets, this shoukd be only enabled via debug=true flag on .ini files...</p>
RhodeCode CE/EE - Bug #5709 (Resolved): SSL requirement with traefik for vcs seems to be brokenhttps://issues.rhodecode.com/issues/57092023-11-27T19:42:45ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>from user:</p>
<p>If I enable “Require SSL for vcs operations” in the Admin settings, I get an error 406 while trying to checkout through HTTPS. Is this expected with a Let’s Encrypt certificate?</p>
RhodeCode CE/EE - Bug #5708 (Resolved): fix password reset field mismatchhttps://issues.rhodecode.com/issues/57082023-11-25T06:46:48ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>when making a new user password field goes out of scope and breaks the </p>
RhodeCode CE/EE - Bug #5707 (Resolved): SVN - check case of bytes/string mismatchhttps://issues.rhodecode.com/issues/57072023-11-23T09:00:09ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Vladimir pointed out an issue while porting to k8s cluster. Here are the relevant errors seen:</p>
<p>{"timestamp": "2023-11-22T13:25:31.740566+00:00", "levelname": "ERROR", "name": "rhodecode.lib.middleware.simplevcs", "message": "", "req_id": "6b635215-fbdd-4b1d-ab54-3300417d5a71"}<br>
{"timestamp": "2023-11-22T13:25:31.740832+00:00", "levelname": "ERROR", "name": "rhodecode.lib.middleware.simplevcs", "message": "b'<?xml version=\"1.0\" encoding=\"utf-8\"?>/test/test-svn/!svn/txn/0-g<a href="/D:href">/D:href</a><a href="/D:source">/D:source</a><a href="/D:prop">/D:prop</a><a href="/D:merge">/D:merge</a>'", "req_id": "6b635215-fbdd-4b1d-ab54-3300417d5a71"}<br>
{"timestamp": "2023-11-22T13:25:31.741216+00:00", "levelname": "ERROR", "name": "rhodecode.lib.middleware.simplevcs", "message": "Exception while handling request", "req_id": "6b635215-fbdd-4b1d-ab54-3300417d5a71", "exc_info": "Traceback (most recent call last):\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/pyramid/tweens.py\", line 41, in excview_tween\n response = handler(request)\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/pyramid/router.py\", line 169, in handle_request\n raise HTTPNotFound(msg)\npyramid.httpexceptions.HTTPNotFound: /test/test-svn\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/lib/middleware/simplevcs.py\", line 395, in <strong>call</strong>\n return self._handle_request(environ, start_response)\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/lib/middleware/simplevcs.py\", line 586, in _handle_request\n return self._generate_vcs_response(\n File \"/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/lib/middleware/simplevcs.py\", line 100, in wrapper\n init = next(gen)\n <sup><sup><sup><sup><sup><sup><sup><sup><sup>\n</sup></sup></sup></sup></sup></sup></sup></sup></sup> File \"/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/lib/middleware/simplevcs.py\", line 610, in _generate_vcs_response\n environ['wsgi.input'] = io.StringIO(data)\n initial_value must be str or None, not bytes"}</p>
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 #5704 (Resolved): rebase is broken in 5.0.0 releasehttps://issues.rhodecode.com/issues/57042023-11-06T12:48:48ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Mercurial pull-requests using rebase strategy always fail with exception about unknown revisions. </p>
<p>Check if rebase logic was not changed after bump of mercurial</p>
RhodeCode CE/EE - Bug #5699 (Resolved): Fix Agile pluginhttps://issues.rhodecode.com/issues/56992023-10-17T16:41:33ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Seems after Redmine upgrade AGILE plugin broke some JS, try to download and upgrade the Agile plugin to sort that out</p>
RhodeCode CE/EE - Bug #5698 (Resolved): 5.0.0 release - documentation 4.X -> 5.X migration step-b...https://issues.rhodecode.com/issues/56982023-10-17T16:32:54ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>In order to smoothen the transition from 4.X release we need to write a guide how to move to 5.X series.</p>
RhodeCode CE/EE - Bug #5692 (Resolved): SVN validationhttps://issues.rhodecode.com/issues/56922023-10-17T07:58:12ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p>Seems SVN protocol in 5.0.0 is not working in some cases, one the the tests in CI fails. We should check this before moving out of beta to stable 5.0.0</p>
RhodeCode CE/EE - Bug #5691 (Resolved): Fix 5.0.0 exceptionhttps://issues.rhodecode.com/issues/56912023-10-17T07:57:13ZMarcin Kuzminski [CTO]marcin@rhodecode.com
<p><a href="https://code.rhodecode.com/_admin/settings/exceptions/140374526066368" class="external">https://code.rhodecode.com/_admin/settings/exceptions/140374526066368</a></p>
<p>This seems to be a regression</p>
RhodeCode CE/EE - Bug #5670 (New): Repo-level administrators can usurp owner of repoistoryhttps://issues.rhodecode.com/issues/56702021-10-12T14:50:43ZYechen Qiao
<p>Not sure if this is a bug or a feature, but what I have found out is that any admins designated to be just a repo-level administrator (no repo group level admin and not super-admin), can modify the ownership of the repository to someone else. Even though in the access control page, the owners's rights looks unmodifiable.</p>
RhodeCode Control - Bug #5535 (New): improper rollback on upgrade failurehttps://issues.rhodecode.com/issues/55352019-02-09T21:12:54ZCatalin Salgau
<p>Behaviour probably not strictly related to version, but for context. (I accept that those old versions are no longer supported.)<br>
Migrating a 2.1.0 instance to 2.2.8 hit an error relating to a package rename (pkg_resources.DistributionNotFound: rhodecodemomentum) and attempted rollback.<br>
<em>instancename/profile</em> symlink was rolled back, but not the rhodecode.ini file, resulting in the app egg still pointing to egg:rhodecodemomentum and the instance failing to restart.<br>
Manually renaming rhodecode.backup_2.1.0.ini back fixed the issue.</p>
RhodeCode Tools - Bug #5531 (New): rhodecode-index: default cli opts overwrite given mapping filehttps://issues.rhodecode.com/issues/55312019-02-08T16:34:36ZPeter Colledge
<p>For example, if I provide a mapping file with</p>
<pre><code>[__DEFAULT__]
repo_limit = 1
</code></pre>
<p>I still get an unlimited limit, which is the default CLI param, until I explicitly use the CLI param <code>rhodecode-index... --repo-limit 1</code></p>
<p>See parse_opts in rhodecode_tools/commands/index.py </p>
<p>Version 756dd5c2d0b6 (v1.1.0) of cloned+venv'ed rhodecode-tools-ce.</p>
RhodeCode Control - Bug #5501 (New): rccontrol throwing rccontrol.lib.exceptions.SupervisorFailed...https://issues.rhodecode.com/issues/55012018-10-12T14:37:19Zdan m
<p>Attempting to run any command that invokes supervisord gives me the following STE:</p>
<p>$ rccontrol status community-1<br>
RHODECODE CONTROL VERSION: 1.19.2<br>
Starting supervisord.<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/bin/.supervisord-wrapped", line 12, in <br>
sys.exit(main())<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/supervisord.py", line 357, in main<br>
go(options)<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/supervisord.py", line 367, in go<br>
d.main()<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/supervisord.py", line 67, in main<br>
self.options.set_rlimits_or_exit()<br>
File "/opt/rhodecode/store/i58g29lpsgfr7jxsirfx2xsjhddllrc5-python2.7-supervisor-3.3.4/lib/python2.7/site-packages/supervisor/options.py", line 1398, in set_rlimits_or_exit<br>
soft, hard = resource.getrlimit(res)<br>
resource.error: (38, 'Function not implemented')<br>
Supervisord did not start properly.<br>
Traceback (most recent call last):<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/bin/..rccontrol-wrapped-wrapped", line 12, in <br>
sys.exit(cmd())<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/main.py", line 54, in cmd<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 716, in <strong>call</strong><br>
return self.main(*args, **kwargs)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 696, in main<br>
rv = self.invoke(ctx)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 1060, in invoke<br>
return _process_result(sub_ctx.command.invoke(sub_ctx))<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 889, in invoke<br>
return ctx.invoke(self.callback, **ctx.params)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 534, in invoke<br>
return callback(*args, **kwargs)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/decorators.py", line 64, in new_func<br>
return ctx.invoke(f, obj, *args[1:], **kwargs)<br>
File "/opt/rhodecode/store/bbsdjfz28lj6g8s90wbj6i746nwxhh2s-python2.7-click-6.6/lib/python2.7/site-packages/click/core.py", line 534, in invoke<br>
return callback(*args, **kwargs)<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/status.py", line 21, in cmd<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/utils.py", line 431, in wrapper<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/status.py", line 34, in main<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1951, in status<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1059, in get_process_status<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1049, in get_process_info<br>
File "/opt/rhodecode/store/hvmz2dqbl1ha75bnw4gh7kgy6wqk62jz-python2.7-rhodecode-control-1.19.2/lib/python2.7/site-packages/rccontrol/lib/context.py", line 1326, in xmlrpc<br>
rccontrol.lib.exceptions.SupervisorFailedToStart</p>
<p>RC version: 1.19.2<br>
What's installed: 1 CE instance, 1 VCSServer instance<br>
OS: CentOs 6.10 (updates current up to the past week or so)</p>
<p>Comments to follow</p>
RhodeCode Tools - Bug #5450 (New): rhodecode-api get_license_info no longer workshttps://issues.rhodecode.com/issues/54502018-03-19T18:16:55ZGildas Fargeasgildas.fargeas@nerd.nintendo.com
<p>I just noticed that but it seems the method get_license_info no longer works in the api.<br>
I get the same error using either a curl request or rhodecode-api bin. I also checked get_users and it works fine.<br>
Can you reproduce this error ?</p>
<pre><code>ERROR: Backend server at `http://127.0.0.1:10002/_admin/api` returned non 2XX http code (500). Please make sure it is running and accepting connections. Original response: <!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Error - 500 Internal Server Error</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta name="robots" content="index, nofollow"/>
<link rel="icon" href="/_static/rhodecode/images/favicon.ico" sizes="16x16 32x32" type="image/png" />
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" type="text/css" href="/_static/rhodecode/css/style.css" media="screen"/>
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="/_static/rhodecode/css/ie.css" media="screen"/>
<![endif]-->
<style>body { background:#eeeeee; }</style>
<script type="text/javascript">
// register templateContext to pass template variables to JS
var templateContext = {timeago: {}};
</script>
<script type="text/javascript" src="/_static/rhodecode/js/scripts.js"></script>
</head>
<body>
<div class="wrapper error_page">
<div class="sidebar">
<a href="/"><img class="error-page-logo" src="/_static/rhodecode/images/RhodeCode_Logo_Black.png" alt="RhodeCode"/></a>
</div>
<div class="main-content">
<h1>
<span class="error-branding">
RhodeCode
</span><br/>
500 Internal Server Error | <span class="error_message">The server has either erred or is incapable of performing the requested operation.</span>
</h1>
<div class="inner-column">
<h4>Possible Causes</h4>
<ul>
<li>Server is overloaded.</li>
<li>Server database connection is lost.</li>
<li>Server expected unhandled error.</li>
</ul>
</div>
<div class="inner-column">
<h4>Support</h4>
<p>For support, go to <a href="https://rhodecode.com/help/" target="_blank">Support</a>.
It may be useful to include your log file; see the log file locations <a href="https://rhodecode.com/r1/enterprise/docs/admin-system-overview/">here</a>.
</p>
</div>
<div class="inner-column">
<h4>Documentation</h4>
<p>For more information, see <a href="https://rhodecode.com/r1/enterprise/docs/">docs.rhodecode.com</a>.</p>
</div>
</div>
</div>
</body>
</html>
None
</code></pre>