troubleshooting.rst
75 lines
| 2.2 KiB
| text/x-rst
|
RstLexer
r2601 | .. _troubleshooting: | |||
=============== | ||||
Troubleshooting | ||||
=============== | ||||
:Q: **Missing static files?** | ||||
: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: | |||
Mads Kiilerich
|
r4522 | /home/my-virtual-python/lib/python2.7/site-packages/kallithea/public | ||
r3224 | ||||
| | ||||
r2601 | ||||
:Q: **Can't install celery/rabbitmq?** | ||||
Bradley M. Kuhn
|
r4192 | :A: Don't worry Kallithea works without them too. No extra setup is required. | ||
r2601 | Try out great celery docs for further help. | |||
| | ||||
r3224 | ||||
r2601 | :Q: **Long lasting push timeouts?** | |||
:A: Make sure you set a longer timeouts in your proxy/fcgi settings, timeouts | ||||
Bradley M. Kuhn
|
r4192 | are caused by https server and not Kallithea. | ||
r3224 | ||||
| | ||||
r2601 | ||||
:Q: **Large pushes timeouts?** | ||||
: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 | ||||
body. | ||||
| | ||||
:Q: **Apache doesn't pass basicAuth on pull/push?** | ||||
:A: Make sure you added `WSGIPassAuthorization true`. | ||||
| | ||||
:Q: **Git fails on push/pull?** | ||||
:A: Make sure you're using an wsgi http server that can handle chunked encoding | ||||
Mads Kiilerich
|
r4902 | such as `waitress` or `gunicorn`. | ||
r2601 | ||||
| | ||||
Mads Kiilerich
|
r4902 | :Q: **How can I use hooks in Kallithea?** | ||
r2601 | :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 githooks, | ||||
r3224 | just install proper one in repository eg. create file in | |||
Bradley M. Kuhn
|
r4192 | `/gitrepo/hooks/pre-receive`. You can also use Kallithea-extensions to | ||
r2601 | connect to callback hooks, for both Git and Mercurial. | |||
| | ||||
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 | |||
Mads Kiilerich
|
r4902 | you have installed 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/ | ||||