RhodeCode - issues: Issueshttps://issues.rhodecode.com/https://issues.rhodecode.com/favicon.ico?16960560042022-07-06T07:19:07ZRhodeCode - issues
Redmine Documentation - Support #5683 (New): Schemas (Structured Data) Snippetshttps://issues.rhodecode.com/issues/56832022-07-06T07:19:07ZToday Deals
<a name="Schemas"></a>
<h1 >Schemas<a href="#Schemas" class="wiki-anchor">¶</a></h1>
<p>Schema.org is a collaborative, community activity with a mission to create, maintain, and promote schemas for structured data on the Internet, on web pages, in email messages, and beyond.<br>
Founded by Google, Microsoft, Yahoo and Yandex, Schema.org vocabularies are developed by an open community process, using the <a href="mailto:public-schemaorg@w3.org">public-schemaorg@w3.org</a> mailing list and through GitHub.</p>
<a name="Demo"></a>
<h1 >Demo<a href="#Demo" class="wiki-anchor">¶</a></h1>
<p>Page demo: <a href="https://www.todaydeals.org/store/udemy" class="external">https://www.todaydeals.org/store/udemy</a> <br>
Created by the team building <a href="https://www.todaydeals.org" class="external">https://www.todaydeals.org</a> </p>
<a name="Technical-guidelines"></a>
<h1 >Technical guidelines<a href="#Technical-guidelines" class="wiki-anchor">¶</a></h1>
<p>You can test compliance with technical guidelines using the Rich Results Test and the URL Inspection tool, which catch most technical errors.<br>
Format<br>
In order to be eligible for rich results, mark up your site's pages using one of three supported formats:<br>
<br>
JSON-LD (recommended)<br>
Microdata<br>
RDFa</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>
Documentation - Bug #5627 (New): Immediate re-run of rhodecode-index throws warnings on some repo...https://issues.rhodecode.com/issues/56272020-07-02T19:41:22ZRussell Warren
<p>I just ran <code>rhodecode-index</code> for the first time, and it completed successfully. To test how well RhodeCode indexing handles differential additions, I reran the index operation immediately, with no new commits, or any changes to the repos at all.</p>
<p>The second run of <code>rhodecode-index</code> (again, <em>immediately</em> after the first completed) reported several warnings, like the example below:</p>
<pre><code>FETCH [russ/pqml] repository configuration
FETCH [russ/pqml] repository configuration [done in: 0.158s]
**** WARNING ****
indexed commit number 624 is higher that repo `russ/pqml` commit number 587 consider rebuilding index for repo from scratch
**** WARNING ****
SKIP [russ/pqml] No new commits detected, skipping index build
FETCH [russ/pqml] file tree info (@commit_id: rev:tip:`042d3b61`) [243 done in: 1.419s]
FILES [russ/pqml] marked for indexing: 0
FILES [russ/pqml] marked for re-indexing: 0
FILES [russ/pqml] marked for removal: 0
PROCESSED [russ/pqml] 30/70 repo process limit:-1
</code></pre>
<p>This also happened on several other repos. Why would sync be lost immediately?</p>
Documentation - Bug #5625 (New): Feedback on RhodeCode Full-text search docshttps://issues.rhodecode.com/issues/56252020-07-02T19:22:08ZRussell Warren
<p>I ran into a few problems with fill-text search, context being setting up for CE:</p>
<p><strong>1. Docs generally are confusing for CE users (and probably EE), with several references to EE ,making you think fulltext search is not possible with CE</strong></p>
<p><strong>2. Docs indicate that (for CE) you need to install <code>rhodecode-tools</code>, but a functional <code>rhodecode-index</code> is available deep in the installation dir</strong></p>
<p>For example, I ran it successfully from here:</p>
<p><code>/opt/rhodecode/store/8qrsy8va6pmh2ys9jkq69va511dan444-python2.7-rhodecode-tools-1.4.0/bin/rhodecode-index</code></p>
<p>Docs do say that EE has them pre-installed, seemingly at this location:</p>
<p><code>/home/user/.rccontrol/enterprise-1/profile/bin/rhodecode-index</code></p>
<p>Does EE just symlink the applications I found in place?</p>
<p><strong>3. Docs say you can skip the <code>.rhoderc</code> file, but when you try the indicated method, you are told to create one</strong></p>
<p>Here is example output:</p>
<pre><code>$ /opt/rhodecode/store/8qrsy8va6pmh2ys9jkq69va511dan444-python2.7-rhodecode-tools-1.4.0/bin/rhodecode-index --instance-name=community-1 --api-host=http://127.0.0.1:10020 –-api-key=$RC_API_KEY
Usage: rhodecode-index [OPTIONS]
Try "rhodecode-index --help" for help.
Error: Invalid value for "-c" / "--config": File "/home/rhodecode/.rhoderc" does not exist.
You can run rhodecode-setup-config command to create this configuration file.
</code></pre>
<p><strong>4. The doc note that says "<em>Optionally it’s possible to use indexer without the <code>.rhoderc</code></em>" have some minor formatting issues on how to invoke <code>rhodecode-index</code></strong></p>
<p>Specifically, the html rendering is merging the <code>--</code> double-dash in the given switches to <code>rhodecode-index</code> app into a single dash.</p>
Documentation - Bug #5598 (New): Typo in force delete commandhttps://issues.rhodecode.com/issues/55982020-03-19T20:10:07ZJoseph Sible
<p>Running the command at the bottom of <a href="https://docs.rhodecode.com/RhodeCode-Enterprise/admin/repo_admin/repo-admin-tasks.html" class="external">https://docs.rhodecode.com/RhodeCode-Enterprise/admin/repo_admin/repo-admin-tasks.html</a> will fail with the message "No matching instances found to run the iShell." The problem is that it contains a typo: it uses "Enterprise-1" with an uppercase E instead of "enterprise-1" with a lowercase e.</p>
Documentation - Support #5591 (New): documentation typohttps://issues.rhodecode.com/issues/55912020-02-04T19:43:51Zlee loucks
<p>Docs say reds instead of redis</p>
<p><a href="https://docs.rhodecode.com/RhodeCode-Enterprise/admin/tuning-user-sessions-performance.html" class="external">https://docs.rhodecode.com/RhodeCode-Enterprise/admin/tuning-user-sessions-performance.html</a></p>
<blockquote>
<p>To switch to reds-based user sessions uncomment the following section</p>
</blockquote>
Documentation - Bug #5551 (New): Mention LargeFile and LFS in the Backup pagehttps://issues.rhodecode.com/issues/55512019-04-21T20:58:13ZOlivier Renaud
<p>The documentation page "Backup and Restore" should mention where to find the Large File and LFS directories, and how they should be backed up.</p>
Documentation - Support #5529 (New): Documentation does not detail watched repositorieshttps://issues.rhodecode.com/issues/55292019-02-07T00:16:01Zlee loucks
<p>Under My account there is a list of "watched" repositories. The documentation does not discuss how to add or remove repositories from this list or what affect doing so would have.</p>
<p><a href="https://docs.rhodecode.com/RhodeCode-Enterprise/search.html?q=watch&check_keywords=yes&area=default" class="external">https://docs.rhodecode.com/RhodeCode-Enterprise/search.html?q=watch&check_keywords=yes&area=default</a></p>
Documentation - Bug #5439 (New): JIRA Integration description: Wrong sample linkhttps://issues.rhodecode.com/issues/54392018-02-14T14:25:34ZMalte Onnen
<p>The sample link described <a href="https://docs.rhodecode.com/RhodeCode-Enterprise/issue-trackers/issue-trackers.html#jira-integration" class="external">here</a> should rather be <br>
<a href="https://myissueserver.com/browse/${id}" class="external">https://myissueserver.com/browse/${id}</a><br>
than<br>
<a href="https://myissueserver.com/issue/${id}" class="external">https://myissueserver.com/issue/${id}</a></p>
Documentation - Bug #5348 (New): Uninstall documentaion missing some stepshttps://issues.rhodecode.com/issues/53482017-07-04T04:59:04ZPaul Hammant
<p>$ ~/.rccontrol-profile/bin/rccontrol uninstall community-1<br>
$ ~/.rccontrol-profile/bin/rccontrol uninstall vcsserver-1</p>
<p>These are missing:</p>
<p>$ rm -rf ~/.rccontrol.ini <br>
$ rm -rf ~/.rccontrol-profile<br>
$ sudo rm -rf /opt/rhodecode</p>
<p>And maybe rccontrol uninstall could have an --all param</p>
Documentation - Bug #5347 (New): Post Install steps should include Apache or Nginx setup.https://issues.rhodecode.com/issues/53472017-07-04T04:41:38ZPaul Hammant
<p><a href="https://docs.rhodecode.com/RhodeCode-Enterprise/install/install-steps.html" class="external">https://docs.rhodecode.com/RhodeCode-Enterprise/install/install-steps.html</a> only lists </p>
<ul>
<li>Set up Email</li>
<li>Make Database Changes</li>
<li>Install Celery</li>
<li>Migrating repositories</li>
</ul>
<p>Yet web access that isn't localhost is essential for RhodeCode to function.</p>
Documentation - Bug #5248 (New): Installation of rhodecode-toolshttps://issues.rhodecode.com/issues/52482017-03-16T10:29:46ZLeszek Czaplisleszek.czaplis@gemalto.com
<p>Hi Support,</p>
<p>My question reffers to this part of documentation: <a href="https://docs.rhodecode.com/RhodeCode-Enterprise/tools/install-tools.html#installing-rct" class="external">https://docs.rhodecode.com/RhodeCode-Enterprise/tools/install-tools.html#installing-rct</a><br>
I've setup my virtualenv but I cannot find any full url with token on <a href="https://rhodecode.com/u/#rhodecode-tools" class="external">https://rhodecode.com/u/#rhodecode-tools</a></p>
<p>When I tried to download package and install with this command: </p>
<pre><code>pip install -I rhodecode-tools-0.11.0.zip
</code></pre>
<p>I faced this:</p>
<pre><code>vtenv2)
[2017-03-16 10:26.36] ~
[lczaplis.FMZW9G2] ➤ pip install -I rhodecode-tools-0.11.0.zip
Unpacking ./rhodecode-tools-0.11.0.zip
Running setup.py (path:/tmp/pip-3Ebaoy-build/setup.py) egg_info for package from file:///home/mobaxterm/rhodecode-tools-0.11.0.zip
Download error on https://pypi.python.org/simple/pytest-runner/: hostname '10.43.216.8' doesn't match either of 'www.python.org', 'docs.python.org ', 'bugs.python.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'pypi.python.org', 'packaging.python.org', 'login.python.org', 'discuss.p ython.org', 'us.pycon.org', 'pypi.io', 'docs.pypi.io', 'pypi.org', 'docs.pypi.org', 'donate.pypi.org' -- Some packages may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: hostname '10.43.216.8' doesn't match either of 'www.python.org', 'docs.python.org', 'bugs.pytho n.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'pypi.python.org', 'packaging.python.org', 'login.python.org', 'discuss.python.org', 'u s.pycon.org', 'pypi.io', 'docs.pypi.io', 'pypi.org', 'docs.pypi.org', 'donate.pypi.org' -- Some packages may not be found!
No local packages or download links found for pytest-runner
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-3Ebaoy-build/setup.py", line 140, in <module>
'rhodecode-list-instances = rhodecode_tools.commands.list_instances:cmd',
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 260, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 285, in fetch_build_eggs
replace_conflicting=True
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 871, in best_match
return self.obtain(req, installer)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 883, in obtain
return installer(requirement)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 335, in fetch_build_egg
return cmd.easy_install(req)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 589, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
Complete output from command python setup.py egg_info:
Download error on https://pypi.python.org/simple/pytest-runner/: hostname '10.43.216.8' doesn't match either of 'www.python.org', 'docs.python.org ', 'bugs.python.org', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'pypi.python.org', 'packaging.python.org', 'login.python.org', 'discuss.p ython.org', 'us.pycon.org', 'pypi.io', 'docs.pypi.io', 'pypi.org', 'docs.pypi.org', 'donate.pypi.org' -- Some packages may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: hostname '10.43.216.8' doesn't match either of 'www.python.org', 'docs.python.org', 'bugs.python.or g', 'wiki.python.org', 'hg.python.org', 'mail.python.org', 'pypi.python.org', 'packaging.python.org', 'login.python.org', 'discuss.python.org', 'us.py con.org', 'pypi.io', 'docs.pypi.io', 'pypi.org', 'docs.pypi.org', 'donate.pypi.org' -- Some packages may not be found!
No local packages or download links found for pytest-runner
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-3Ebaoy-build/setup.py", line 140, in <module>
'rhodecode-list-instances = rhodecode_tools.commands.list_instances:cmd',
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 260, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 285, in fetch_build_eggs
replace_conflicting=True
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 871, in best_match
return self.obtain(req, installer)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/pkg_resources.py", line 883, in obtain
return installer(requirement)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/dist.py", line 335, in fetch_build_egg
return cmd.easy_install(req)
File "/home/mobaxterm/vtenv2/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 589, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-3Ebaoy-build
Storing debug log for failure in /home/mobaxterm/.pip/pip.log
</code></pre>
<p>Thank you in advance for your help!</p>
<p>Best Regards,<br>
Leszek CZaplis</p>
Documentation - Support #5237 (New): documentation for DRhttps://issues.rhodecode.com/issues/52372017-03-06T14:17:56ZAtos Application Team
<p>We’re preparing a DR test for Rhodecode Application. Application and database are hosted on same VM. As the vlan between production and DR sites are not the same, we will perform a backup/restore.<br>
We’d like to know if Rhodecode application supports IP change in case of backup restore. And what are the necessaries tasks to perform on application layer for such operation (maybe you have some documentation for DR). </p>
Documentation - Task #3093 (New): [API] - update hg/git update pr API. Auto updates PR on pushhttps://issues.rhodecode.com/issues/30932016-01-21T15:30:21ZBrian Butlerbrian@rhodecode.comDocumentation - Task #3092 (New): [RCE, ini] - doc available settings + check tender with Gemalto...https://issues.rhodecode.com/issues/30922016-01-21T15:10:51ZBrian Butlerbrian@rhodecode.com