RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042023-10-17T16:32:54ZRhodeCode - issues
Redmine 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 #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 #5684 (New): Integrations do not send through commits for new brancheshttps://issues.rhodecode.com/issues/56842022-07-27T22:50:57ZAndrew Whalan
<p>When pushing the first commit on a new branch, the commit information is not included in the resulting repo-push event.</p>
RhodeCode CE/EE - Bug #5682 (New): Login Page stuck until page is refreshedhttps://issues.rhodecode.com/issues/56822022-06-30T08:37:52ZEDV Habemus
<p>When logging in over the Web GUI, after the credentials are typed in, your're stuck on the login page until the page gets refreshed. <br>
Even after updating the issue keeps on happening.</p>
RhodeCode CE/EE - Bug #5680 (New): Inconsistent timezone displayhttps://issues.rhodecode.com/issues/56802022-04-20T14:15:36ZEmiliano Funes
<p>Setting a timezone different than UTC-0 causes inconsistencies in the displayed commit ages.<br>
In our case we use UTC-3. After a new commit, the last modified date is shown as if the commit was created 3 hours in the future. <br>
Also, creation dates of groups and repos are saved in 1/1/1970 (in our case UTC-3)<br>
<img src="https://issues.rhodecode.com/attachments/download/3096/homepage_bug.png" title="Homepage bug" alt="Homepage bug" loading="lazy" /><br>
When I enter in the repo details, the last modified date is shown in UTC-0, for example, showing "4 minutes and 14 seconds ago"<br>
<img src="https://issues.rhodecode.com/attachments/download/3097/details_bug.png" title="Commit details bug" alt="Commit details bug" loading="lazy" /></p>
RhodeCode CE/EE - Bug #5679 (New): Data directory continues to grow until it fills disk partitionhttps://issues.rhodecode.com/issues/56792022-03-28T16:24:19Zlee loucks
<p>Our data/cache directory will continue to grow until it fills the partition and the web interface of RC becomes inaccessible. We have been increasing the partition size (now up to 20G) and it still is filling/failing. </p>
<p>After removing clearing the cache entries from the data directory, was able to pull this exception from the Exception Tracker</p>
<pre><code>Exception `OSError` generated on UTC date: 2022-03-28T13:15:03.975409
Request: POST https://127.0.0.1:5000/rc4/_admin/api
127.0.0.1 RhodeCode-CLI/1.4.0
Traceback (most recent call last):
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/router.py", line 277, in default_execution_policy
return router.invoke_request(request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/router.py", line 252, in invoke_request
request._process_response_callbacks(response)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/request.py", line 83, in _process_response_callbacks
callback(self, response)
File "/opt/rhodecode/store/7a23dpzkkqnqmai1kx8wfnflmngr7q9x-python2.7-rhodecode-enterprise-ce-4.26.0/lib/python2.7/site-packages/rhodecode/lib/rc_beaker.py", line 40, in session_callback
self.persist()
File "/opt/rhodecode/store/bq0n2vs76d5c5yxwjab17a7pfgsrfr9x-python2.7-beaker-1.9.1/lib/python2.7/site-packages/beaker/session.py", line 823, in persist
self._session().save()
File "/opt/rhodecode/store/bq0n2vs76d5c5yxwjab17a7pfgsrfr9x-python2.7-beaker-1.9.1/lib/python2.7/site-packages/beaker/session.py", line 463, in save
self.namespace.acquire_write_lock(replace=True)
File "/opt/rhodecode/store/bq0n2vs76d5c5yxwjab17a7pfgsrfr9x-python2.7-beaker-1.9.1/lib/python2.7/site-packages/beaker/container.py", line 220, in acquire_write_lock
r = self.access_lock.acquire_write_lock(wait)
File "/opt/rhodecode/store/bq0n2vs76d5c5yxwjab17a7pfgsrfr9x-python2.7-beaker-1.9.1/lib/python2.7/site-packages/beaker/synchronization.py", line 186, in acquire_write_lock
x = self.do_acquire_write_lock(wait)
File "/opt/rhodecode/store/bq0n2vs76d5c5yxwjab17a7pfgsrfr9x-python2.7-beaker-1.9.1/lib/python2.7/site-packages/beaker/synchronization.py", line 261, in do_acquire_write_lock
filedescriptor = self._open(os.O_CREAT | os.O_WRONLY)
File "/opt/rhodecode/store/bq0n2vs76d5c5yxwjab17a7pfgsrfr9x-python2.7-beaker-1.9.1/lib/python2.7/site-packages/beaker/synchronization.py", line 242, in _open
filedescriptor = os.open(self.filename, mode)
OSError: [Errno 28] No space left on device: '/home/rhodecode/.rccontrol/community-1/data/sessions/lock/5/5a/5a4e4f9d514d72d417d9cff05380f5b798e93b33.lock
</code></pre><pre><code>$ rccontrol status
RHODECODE CONTROL VERSION: 1.24.3
- NAME: community-1
- STATUS: RUNNING
logs: /home/rhodecode/.rccontrol/community-1/community.log
- VERSION: 4.26.0 Community
- VCS: vcsserver-1
- URL: http://127.0.0.1:5000
- CONFIG: /home/rhodecode/.rccontrol/community-1/rhodecode.ini
- NAME: vcsserver-1
- STATUS: RUNNING
logs: /home/rhodecode/.rccontrol/vcsserver-1/vcsserver.log
- VERSION: 4.26.0 VCSServer
- URL: http://127.0.0.1:10010
- CONFIG: /home/rhodecode/.rccontrol/vcsserver-1/vcsserver.ini
</code></pre> RhodeCode CE/EE - Bug #5672 (Resolved): Unable to browse git repository folders with # in nameshttps://issues.rhodecode.com/issues/56722021-12-16T16:00:28ZGreg Gaskill
<p>When browsing a git repository on our Rhodecode EE server web gui, we are unable to descend into folder whose names contain a # symbol.</p>
<p>An example browsing URI:</p>
<pre><code>https://example.com/projects/vendor/site/jobname/files/tip/Code/CP3%231?at=tip
</code></pre>
<p>Example error text for the above message says:</p>
<pre><code>error: There is no file nor directory at the given path: `Code/CP3` at commit xxxx
</code></pre>
<p>The actual folder name in the repository is "Code/CP#3"</p>
<p>Also note the actual rhodecode version running is 4.26 , not 4.24 (but the options didn't allow me to specify it)</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 CE/EE - Bug #5669 (Resolved): Mercurial commit messages doesn't show cyrillic symbolshttps://issues.rhodecode.com/issues/56692021-10-01T10:11:00ZOleg Schelykalnov
<p>I updated from 4.17 version and cyrillic in commit messages started to shown as ?. </p>
<p>I applied workaround from <a href="https://issues.rhodecode.com/issues/5297" class="external">https://issues.rhodecode.com/issues/5297</a> but it only helped with setlocale python error.</p>
<p>hg log shows messages correctly.</p>
<p>related configurations</p>
<p>supervisord.ini</p>
<pre><code class="ini syntaxhl" data-language="ini"><span class="py">environment</span> <span class="p">=</span> <span class="s">HOME=/home/glassfish,LANG=ru_RU.UTF-8,LC_ALL=ru_RU.UTF-8,LOCALE_ARCHIVE=/home/glassfish/locale-archive,HGENCODING=utf8</span>
</code></pre>
<p>rhodecode.ini</p>
<pre><code class="ini syntaxhl" data-language="ini"><span class="py">lang</span> <span class="p">=</span> <span class="s">ru</span>
<span class="py">default_encoding</span> <span class="p">=</span> <span class="s">UTF-8 # CP1251 also tried</span>
</code></pre>
<p>vcsserver.ini</p>
<pre><code class="ini syntaxhl" data-language="ini"><span class="py">pyramid.default_locale_name</span> <span class="p">=</span> <span class="s">ru</span>
<span class="py">locale</span> <span class="p">=</span> <span class="s">ru_RU.UTF-8</span>
</code></pre> RhodeCode CE/EE - Bug #5664 (Resolved): Regression: When assigning permissions, cannot see own gr...https://issues.rhodecode.com/issues/56642021-07-14T13:27:04ZYechen Qiao
<p>Previously, if you are in group "A", and you own a project. When you try to assign permissions to project, group "A" is available for auto-complete.</p>
<p>Now, if you are not super-admin, do not have at least "Read" access to the group from some other group you also belong to, then when you try to assign your own group to a project, you will notice it is not available for selection at all in auto-complete. And it will clear itself out when you try to type the exact name before saving.</p>
<p>If the group owner tries to assign permission "Read" to its own group, the user gets an error message saying cannot assign group permission to the same group.</p>
<p>Right now, we are using workaround to use 2 groups instead of one for each group that can own a project, and we will have to manually add user of one group to its duplicate group when new users are added. Then with Group "B", I can assign "Read" to group "A", and if group "B" contains all members of group A, all members will now be able to add group A to the project.</p>
<p>Affected Version: 4.25.2 (not available for selection in this bug report page)</p>
RhodeCode CE/EE - Bug #5662 (New): Full text search not working due to crash in whooshhttps://issues.rhodecode.com/issues/56622021-06-03T07:07:40ZBen Allan
<p>Full text search isn't working for us, due to the following crash:</p>
<pre><code class="python syntaxhl" data-language="python"><span class="mi">2021</span><span class="o">-</span><span class="mi">06</span><span class="o">-</span><span class="mi">03</span> <span class="mi">11</span><span class="p">:</span><span class="mi">27</span><span class="p">:</span><span class="mf">30.145</span> <span class="p">[</span><span class="mi">14690</span><span class="p">]</span> <span class="n">ERROR</span> <span class="p">[</span><span class="n">rhodecode</span><span class="p">.</span><span class="n">config</span><span class="p">.</span><span class="n">middleware</span><span class="p">]</span> <span class="n">error</span> <span class="n">occurred</span> <span class="n">handling</span> <span class="n">this</span> <span class="n">request</span> <span class="k">for</span> <span class="n">path</span><span class="p">:</span> <span class="o">/</span><span class="n">_admin</span><span class="o">/</span><span class="n">search</span>
<span class="n">Traceback</span> <span class="p">(</span><span class="n">most</span> <span class="n">recent</span> <span class="n">call</span> <span class="n">last</span><span class="p">):</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/tweens.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">41</span><span class="p">,</span> <span class="ow">in</span> <span class="n">excview_tween</span>
<span class="n">response</span> <span class="o">=</span> <span class="n">handler</span><span class="p">(</span><span class="n">request</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/router.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">148</span><span class="p">,</span> <span class="ow">in</span> <span class="n">handle_request</span>
<span class="n">registry</span><span class="p">,</span> <span class="n">request</span><span class="p">,</span> <span class="n">context</span><span class="p">,</span> <span class="n">context_iface</span><span class="p">,</span> <span class="n">view_name</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/view.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">667</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_call_view</span>
<span class="n">response</span> <span class="o">=</span> <span class="n">view_callable</span><span class="p">(</span><span class="n">context</span><span class="p">,</span> <span class="n">request</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">188</span><span class="p">,</span> <span class="ow">in</span> <span class="n">attr_view</span>
<span class="k">return</span> <span class="n">view</span><span class="p">(</span><span class="n">context</span><span class="p">,</span> <span class="n">request</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">214</span><span class="p">,</span> <span class="ow">in</span> <span class="n">predicate_wrapper</span>
<span class="k">return</span> <span class="n">view</span><span class="p">(</span><span class="n">context</span><span class="p">,</span> <span class="n">request</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">436</span><span class="p">,</span> <span class="ow">in</span> <span class="n">rendered_view</span>
<span class="n">result</span> <span class="o">=</span> <span class="n">view</span><span class="p">(</span><span class="n">context</span><span class="p">,</span> <span class="n">request</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">132</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_class_view</span>
<span class="n">response</span> <span class="o">=</span> <span class="nb">getattr</span><span class="p">(</span><span class="n">inst</span><span class="p">,</span> <span class="n">attr</span><span class="p">)()</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/5vmp7ipy3w2m4qii4fymlz8amzc9xd3k-python2.7-rhodecode-enterprise-ce-4.23.2/lib/python2.7/site-packages/rhodecode/lib/auth.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">2507</span><span class="p">,</span> <span class="ow">in</span> <span class="n">local_wrapper</span>
<span class="k">return</span> <span class="n">wrapper</span><span class="p">(</span><span class="n">func</span><span class="p">,</span> <span class="o">*</span><span class="n">args</span><span class="p">,</span> <span class="o">**</span><span class="n">kwds</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/5vmp7ipy3w2m4qii4fymlz8amzc9xd3k-python2.7-rhodecode-enterprise-ce-4.23.2/lib/python2.7/site-packages/rhodecode/lib/auth.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">1823</span><span class="p">,</span> <span class="ow">in</span> <span class="n">__wrapper</span>
<span class="k">return</span> <span class="n">func</span><span class="p">(</span><span class="o">*</span><span class="n">fargs</span><span class="p">,</span> <span class="o">**</span><span class="n">fkwargs</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/5vmp7ipy3w2m4qii4fymlz8amzc9xd3k-python2.7-rhodecode-enterprise-ce-4.23.2/lib/python2.7/site-packages/rhodecode/apps/search/views.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">138</span><span class="p">,</span> <span class="ow">in</span> <span class="n">search</span>
<span class="n">perform_search</span><span class="p">(</span><span class="bp">self</span><span class="p">.</span><span class="n">request</span><span class="p">,</span> <span class="n">c</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/5vmp7ipy3w2m4qii4fymlz8amzc9xd3k-python2.7-rhodecode-enterprise-ce-4.23.2/lib/python2.7/site-packages/rhodecode/apps/search/views.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">39</span><span class="p">,</span> <span class="ow">in</span> <span class="n">perform_search</span>
<span class="n">searcher</span> <span class="o">=</span> <span class="n">searcher_from_config</span><span class="p">(</span><span class="n">request</span><span class="p">.</span><span class="n">registry</span><span class="p">.</span><span class="n">settings</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/5vmp7ipy3w2m4qii4fymlz8amzc9xd3k-python2.7-rhodecode-enterprise-ce-4.23.2/lib/python2.7/site-packages/rhodecode/lib/index/__init__.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">151</span><span class="p">,</span> <span class="ow">in</span> <span class="n">searcher_from_config</span>
<span class="n">searcher</span> <span class="o">=</span> <span class="n">imported</span><span class="p">.</span><span class="n">Searcher</span><span class="p">(</span><span class="n">config</span><span class="o">=</span><span class="n">_config</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/5vmp7ipy3w2m4qii4fymlz8amzc9xd3k-python2.7-rhodecode-enterprise-ce-4.23.2/lib/python2.7/site-packages/rhodecode/lib/index/whoosh.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">74</span><span class="p">,</span> <span class="ow">in</span> <span class="n">__init__</span>
<span class="k">if</span> <span class="n">exists_in</span><span class="p">(</span><span class="bp">self</span><span class="p">.</span><span class="n">config</span><span class="p">[</span><span class="s">'location'</span><span class="p">],</span> <span class="n">indexname</span><span class="o">=</span><span class="n">FILE_INDEX_NAME</span><span class="p">):</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/0cxfbx6hhh8kvfahjivy6i3y5703dm6b-python2.7-whoosh-2.7.4/lib/python2.7/site-packages/whoosh/index.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">136</span><span class="p">,</span> <span class="ow">in</span> <span class="n">exists_in</span>
<span class="n">ix</span> <span class="o">=</span> <span class="n">open_dir</span><span class="p">(</span><span class="n">dirname</span><span class="p">,</span> <span class="n">indexname</span><span class="o">=</span><span class="n">indexname</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/0cxfbx6hhh8kvfahjivy6i3y5703dm6b-python2.7-whoosh-2.7.4/lib/python2.7/site-packages/whoosh/index.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">123</span><span class="p">,</span> <span class="ow">in</span> <span class="n">open_dir</span>
<span class="k">return</span> <span class="n">FileIndex</span><span class="p">(</span><span class="n">storage</span><span class="p">,</span> <span class="n">schema</span><span class="o">=</span><span class="n">schema</span><span class="p">,</span> <span class="n">indexname</span><span class="o">=</span><span class="n">indexname</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/0cxfbx6hhh8kvfahjivy6i3y5703dm6b-python2.7-whoosh-2.7.4/lib/python2.7/site-packages/whoosh/index.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">421</span><span class="p">,</span> <span class="ow">in</span> <span class="n">__init__</span>
<span class="n">TOC</span><span class="p">.</span><span class="n">read</span><span class="p">(</span><span class="bp">self</span><span class="p">.</span><span class="n">storage</span><span class="p">,</span> <span class="bp">self</span><span class="p">.</span><span class="n">indexname</span><span class="p">,</span> <span class="n">schema</span><span class="o">=</span><span class="bp">self</span><span class="p">.</span><span class="n">_schema</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/0cxfbx6hhh8kvfahjivy6i3y5703dm6b-python2.7-whoosh-2.7.4/lib/python2.7/site-packages/whoosh/index.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">632</span><span class="p">,</span> <span class="ow">in</span> <span class="n">read</span>
<span class="n">check_size</span><span class="p">(</span><span class="s">"int"</span><span class="p">,</span> <span class="n">_INT_SIZE</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/0cxfbx6hhh8kvfahjivy6i3y5703dm6b-python2.7-whoosh-2.7.4/lib/python2.7/site-packages/whoosh/index.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">626</span><span class="p">,</span> <span class="ow">in</span> <span class="n">check_size</span>
<span class="n">sz</span> <span class="o">=</span> <span class="n">stream</span><span class="p">.</span><span class="n">read_varint</span><span class="p">()</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/0cxfbx6hhh8kvfahjivy6i3y5703dm6b-python2.7-whoosh-2.7.4/lib/python2.7/site-packages/whoosh/filedb/structfile.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">191</span><span class="p">,</span> <span class="ow">in</span> <span class="n">read_varint</span>
<span class="k">return</span> <span class="n">read_varint</span><span class="p">(</span><span class="bp">self</span><span class="p">.</span><span class="n">read</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/0cxfbx6hhh8kvfahjivy6i3y5703dm6b-python2.7-whoosh-2.7.4/lib/python2.7/site-packages/whoosh/util/varints.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">102</span><span class="p">,</span> <span class="ow">in</span> <span class="n">read_varint</span>
<span class="n">b</span> <span class="o">=</span> <span class="nb">ord</span><span class="p">(</span><span class="n">readfn</span><span class="p">(</span><span class="mi">1</span><span class="p">))</span>
<span class="nb">TypeError</span><span class="p">:</span> <span class="nb">ord</span><span class="p">()</span> <span class="n">expected</span> <span class="n">a</span> <span class="n">character</span><span class="p">,</span> <span class="n">but</span> <span class="n">string</span> <span class="n">of</span> <span class="n">length</span> <span class="mi">0</span> <span class="n">found</span>
</code></pre>
<p>We've upgraded to 4.25.2 and tried clearing caches but still see the error. This means the search on the frontpage fails, we can't access the search settings page, and running the indexer from the command line also fails.<br>
Does anyone know what might cause this? Is it a single problematic repo or file that can't be indexed properly?</p>
<p>Apologies if this isn't the right place to post this, the community support portal has an issue where it's returning 500 internal server errors right now.</p>
Documentation - Bug #5628 (New): Problems with SSH Connection docshttps://issues.rhodecode.com/issues/56282020-07-02T21:12:53ZRussell Warren
<p>In going through setup of the SSH connection for a new CE server I ran into a few problems worthy of feedback.</p>
<p>Docs I followed are here:</p>
<p><a href="https://docs.rhodecode.com/RhodeCode-Enterprise/auth/ssh-connection.html" class="external">https://docs.rhodecode.com/RhodeCode-Enterprise/auth/ssh-connection.html</a></p>
<p>Problems I encountered:</p>
<p><strong>1. Confusion between EE and CE</strong></p>
<p>"EE" is clearly Enterprise Edition<br>
"CE" is clearly Community Edition</p>
<p>This differentiation is very clear A) on the RhodeCode website in multiple places (e.g. <a href="https://rhodecode.com/features/community-vs-enterprise" class="external">here</a>), and B) in general usage.</p>
<p>SSH Connection docs cclearly reference "RhodeCode Enterpise" multiple times, making it seem like it is not available in CE.</p>
<p>I was told on the slack help channel that the naming is "RhodeCode Enterprise EE" (or CE), which is very confusing.</p>
<p>Also see bug <a class="issue tracker-1 status-1 priority-2 priority-default" title="Bug: Feedback on RhodeCode Full-text search docs (New)" href="https://issues.rhodecode.com/issues/5625">#5625</a> where I ran into similar confusion.</p>
<p>**2. Step 1 is confusing, and the existence of <code>.ssh/authorized_keys_rhodecode</code> itself is also confusing</p>
<p>Step 1 should be rewritten to clarify that that file <em>will</em> be needed (but does not exist yet), and that a separate non-standard authorized_keys file is recommended in order for rhodecode to be able to modify it diectly without affecting the standard system file (I assume thisis the reason). It should also be restated here that running as an isolated <code>rhodecode</code> user is <em>highly</em> recommended (in which case a separate <code>authorized_keys</code> file woudl not be needed, nor would modifying the system <code>sshd</code> config!!).</p>
<p>My confusion was:</p>
<p>A) I thought the file should exist (since it explicitly says "<em>By default a file authorized_keys_rhodecode is created containing configuration</em>"), but it does not<br>
B) Why was a separate authorized_keys file needed in the first place? (I am using a <code>rhodecode</code> user, and expected RhodeCode to use this and not need me to tweak my system <code>/etc/ssh/sshd_config</code>)</p>
<p><strong>3. The <code>/home/rhodecode/.ssh/</code> dir is not created automatically</strong></p>
<p>After following directions explicitly, I expected that adding an ssh key would work for my user. It did not, and I got the following error in red at the top of the <code>my_account/ssh_keys</code> UI: </p>
<p><code>An error occurred during ssh key saving: [Errno 2] No such file or directory: '/home/rhodecode/.ssh/authorized_keys_rhodecode'</code></p>
<p>Your docs state "<em>This will generate a new entry inside our configured authorized_keys_rhodecode file</em>", but the receiving <code>~/.ssh/</code> does not exist, nor does the <code>authorized_keys_rhodecode</code> file.</p>
<p>This did seem to be registered (in the database?), since when I created the dir to retry, I could not re-add without deleting the existing entry.</p>
<p>Creating the <code>~/.ssh</code> dir manually fixes the problem. I did not need to create an empty <code>authorized_keys_rhodecode</code> file.</p>
RhodeCode CE/EE - Bug #5612 (New): CPU cores getting maxed out by VCSServer on Repository Size re...https://issues.rhodecode.com/issues/56122020-04-08T18:57:58ZRenaud Lepage
<p>Please note that this happens on a RhodeCode CE instance, running the latest RhodeCode code, but running on a Virtual Private Server machine with fairly "restricted" specs (one virtual CPU, 2gb RAM). Weak by any metrics.</p>
<p>Condition: Using a freshly imported SVN repository that's not indexed or anything</p>
<p>Hitting "Show Repository Size" starts some kind of "runaway process", or possibly a "go through each commit in historical order", from the RhodeCode "Main Service" (community-1) to the VCS Server. This makes the two VCSServer workers max out the one virtual CPU my VPS instance has for some reason - likely because VCSServer does some big processing on each commit to get the size, but I can't be sure.</p>
<p>Setting prio to Low because I'm not a paying client.</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 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>