troubleshooting.rst
76 lines
| 2.3 KiB
| text/x-rst
|
RstLexer
r2601 | .. _troubleshooting: | |||
=============== | ||||
Troubleshooting | ||||
=============== | ||||
:Q: **Missing static files?** | ||||
Michael V. DePalatis
|
r4955 | :A: Make sure either to set the ``static_files = true`` in the .ini file or | ||
r3224 | double check the root path for your http setup. It should point to | |||
r2601 | for example: | |||
Michael V. DePalatis
|
r4955 | ``/home/my-virtual-python/lib/python2.7/site-packages/kallithea/public`` | ||
r3224 | ||||
| | ||||
r2601 | ||||
:Q: **Can't install celery/rabbitmq?** | ||||
Michael V. DePalatis
|
r4955 | :A: Don't worry. Kallithea works without them, too. No extra setup is required. | ||
Try out the great Celery docs for further help. | ||||
r2601 | ||||
| | ||||
r3224 | ||||
r2601 | :Q: **Long lasting push timeouts?** | |||
Michael V. DePalatis
|
r4955 | :A: Make sure you set a longer timeout in your proxy/fcgi settings. Timeouts | ||
are caused by the http server and not Kallithea. | ||||
r3224 | ||||
| | ||||
r2601 | ||||
:Q: **Large pushes timeouts?** | ||||
Michael V. DePalatis
|
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 | ||||
r2601 | body. | |||
| | ||||
:Q: **Apache doesn't pass basicAuth on pull/push?** | ||||
Michael V. DePalatis
|
r4955 | :A: Make sure you added ``WSGIPassAuthorization true``. | ||
r2601 | ||||
| | ||||
:Q: **Git fails on push/pull?** | ||||
Michael V. DePalatis
|
r4955 | :A: Make sure you're using a WSGI http server that can handle chunked encoding | ||
such as ``waitress`` or ``gunicorn``. | ||||
r2601 | ||||
| | ||||
Mads Kiilerich
|
r4902 | :Q: **How can I use hooks in Kallithea?** | ||
Michael V. DePalatis
|
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. | ||||
r2601 | ||||
| | ||||
Mads Kiilerich
|
r4902 | :Q: **Kallithea is slow for me, how can I make it faster?** | ||
:A: See the :ref:`performance` section. | ||||
r2601 | ||||
r3240 | | | |||
:Q: **UnicodeDecodeError on Apache mod_wsgi** | ||||
Mads Kiilerich
|
r4902 | :A: Please read: https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/#if-you-get-a-unicodeencodeerror. | ||
r3337 | ||||
| | ||||
:Q: **Requests hanging on Windows** | ||||
r3338 | :A: Please try out with disabled Antivirus software, there are some known problems with Eset Anitivirus. Make sure | |||
Michael V. DePalatis
|
r4955 | you have installed the latest Windows patches (especially KB2789397). | ||
r3337 | ||||
r3240 | ||||
r2601 | .. _virtualenv: http://pypi.python.org/pypi/virtualenv | |||
.. _python: http://www.python.org/ | ||||
.. _mercurial: http://mercurial.selenic.com/ | ||||
.. _celery: http://celeryproject.org/ | ||||
.. _rabbitmq: http://www.rabbitmq.com/ | ||||
.. _python-ldap: http://www.python-ldap.org/ | ||||