##// END OF EJS Templates
TurboGears2 migration: update ini files for error email settings...
TurboGears2 migration: update ini files for error email settings Error emails are now handled by backlash, which is configured through TurboGears2's ErrorReporter. ErrorReporter expects different configuration key names than Pylons did, moreover under a new 'trace_errors' namespace. Since some of the email-related settings are shared between application and error emails, we cannot just rename the existing settings (it would be very odd to have application settings under a 'trace_errors' namespace). Requiring the user to duplicate its settings is also undesirable. Instead, use 'get' to populate the trace_errors namespace based on the existing settings we already had. Unfortunately, 'get' expects the setting to be actually present, so we need to provide an out-of-the-box value for the error-related email settings or there will be an error at startup. We use empty values because there is no realistic default value we can provide.

File last commit:

r6298:9c6f7178 merge default
r6529:b4c27fe6 default
Show More
troubleshooting.rst
75 lines | 2.3 KiB | text/x-rst | RstLexer
/ docs / usage / troubleshooting.rst
Added troubleshooting section to docs
r2601 .. _troubleshooting:
===============
Troubleshooting
===============
:Q: **Missing static files?**
Michael V. DePalatis
docs: English and consistency corrections
r4955 :A: Make sure either to set the ``static_files = true`` in the .ini file or
whitespace cleanup
r3224 double check the root path for your http setup. It should point to
Added troubleshooting section to docs
r2601 for example:
Michael V. DePalatis
docs: English and consistency corrections
r4955 ``/home/my-virtual-python/lib/python2.7/site-packages/kallithea/public``
whitespace cleanup
r3224
|
Added troubleshooting section to docs
r2601
:Q: **Can't install celery/rabbitmq?**
Michael V. DePalatis
docs: English and consistency corrections
r4955 :A: Don't worry. Kallithea works without them, too. No extra setup is required.
Try out the great Celery docs for further help.
Added troubleshooting section to docs
r2601
|
whitespace cleanup
r3224
Added troubleshooting section to docs
r2601 :Q: **Long lasting push timeouts?**
Michael V. DePalatis
docs: English and consistency corrections
r4955 :A: Make sure you set a longer timeout in your proxy/fcgi settings. Timeouts
are caused by the http server and not Kallithea.
whitespace cleanup
r3224
|
Added troubleshooting section to docs
r2601
:Q: **Large pushes timeouts?**
Michael V. DePalatis
docs: English and consistency corrections
r4955 :A: Make sure you set a proper ``max_body_size`` for the http server. Very often
Apache, Nginx, or other http servers kill the connection due to to large
Added troubleshooting section to docs
r2601 body.
|
:Q: **Apache doesn't pass basicAuth on pull/push?**
Michael V. DePalatis
docs: English and consistency corrections
r4955 :A: Make sure you added ``WSGIPassAuthorization true``.
Added troubleshooting section to docs
r2601
|
:Q: **Git fails on push/pull?**
Michael V. DePalatis
docs: English and consistency corrections
r4955 :A: Make sure you're using a WSGI http server that can handle chunked encoding
such as ``waitress`` or ``gunicorn``.
Added troubleshooting section to docs
r2601
|
Mads Kiilerich
docs: rework stuff...
r4902 :Q: **How can I use hooks in Kallithea?**
Michael V. DePalatis
docs: English and consistency corrections
r4955 :A: It's easy if they are Python hooks: just use advanced link in
hooks section in Admin panel, that works only for Mercurial. If
you want to use Git hooks, just install th proper one in the repository,
e.g., create a file `/gitrepo/hooks/pre-receive`. You can also use
Kallithea-extensions to connect to callback hooks, for both Git
and Mercurial.
Added troubleshooting section to docs
r2601
|
Mads Kiilerich
docs: rework stuff...
r4902 :Q: **Kallithea is slow for me, how can I make it faster?**
:A: See the :ref:`performance` section.
Added troubleshooting section to docs
r2601
troubleshooting docs, added modwsgi unicode problems link from django
r3240 |
:Q: **UnicodeDecodeError on Apache mod_wsgi**
Mads Kiilerich
docs: rework stuff...
r4902 :A: Please read: https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/#if-you-get-a-unicodeencodeerror.
fixes #753 inform about some problems with antivirus software in RhodeCode...
r3337
|
:Q: **Requests hanging on Windows**
timeless@gmail.com
spelling: antivirus
r5785 :A: Please try out with disabled Antivirus software, there are some known problems with Eset Antivirus. Make sure
Michael V. DePalatis
docs: English and consistency corrections
r4955 you have installed the latest Windows patches (especially KB2789397).
fixes #753 inform about some problems with antivirus software in RhodeCode...
r3337
troubleshooting docs, added modwsgi unicode problems link from django
r3240
Added troubleshooting section to docs
r2601 .. _virtualenv: http://pypi.python.org/pypi/virtualenv
.. _python: http://www.python.org/
av6
docs: update links to Mercurial's website and wiki...
r6297 .. _mercurial: https://www.mercurial-scm.org/
Added troubleshooting section to docs
r2601 .. _celery: http://celeryproject.org/
.. _rabbitmq: http://www.rabbitmq.com/
.. _python-ldap: http://www.python-ldap.org/