RhodeCode - issues: Issues
https://issues.rhodecode.com/
https://issues.rhodecode.com/favicon.ico?1696056004
2022-04-20T14:15:36Z
RhodeCode - issues
Redmine
RhodeCode CE/EE - Bug #5680 (New): Inconsistent timezone display
https://issues.rhodecode.com/issues/5680
2022-04-20T14:15:36Z
Emiliano 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 #5645 (New): Rhodecode returns 400 Bad request on huge mercurial repos
https://issues.rhodecode.com/issues/5645
2020-12-04T08:51:11Z
Oleg Schelykalnov
<p>We have a big repository with size over 8500 commits.</p>
<p>First we started to get 400 Bad request on cloning in command cmd=getbundle. I've fixed it with enabling httppostargs as supposed here <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1350285" class="external">https://bugzilla.mozilla.org/show_bug.cgi?id=1350285</a> This changed queries from GET to POST and allowed to clone repo.</p>
<p>Next when Jenkins tried to pull pull-request's repo it continued to fail with the same error on GET query.</p>
<p>I've tried to raise gunicorn limits but it doesn't help also I didn't found where gunicorn writes error log so I could understand why it return 400.</p>
<pre><code>limit_request_line=8190
limit_request_fields=32768
limit_request_field_size=0
</code></pre>
RhodeCode CE/EE - Support #5639 (New): 500 Internal Server Error | The server has either erred .....
https://issues.rhodecode.com/issues/5639
2020-11-22T09:15:32Z
Claude 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 #5636 (Resolved): Remap and Rescan 500 Internal Server Error
https://issues.rhodecode.com/issues/5636
2020-10-29T09:02:15Z
Alex Marchak
<p>Pressing button Remap and Rescan causes 500 with and without "Destroy old data" " Invalidate cache for all repositories" options.</p>
<p>Target repositories directory can be even empty.<br>
With or without changes(new repos added).</p>
<p>OS: Debian 9.9<br>
RHODECODE versions: 4.22.0<br>
RHODECODE license: CE</p>
<p>Exception log:</p>
<pre><code>Exception `TypeError` generated on UTC date: 2020-10-29T07:47:10.580519
Request: POST http://xxx.xxx.xxx.xxx/_admin/settings/mapping/update
yyy.yyy.yyy.yyy Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36
Traceback (most recent call last):
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween
response = handler(request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/router.py", line 148, in handle_request
registry, request, context, context_iface, view_name
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/view.py", line 667, in _call_view
response = view_callable(context, request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py", line 188, in attr_view
return view(context, request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py", line 214, in predicate_wrapper
return view(context, request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 436, in rendered_view
result = view(context, request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 132, in _class_view
response = getattr(inst, attr)()
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 2507, in local_wrapper
return wrapper(func, *args, **kwds)
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1823, in __wrapper
return func(*fargs, **fkwargs)
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 2507, in local_wrapper
return wrapper(func, *args, **kwds)
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1897, in __wrapper
return func(*fargs, **fkwargs)
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 2507, in local_wrapper
return wrapper(func, *args, **kwds)
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1716, in __wrapper
return func(*fargs, **fkwargs)
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/apps/admin/views/settings.py", line 266, in settings_mapping_update
PermissionModel().trigger_permission_flush()
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/model/permission.py", line 582, in trigger_permission_flush
events.trigger(events.UserPermissionsChange(affected_user_ids))
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/events/__init__.py", line 38, in trigger
registry.notify(event)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/registry.py", line 109, in notify
[_ for _ in self.subscribers(events, None)]
File "/opt/rhodecode/store/x5ng3z8k1rbbxk56dqsa9ri450ka0c4h-python2.7-zope.interface-4.6.0/lib/python2.7/site-packages/zope/interface/registry.py", line 442, in subscribers
return self.adapters.subscribers(objects, provided)
File "/opt/rhodecode/store/x5ng3z8k1rbbxk56dqsa9ri450ka0c4h-python2.7-zope.interface-4.6.0/lib/python2.7/site-packages/zope/interface/adapter.py", line 607, in subscribers
subscription(*objects)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/adapters.py", line 101, in derived_subscriber
return subscriber(arg[0])
File "/opt/rhodecode/store/cnpzq6z5xjxzxw2m3d1cfb5yhpazscn5-python2.7-rhodecode-enterprise-ce-4.22.0/lib/python2.7/site-packages/rhodecode/apps/_base/subscribers.py", line 45, in trigger_user_permission_flush
affected_user_ids = set(event.user_ids)
TypeError: 'NoneType' object is not iterable
</code></pre>
RhodeCode CE/EE - Bug #5622 (Resolved): Upgrade from 4.18.3 to 4.19.3 broke all PRs
https://issues.rhodecode.com/issues/5622
2020-06-15T20:58:24Z
Sebastian Elsner
<p>After the upgrade I get a Server Error 500 and basically identical tracebacks looking like this. I revered the container back afterwards.</p>
<pre><code>
Exceptions Tracker - Exception ID: 139841427643760
Exception `CommitDoesNotExistError` generated on UTC date: 2020-06-15T18:42:16.671343
Request: GET http://rhodecodekit.rise:10020/libpython/pull-request/448
10.30.11.1 Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0
Traceback (most recent call last):
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween
response = handler(request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/router.py", line 148, in handle_request
registry, request, context, context_iface, view_name
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/view.py", line 667, in _call_view
response = view_callable(context, request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py", line 188, in attr_view
return view(context, request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/config/views.py", line 214, in predicate_wrapper
return view(context, request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 436, in rendered_view
result = view(context, request)
File "/opt/rhodecode/store/da2il1f83gci4333j0sd256nji9nlhpa-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/viewderivers.py", line 132, in _class_view
response = getattr(inst, attr)()
File "/opt/rhodecode/store/avpzwi69pbzni741f4hwp8isizcm8m8g-python2.7-rhodecode-enterprise-ce-4.19.3/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 2498, in local_wrapper
return wrapper(func, *args, **kwds)
File "/opt/rhodecode/store/avpzwi69pbzni741f4hwp8isizcm8m8g-python2.7-rhodecode-enterprise-ce-4.19.3/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1814, in __wrapper
return func(*fargs, **fkwargs)
File "/opt/rhodecode/store/avpzwi69pbzni741f4hwp8isizcm8m8g-python2.7-rhodecode-enterprise-ce-4.19.3/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 2498, in local_wrapper
return wrapper(func, *args, **kwds)
File "/opt/rhodecode/store/avpzwi69pbzni741f4hwp8isizcm8m8g-python2.7-rhodecode-enterprise-ce-4.19.3/lib/python2.7/site-packages/rhodecode/lib/auth.py", line 1888, in __wrapper
return func(*fargs, **fkwargs)
File "/opt/rhodecode/store/avpzwi69pbzni741f4hwp8isizcm8m8g-python2.7-rhodecode-enterprise-ce-4.19.3/lib/python2.7/site-packages/rhodecode/apps/repository/views/repo_pull_requests.py", line 605, in pull_request_show
hide_whitespace_changes, diff_context)
File "/opt/rhodecode/store/avpzwi69pbzni741f4hwp8isizcm8m8g-python2.7-rhodecode-enterprise-ce-4.19.3/lib/python2.7/site-packages/rhodecode/apps/repository/views/repo_pull_requests.py", line 221, in _get_diffset
hide_whitespace_changes, diff_context)
File "/opt/rhodecode/store/avpzwi69pbzni741f4hwp8isizcm8m8g-python2.7-rhodecode-enterprise-ce-4.19.3/lib/python2.7/site-packages/rhodecode/model/pull_request.py", line 1787, in get_diff
hide_whitespace_changes=hide_whitespace_changes, diff_context=diff_context)
File "/opt/rhodecode/store/avpzwi69pbzni741f4hwp8isizcm8m8g-python2.7-rhodecode-enterprise-ce-4.19.3/lib/python2.7/site-packages/rhodecode/model/pull_request.py", line 1794, in _get_diff_from_pr_or_version
commit_id=safe_str(target_ref_id))
File "/opt/rhodecode/store/avpzwi69pbzni741f4hwp8isizcm8m8g-python2.7-rhodecode-enterprise-ce-4.19.3/lib/python2.7/site-packages/rhodecode/lib/vcs/backends/hg/repository.py", line 478, in get_commit
raise CommitDoesNotExistError(msg)
CommitDoesNotExistError: Commit 8df8c32ad7d2581f630729f8e7f4d7df7e979863 does not exist for `.__shadow_repo_2_pr-448`
</code></pre>
RhodeCode CE/EE - Bug #5621 (Resolved): LDAP + User Groups authentication plugin not working afte...
https://issues.rhodecode.com/issues/5621
2020-06-15T05:42:55Z
Michael 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 #5567 (Resolved): Error after PR was updated
https://issues.rhodecode.com/issues/5567
2019-09-19T16:59:13Z
Sebastian Elsner
<p>RhodeCode CE 4.17.3, hg repository</p>
<p>I had a PR of a hg branch targeting "default". finished work on it, merged into default, closed the branch, updated the PR commit range and got the following error:</p>
<pre><code class="python syntaxhl" data-language="python"><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/p3adn3yl7ni8wg3d1556z2wrqw1mfbxb-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/p3adn3yl7ni8wg3d1556z2wrqw1mfbxb-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/p3adn3yl7ni8wg3d1556z2wrqw1mfbxb-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/p3adn3yl7ni8wg3d1556z2wrqw1mfbxb-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/p3adn3yl7ni8wg3d1556z2wrqw1mfbxb-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/p3adn3yl7ni8wg3d1556z2wrqw1mfbxb-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">460</span><span class="p">,</span> <span class="ow">in</span> <span class="n">rendered_view</span>
<span class="n">request</span><span class="p">,</span> <span class="n">result</span><span class="p">,</span> <span class="n">view_inst</span><span class="p">,</span> <span class="n">context</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/p3adn3yl7ni8wg3d1556z2wrqw1mfbxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/renderers.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">451</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_view</span>
<span class="k">return</span> <span class="bp">self</span><span class="p">.</span><span class="n">render_to_response</span><span class="p">(</span><span class="n">response</span><span class="p">,</span> <span class="n">system</span><span class="p">,</span> <span class="n">request</span><span class="o">=</span><span class="n">request</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/p3adn3yl7ni8wg3d1556z2wrqw1mfbxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/renderers.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">474</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_to_response</span>
<span class="n">result</span> <span class="o">=</span> <span class="bp">self</span><span class="p">.</span><span class="n">render</span><span class="p">(</span><span class="n">value</span><span class="p">,</span> <span class="n">system_values</span><span class="p">,</span> <span class="n">request</span><span class="o">=</span><span class="n">request</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/p3adn3yl7ni8wg3d1556z2wrqw1mfbxb-python2.7-pyramid-1.10.4/lib/python2.7/site-packages/pyramid/renderers.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">470</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render</span>
<span class="n">result</span> <span class="o">=</span> <span class="n">renderer</span><span class="p">(</span><span class="n">value</span><span class="p">,</span> <span class="n">system_values</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/cpi0ypxgs1d17grz8yhdx68d0agkx8zx-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/__init__.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">156</span><span class="p">,</span> <span class="ow">in</span> <span class="n">__call__</span>
<span class="n">reraise</span><span class="p">(</span><span class="n">MakoRenderingException</span><span class="p">(</span><span class="n">errtext</span><span class="p">),</span> <span class="bp">None</span><span class="p">,</span> <span class="n">exc_info</span><span class="p">[</span><span class="mi">2</span><span class="p">])</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/cpi0ypxgs1d17grz8yhdx68d0agkx8zx-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/__init__.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">__call__</span>
<span class="n">result</span> <span class="o">=</span> <span class="n">template</span><span class="p">.</span><span class="n">render_unicode</span><span class="p">(</span><span class="o">**</span><span class="n">system</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/nzp9vgf0x4h9z8djvgi6zm9y486klwq0-python2.7-mako-1.0.7/lib/python2.7/site-packages/mako/template.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">471</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_unicode</span>
<span class="n">as_unicode</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/nzp9vgf0x4h9z8djvgi6zm9y486klwq0-python2.7-mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">838</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_render</span>
<span class="o">**</span><span class="n">_kwargs_for_callable</span><span class="p">(</span><span class="n">callable_</span><span class="p">,</span> <span class="n">data</span><span class="p">))</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/nzp9vgf0x4h9z8djvgi6zm9y486klwq0-python2.7-mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">873</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_render_context</span>
<span class="n">_exec_template</span><span class="p">(</span><span class="n">inherit</span><span class="p">,</span> <span class="n">lclcontext</span><span class="p">,</span> <span class="n">args</span><span class="o">=</span><span class="n">args</span><span class="p">,</span> <span class="n">kwargs</span><span class="o">=</span><span class="n">kwargs</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/nzp9vgf0x4h9z8djvgi6zm9y486klwq0-python2.7-mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">899</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_exec_template</span>
<span class="n">callable_</span><span class="p">(</span><span class="n">context</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">kwargs</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"_base_root_mako"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">108</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_body</span>
<span class="n">File</span> <span class="s">"_base_base_mako"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">58</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_body</span>
<span class="n">File</span> <span class="s">"rhodecode_templates_pullrequests_pullrequest_show_mako"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">598</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_main</span>
<span class="n">File</span> <span class="s">"_codeblocks_diffs_mako"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">823</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_render_diffset</span>
<span class="n">MakoRenderingException</span><span class="p">:</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/cpi0ypxgs1d17grz8yhdx68d0agkx8zx-python2.7-pyramid-mako-1.0.2/lib/python2.7/site-packages/pyramid_mako/__init__.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">__call__</span>
<span class="n">result</span> <span class="o">=</span> <span class="n">template</span><span class="p">.</span><span class="n">render_unicode</span><span class="p">(</span><span class="o">**</span><span class="n">system</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/nzp9vgf0x4h9z8djvgi6zm9y486klwq0-python2.7-mako-1.0.7/lib/python2.7/site-packages/mako/template.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">471</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_unicode</span>
<span class="n">as_unicode</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/nzp9vgf0x4h9z8djvgi6zm9y486klwq0-python2.7-mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">838</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_render</span>
<span class="o">**</span><span class="n">_kwargs_for_callable</span><span class="p">(</span><span class="n">callable_</span><span class="p">,</span> <span class="n">data</span><span class="p">))</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/nzp9vgf0x4h9z8djvgi6zm9y486klwq0-python2.7-mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">873</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_render_context</span>
<span class="n">_exec_template</span><span class="p">(</span><span class="n">inherit</span><span class="p">,</span> <span class="n">lclcontext</span><span class="p">,</span> <span class="n">args</span><span class="o">=</span><span class="n">args</span><span class="p">,</span> <span class="n">kwargs</span><span class="o">=</span><span class="n">kwargs</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/nzp9vgf0x4h9z8djvgi6zm9y486klwq0-python2.7-mako-1.0.7/lib/python2.7/site-packages/mako/runtime.py"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">899</span><span class="p">,</span> <span class="ow">in</span> <span class="n">_exec_template</span>
<span class="n">callable_</span><span class="p">(</span><span class="n">context</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">kwargs</span><span class="p">)</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/wrn4w4gzarahd4k877nxa8cz1a5ifz91-python2.7-rhodecode-enterprise-ce-4.17.3/lib/python2.7/site-packages/rhodecode/templates/base/root.mako"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">153</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_body</span>
<span class="err">$</span><span class="p">{</span><span class="nb">next</span><span class="p">.</span><span class="n">body</span><span class="p">()}</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/wrn4w4gzarahd4k877nxa8cz1a5ifz91-python2.7-rhodecode-enterprise-ce-4.17.3/lib/python2.7/site-packages/rhodecode/templates/base/base.mako"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">34</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_body</span>
<span class="err">$</span><span class="p">{</span><span class="nb">next</span><span class="p">.</span><span class="n">main</span><span class="p">()}</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/wrn4w4gzarahd4k877nxa8cz1a5ifz91-python2.7-rhodecode-enterprise-ce-4.17.3/lib/python2.7/site-packages/rhodecode/templates/pullrequests/pullrequest_show.mako"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">551</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_main</span>
<span class="err">$</span><span class="p">{</span><span class="n">cbdiffs</span><span class="p">.</span><span class="n">render_diffset</span><span class="p">(</span>
<span class="n">File</span> <span class="s">"/opt/rhodecode/store/wrn4w4gzarahd4k877nxa8cz1a5ifz91-python2.7-rhodecode-enterprise-ce-4.17.3/lib/python2.7/site-packages/rhodecode/templates/codeblocks/diffs.mako"</span><span class="p">,</span> <span class="n">line</span> <span class="mi">296</span><span class="p">,</span> <span class="ow">in</span> <span class="n">render_render_diffset</span>
<span class="o"><</span><span class="n">div</span> <span class="n">class</span><span class="o">=</span><span class="s">"filediff"</span> <span class="n">data</span><span class="o">-</span><span class="n">f</span><span class="o">-</span><span class="n">path</span><span class="o">=</span><span class="s">"${filename}"</span> <span class="nb">id</span><span class="o">=</span><span class="s">"a_${h.FID(filediff.raw_id, filename)}"</span><span class="o">></span>
<span class="nb">UnboundLocalError</span><span class="p">:</span> <span class="n">local</span> <span class="n">variable</span> <span class="s">'filediff'</span> <span class="n">referenced</span> <span class="n">before</span> <span class="n">assignment</span>
</code></pre>
RhodeCode CE/EE - Bug #5560 (Resolved): Check all permission API function to flush caches for aut...
https://issues.rhodecode.com/issues/5560
2019-07-29T10:38:29Z
Marcin Kuzminski [CTO]
marcin@rhodecode.com
<p><em>This is a public ticket for support submission</em></p>
<p>We've got a potential problem of cache invalidation for API calls around modifying permissions of user groups. <br>
We have to check and verify we fetch all users from user groups and invalidate they permission caches.</p>
RhodeCode CE/EE - Bug #5517 (Resolved): Problem with upgrading to Community-4.15
https://issues.rhodecode.com/issues/5517
2018-12-11T03:56:46Z
Leonardo 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 - Bug #5513 (Resolved): Gist: GitHub flavoured markdown gist creation fails
https://issues.rhodecode.com/issues/5513
2018-11-12T18:46:08Z
Arun Chandrasekaran
<p><img src="https://i.imgur.com/D1XupwN.gif" alt="" /></p>
RhodeCode CE/EE - Bug #5510 (New): AssertionError: unexpected parameters: user_agent & hook_type
https://issues.rhodecode.com/issues/5510
2018-11-05T13:02:17Z
Peter Colledge
<p>Most vcsserver actions result in exceptions after upgrade to 4.14.0. Rolled back to 4.13.2.</p>
<p>Eg:</p>
<pre><code>Traceback (most recent call last):
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/router.py", line 276, in default_execution_policy
return router.invoke_request(request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/router.py", line 249, in invoke_request
response = handle_request(request)
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/tweens.py", line 45, in __call__
response = self.handler(request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/tweens.py", line 41, in excview_tween
response = _error_handler(request, exc)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/tweens.py", line 12, in _error_handler
response = request.invoke_exception_view(exc_info)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/view.py", line 744, in invoke_exception_view
request_iface=request_iface.combined,
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/view.py", line 642, in _call_view
response = view_callable(context, request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/viewderivers.py", line 410, in viewresult_to_response
result = view(context, request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/viewderivers.py", line 107, in mapped_view
return _mapped_view(context, request)
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/http_main.py", line 577, in handle_vcs_exception
raise exception
Exception: Got remote exception "AssertionError" with args "["Missing parameters: set([]), unexpected parameters: set(['user_agent', 'hook_type'])"]"
</code></pre><pre><code>Traceback (most recent call last):
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/tweens.py", line 39, in excview_tween
response = handler(request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/router.py", line 156, in handle_request
view_name
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/view.py", line 642, in _call_view
response = view_callable(context, request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/viewderivers.py", line 410, in viewresult_to_response
result = view(context, request)
File "/opt/rhodecode/store/vipsx3nr7395jq0s9qrk1lhzalyg6nna-python2.7-pyramid-1.9.2/lib/python2.7/site-packages/pyramid/wsgi.py", line 37, in decorator
return request.get_response(wrapped)
File "/opt/rhodecode/store/rwjyfikqcf3lbm6gppji4q36fdh83dll-python2.7-webob-1.7.4/lib/python2.7/site-packages/webob/request.py", line 1327, in send
application, catch_exc_info=False)
File "/opt/rhodecode/store/rwjyfikqcf3lbm6gppji4q36fdh83dll-python2.7-webob-1.7.4/lib/python2.7/site-packages/webob/request.py", line 1291, in call_application
app_iter = application(self.environ, start_response)
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/http_main.py", line 492, in _hg_stream
return app(environ, ResponseFilter(start_response))
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/scm_app.py", line 84, in __call__
data = gen.next()
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py", line 308, in run_wsgi
for r in self._runwsgi(req, res, repo):
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/scm_app.py", line 106, in _runwsgi
return super(HgWeb, self)._runwsgi(req, res, repo)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hgweb/hgweb_mod.py", line 334, in _runwsgi
rctx, req, res, self.check_perm)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/wireprotoserver.py", line 224, in handlewsgirequest
_callhttp(repo, req, res, proto, cmd)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/wireprotoserver.py", line 439, in _callhttp
rsp = wireprotov1server.dispatch(repo, proto, cmd)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/wireprotov1server.py", line 75, in dispatch
return func(repo, proto, *args)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/wireprotov1server.py", line 593, in unbundle
proto.client())
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/exchange.py", line 2138, in unbundle
op = bundle2.processbundle(repo, cg, op=op)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 460, in processbundle
processparts(repo, op, unbundler)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 467, in processparts
_processpart(op, part)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 534, in _processpart
handler(op, part)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 1804, in handlechangegroup
expectedtotal=nbchangesets, **extrakwargs)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/bundle2.py", line 470, in _processchangegroup
ret = cg.apply(op.repo, tr, source, url, **kwargs)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/changegroup.py", line 285, in apply
throw=True, **pycompat.strkwargs(tr.hookargs))
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/localrepo.py", line 922, in hook
return hook.hook(self.ui, self, name, throw, **args)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hook.py", line 210, in hook
res = runhooks(ui, repo, htype, hooks, throw=throw, **args)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hook.py", line 262, in runhooks
throw)
File "/opt/rhodecode/store/bhipby53csk71p07gsmi6q3p89qn6am3-python2.7-mercurial-4.6.2/lib/python2.7/site-packages/mercurial/hook.py", line 98, in _pythonhook
r = obj(ui=ui, repo=repo, hooktype=htype, **pycompat.strkwargs(args))
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/hooks.py", line 308, in pre_push
return _call_hook('pre_push', extras, HgMessageWriter(ui))
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/hooks.py", line 147, in _call_hook
_handle_exception(result)
File "/opt/rhodecode/store/cw4j97nfzhx1ldcqnpv94yllqmvmfpsh-python2.7-rhodecode-vcsserver-4.14.0/lib/python2.7/site-packages/vcsserver/hooks.py", line 130, in _handle_exception
(exception_class, result['exception_args']))
Exception: Got remote exception "AssertionError" with args "["Missing parameters: set([]), unexpected parameters: set(['user_agent', 'hook_type'])"]"
</code></pre>
RhodeCode CE/EE - Support #5491 (New): Upgrade RhodeCode Community + VCSSERVER from 4.10.4 to 4.1...
https://issues.rhodecode.com/issues/5491
2018-07-18T23:39:12Z
Igor 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 problem
https://issues.rhodecode.com/issues/5434
2018-02-02T14:55:03Z
Nikolay Yankin
<p>Same problem as described here <a href="https://issues.rhodecode.com/issues/5297" class="external">https://issues.rhodecode.com/issues/5297</a> on Gentoo x64</p>
<p>Problem was appeared after upgrading from 4.9.1 to 4.11.1 (4.10.6 also affected)</p>
RhodeCode CE/EE - Bug #5399 (In Progress): Issues with Git LFS integration
https://issues.rhodecode.com/issues/5399
2017-10-26T23:07:10Z
Lyndsi Hughes
<p>We have recently enabled the Git LFS feature in RhodeCode, but we are having problems getting it working.<br>
This may be a client issue, but I'm curious if you've ever seen this before. We run RhodeCode behind Nginx.<br>
We are running RhodeCode 4.9.0 and git 1.8.3.1 on RHEL 6.</p>
<p>Here is the output when we attempt to use git-lfs to push a file:<br>
$ GIT_TRACE=1 git lfs push origin master<br>
trace: exec: 'git-lfs' 'push' 'origin' 'master'<br>
trace: run_command: 'git-lfs' 'push' 'origin' 'master'<br>
16:42:38.036384 trace git-lfs: run_command: 'git' version<br>
16:42:38.046224 trace git-lfs: run_command: 'git' config -l<br>
16:42:38.050043 trace git-lfs: tq: running as batched queue, batch size of 100<br>
16:42:38.050093 trace git-lfs: Upload refs [master] to remote origin<br>
16:42:39.054944 trace git-lfs: run_command: git rev-list --objects master --not --remotes=origin --<br>
16:42:39.060222 trace git-lfs: run_command: git cat-file --batch<br>
16:42:39.062265 trace git-lfs: tq: sending batch of size 1<br>
16:42:39.062534 trace git-lfs: api: batch 1 files<br>
16:42:39.113381 trace git-lfs: HTTP: POST <a href="https://username@server.example.com/game-of-life.git/info/lfs/objects/batch" class="external">https://username@server.example.com/game-of-life.git/info/lfs/objects/batch</a><br>
16:42:39.846223 trace git-lfs: HTTP: 200<br>
16:42:39.850511 trace git-lfs: HTTP: {"transfer": "basic", "objects": [{"oid": "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", "size": 1048576, "authenticated": true, "actions": {"upload": {"header": {"Authorization": "Basic bGFodWdoZXM6", "Transfer-Encoding": "chunked"}, "href": "<a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"</a>}, "verify": {"header": {"Authorization": "Basic bGFodWdoZXM6"}, "href": "<a href="http://server.example.com/game" class="external">http://server.example.com/game</a><br>
16:42:39.850669 trace git-lfs: HTTP: -of-life.git/info/lfs/verify"}}}]}<br>
16:42:39.850798 trace git-lfs: tq: starting transfer adapter "basic"<br>
Git LFS: (0 of 1 files) 0 B / 1024.00 KB<br><br>
16:42:39.851141 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:39.857225 trace git-lfs: HTTP: 301<br>
16:42:39.857257 trace git-lfs: api: redirect PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a> to <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:39.857267 trace git-lfs: HTTP: PUT <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:39.857532 trace git-lfs: tq: retrying object 30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: LFS: Put <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:</a> read /home/username/game-of-life/.git/lfs/objects/30/e1/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: file already closed<br>
16:42:39.857558 trace git-lfs: tq: enqueue retry #1 for "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" (size: 1048576)<br>
16:42:39.857587 trace git-lfs: tq: sending batch of size 1<br>
16:42:39.857659 trace git-lfs: api: batch 1 files<br>
16:42:39.857746 trace git-lfs: HTTP: POST <a href="https://username@server.example.com/game-of-life.git/info/lfs/objects/batch" class="external">https://username@server.example.com/game-of-life.git/info/lfs/objects/batch</a><br>
16:42:40.487590 trace git-lfs: HTTP: 200<br>
16:42:40.490088 trace git-lfs: HTTP: {"transfer": "basic", "objects": [{"oid": "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", "size": 1048576, "authenticated": true, "actions": {"upload": {"header": {"Authorization": "Basic bGFodWdoZXM6", "Transfer-Encoding": "chunked"}, "href": "<a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"</a>}, "verify": {"header": {"Authorization": "Basic bGFodWdoZXM6"}, "href": "<a href="http://server.example.com/game" class="external">http://server.example.com/game</a><br>
16:42:40.490339 trace git-lfs: HTTP: -of-life.git/info/lfs/verify"}}}]}<br>
16:42:40.490679 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
Git LFS: (0 of 1 files) 96.00 KB / 1024.00 KB<br><br>
16:42:40.496941 trace git-lfs: HTTP: 301<br>
16:42:40.496977 trace git-lfs: api: redirect PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a> to <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:40.497007 trace git-lfs: HTTP: PUT <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:40.497149 trace git-lfs: tq: retrying object 30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: LFS: Put <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:</a> read /home/username/game-of-life/.git/lfs/objects/30/e1/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: file already closed<br>
16:42:40.497184 trace git-lfs: tq: enqueue retry #2 for "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" (size: 1048576)<br>
16:42:40.497215 trace git-lfs: tq: sending batch of size 1<br>
16:42:40.497321 trace git-lfs: api: batch 1 files<br>
16:42:40.497404 trace git-lfs: HTTP: POST <a href="https://username@server.example.com/game-of-life.git/info/lfs/objects/batch" class="external">https://username@server.example.com/game-of-life.git/info/lfs/objects/batch</a><br>
16:42:41.137811 trace git-lfs: HTTP: 200<br>
16:42:41.140226 trace git-lfs: HTTP: {"transfer": "basic", "objects": [{"oid": "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", "size": 1048576, "authenticated": true, "actions": {"upload": {"header": {"Authorization": "Basic bGFodWdoZXM6", "Transfer-Encoding": "chunked"}, "href": "<a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"</a>}, "verify": {"header": {"Authorization": "Basic bGFodWdoZXM6"}, "href": "<a href="http://server.example.com/game" class="external">http://server.example.com/game</a><br>
16:42:41.140636 trace git-lfs: HTTP: -of-life.git/info/lfs/verify"}}}]}<br>
Git LFS: (0 of 1 files) 160.00 KB / 1024.00 KB<br><br>
16:42:41.142918 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:41.149051 trace git-lfs: HTTP: 301<br>
16:42:41.149083 trace git-lfs: api: redirect PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a> to <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:41.149113 trace git-lfs: HTTP: PUT <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:41.149239 trace git-lfs: tq: retrying object 30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: LFS: Put <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:</a> read /home/username/game-of-life/.git/lfs/objects/30/e1/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: file already closed<br>
16:42:41.149264 trace git-lfs: tq: enqueue retry #3 for "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" (size: 1048576)<br>
16:42:41.149289 trace git-lfs: tq: sending batch of size 1<br>
16:42:41.149368 trace git-lfs: api: batch 1 files<br>
16:42:41.149450 trace git-lfs: HTTP: POST <a href="https://username@server.example.com/game-of-life.git/info/lfs/objects/batch" class="external">https://username@server.example.com/game-of-life.git/info/lfs/objects/batch</a><br>
16:42:41.706401 trace git-lfs: HTTP: 200<br>
16:42:41.709235 trace git-lfs: HTTP: {"transfer": "basic", "objects": [{"oid": "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", "size": 1048576, "authenticated": true, "actions": {"upload": {"header": {"Authorization": "Basic bGFodWdoZXM6", "Transfer-Encoding": "chunked"}, "href": "<a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"</a>}, "verify": {"header": {"Authorization": "Basic bGFodWdoZXM6"}, "href": "<a href="http://server.example.com/game" class="external">http://server.example.com/game</a><br>
16:42:41.709513 trace git-lfs: HTTP: -of-life.git/info/lfs/verify"}}}]}<br>
16:42:41.709949 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
Git LFS: (0 of 1 files) 416.00 KB / 1024.00 KB<br><br>
16:42:41.714517 trace git-lfs: HTTP: 301<br>
16:42:41.714555 trace git-lfs: api: redirect PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a> to <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:41.714565 trace git-lfs: HTTP: PUT <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:41.714709 trace git-lfs: tq: retrying object 30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: LFS: Put <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:</a> read /home/username/game-of-life/.git/lfs/objects/30/e1/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: file already closed<br>
16:42:41.714734 trace git-lfs: tq: enqueue retry #4 for "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" (size: 1048576)<br>
16:42:41.714762 trace git-lfs: tq: sending batch of size 1<br>
16:42:41.714844 trace git-lfs: api: batch 1 files<br>
16:42:41.714938 trace git-lfs: HTTP: POST <a href="https://username@server.example.com/game-of-life.git/info/lfs/objects/batch" class="external">https://username@server.example.com/game-of-life.git/info/lfs/objects/batch</a><br>
16:42:42.180936 trace git-lfs: HTTP: 200<br>
16:42:42.183428 trace git-lfs: HTTP: {"transfer": "basic", "objects": [{"oid": "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", "size": 1048576, "authenticated": true, "actions": {"upload": {"header": {"Authorization": "Basic bGFodWdoZXM6", "Transfer-Encoding": "chunked"}, "href": "<a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"</a>}, "verify": {"header": {"Authorization": "Basic bGFodWdoZXM6"}, "href": "<a href="http://server.example.com/game" class="external">http://server.example.com/game</a><br>
16:42:42.183707 trace git-lfs: HTTP: -of-life.git/info/lfs/verify"}}}]}<br>
16:42:42.183952 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
Git LFS: (0 of 1 files) 480.00 KB / 1024.00 KB<br><br>
16:42:42.189689 trace git-lfs: HTTP: 301<br>
16:42:42.189734 trace git-lfs: api: redirect PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a> to <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:42.189744 trace git-lfs: HTTP: PUT <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:42.189953 trace git-lfs: tq: retrying object 30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: LFS: Put <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:</a> read /home/username/game-of-life/.git/lfs/objects/30/e1/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: file already closed<br>
16:42:42.189985 trace git-lfs: tq: enqueue retry #5 for "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" (size: 1048576)<br>
16:42:42.190012 trace git-lfs: tq: sending batch of size 1<br>
16:42:42.190106 trace git-lfs: api: batch 1 files<br>
16:42:42.190188 trace git-lfs: HTTP: POST <a href="https://username@server.example.com/game-of-life.git/info/lfs/objects/batch" class="external">https://username@server.example.com/game-of-life.git/info/lfs/objects/batch</a><br>
16:42:42.655481 trace git-lfs: HTTP: 200<br>
16:42:42.659439 trace git-lfs: HTTP: {"transfer": "basic", "objects": [{"oid": "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", "size": 1048576, "authenticated": true, "actions": {"upload": {"header": {"Authorization": "Basic bGFodWdoZXM6", "Transfer-Encoding": "chunked"}, "href": "<a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"</a>}, "verify": {"header": {"Authorization": "Basic bGFodWdoZXM6"}, "href": "<a href="http://server.example.com/game" class="external">http://server.example.com/game</a><br>
16:42:42.659521 trace git-lfs: HTTP: -of-life.git/info/lfs/verify"}}}]}<br>
16:42:42.659801 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
Git LFS: (0 of 1 files) 704.00 KB / 1024.00 KB<br><br>
16:42:42.676028 trace git-lfs: HTTP: 301<br>
16:42:42.676084 trace git-lfs: api: redirect PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a> to <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:42.676100 trace git-lfs: HTTP: PUT <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:42.676299 trace git-lfs: tq: retrying object 30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: LFS: Put <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:</a> read /home/username/game-of-life/.git/lfs/objects/30/e1/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: file already closed<br>
16:42:42.676329 trace git-lfs: tq: enqueue retry #6 for "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" (size: 1048576)<br>
16:42:42.676355 trace git-lfs: tq: sending batch of size 1<br>
16:42:42.676421 trace git-lfs: api: batch 1 files<br>
16:42:42.676533 trace git-lfs: HTTP: POST <a href="https://username@server.example.com/game-of-life.git/info/lfs/objects/batch" class="external">https://username@server.example.com/game-of-life.git/info/lfs/objects/batch</a><br>
16:42:43.355280 trace git-lfs: HTTP: 200<br>
16:42:43.358107 trace git-lfs: HTTP: {"transfer": "basic", "objects": [{"oid": "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", "size": 1048576, "authenticated": true, "actions": {"upload": {"header": {"Authorization": "Basic bGFodWdoZXM6", "Transfer-Encoding": "chunked"}, "href": "<a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"</a>}, "verify": {"header": {"Authorization": "Basic bGFodWdoZXM6"}, "href": "<a href="http://server.example.com/game" class="external">http://server.example.com/game</a><br>
16:42:43.358636 trace git-lfs: HTTP: -of-life.git/info/lfs/verify"}}}]}<br>
16:42:43.359125 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
Git LFS: (0 of 1 files) 1.16 MB / 1024.00 KB<br><br>
16:42:43.366469 trace git-lfs: HTTP: 301<br>
16:42:43.366501 trace git-lfs: api: redirect PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a> to <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:43.366510 trace git-lfs: HTTP: PUT <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:43.366648 trace git-lfs: tq: retrying object 30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: LFS: Put <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:</a> read /home/username/game-of-life/.git/lfs/objects/30/e1/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: file already closed<br>
16:42:43.366711 trace git-lfs: tq: enqueue retry #7 for "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" (size: 1048576)<br>
16:42:43.366739 trace git-lfs: tq: sending batch of size 1<br>
16:42:43.366806 trace git-lfs: api: batch 1 files<br>
16:42:43.366882 trace git-lfs: HTTP: POST <a href="https://username@server.example.com/game-of-life.git/info/lfs/objects/batch" class="external">https://username@server.example.com/game-of-life.git/info/lfs/objects/batch</a><br>
16:42:43.971651 trace git-lfs: HTTP: 200<br>
16:42:43.974222 trace git-lfs: HTTP: {"transfer": "basic", "objects": [{"oid": "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", "size": 1048576, "authenticated": true, "actions": {"upload": {"header": {"Authorization": "Basic bGFodWdoZXM6", "Transfer-Encoding": "chunked"}, "href": "<a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"</a>}, "verify": {"header": {"Authorization": "Basic bGFodWdoZXM6"}, "href": "<a href="http://server.example.com/game" class="external">http://server.example.com/game</a><br>
16:42:43.974333 trace git-lfs: HTTP: -of-life.git/info/lfs/verify"}}}]}<br>
16:42:43.974566 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
Git LFS: (0 of 1 files) 1.47 MB / 1024.00 KB<br><br>
16:42:43.979574 trace git-lfs: HTTP: 301<br>
16:42:43.979608 trace git-lfs: api: redirect PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a> to <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:43.979618 trace git-lfs: HTTP: PUT <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:43.979848 trace git-lfs: tq: retrying object 30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: LFS: Put <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:</a> read /home/username/game-of-life/.git/lfs/objects/30/e1/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: file already closed<br>
16:42:43.979878 trace git-lfs: tq: enqueue retry #8 for "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" (size: 1048576)<br>
16:42:43.979906 trace git-lfs: tq: sending batch of size 1<br>
16:42:43.979970 trace git-lfs: api: batch 1 files<br>
16:42:43.980048 trace git-lfs: HTTP: POST <a href="https://username@server.example.com/game-of-life.git/info/lfs/objects/batch" class="external">https://username@server.example.com/game-of-life.git/info/lfs/objects/batch</a><br>
16:42:44.622013 trace git-lfs: HTTP: 200<br>
16:42:44.624631 trace git-lfs: HTTP: {"transfer": "basic", "objects": [{"oid": "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", "size": 1048576, "authenticated": true, "actions": {"upload": {"header": {"Authorization": "Basic bGFodWdoZXM6", "Transfer-Encoding": "chunked"}, "href": "<a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58"</a>}, "verify": {"header": {"Authorization": "Basic bGFodWdoZXM6"}, "href": "<a href="http://server.example.com/game" class="external">http://server.example.com/game</a><br>
16:42:44.624758 trace git-lfs: HTTP: -of-life.git/info/lfs/verify"}}}]}<br>
16:42:44.625233 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
Git LFS: (0 of 1 files) 1.69 MB / 1024.00 KB<br><br>
16:42:44.630536 trace git-lfs: HTTP: 301<br>
16:42:44.630571 trace git-lfs: api: redirect PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a> to <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:44.630580 trace git-lfs: HTTP: PUT <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a><br>
16:42:44.630828 trace git-lfs: tq: refusing to retry "30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58", too many retries (8)<br>
Git LFS: (0 of 1 files) 1.75 MB / 1024.00 KB<br><br>
LFS: Put <a href="https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:" class="external">https://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58:</a> read /home/username/game-of-life/.git/lfs/objects/30/e1/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58: file already closed</p>
<p>These lines are interesting:<br>
16:42:39.851141 trace git-lfs: HTTP: PUT <a href="http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58" class="external">http://server.example.com/game-of-life.git/info/lfs/objects/30e14955ebf1352266dc2ff8067e68104607e750abb9d3b36582b8af909fcb58</a></p>
<p>I don't understand why git-lfs is trying to put the data to http and not https.</p>
<p>Any help is appreciated.</p>
RhodeCode CE/EE - Bug #4166 (Resolved): [ce] Rhodecode crashing after MySQL error
https://issues.rhodecode.com/issues/4166
2016-08-11T13:39:00Z
Mihai 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>