troubleshooting.rst
78 lines
| 2.4 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 | ||||
such as `waitress` or `gunicorn` | ||||
| | ||||
Bradley M. Kuhn
|
r4192 | :Q: **How 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. | |||
| | ||||
Bradley M. Kuhn
|
r4192 | :Q: **Kallithea is slow for me, how can i make it faster?** | ||
r2601 | :A: See the :ref:`performance` section | |||
r3240 | | | |||
:Q: **UnicodeDecodeError on Apache mod_wsgi** | ||||
r3337 | :A: Please read: https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/#if-you-get-a-unicodeencodeerror | |||
| | ||||
:Q: **Requests hanging on Windows** | ||||
r3338 | :A: Please try out with disabled Antivirus software, there are some known problems with Eset Anitivirus. Make sure | |||
r3337 | you have installed latest windows patches (especially KB2789397) | |||
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/ | ||||
.. _mercurial-server: http://www.lshift.net/mercurial-server.html | ||||
.. _PublishingRepositories: http://mercurial.selenic.com/wiki/PublishingRepositories | ||||
Bradley M. Kuhn
|
r4179 | .. _Issues tracker: https://bitbucket.org/conservancy/kallithea/issues | ||