Open theodotos opened 8 years ago
Take a look at this: https://github.com/taigaio/taiga-back/issues/282
add --log-level debug --preload
to args
in section [watcher:taiga]
in your /etc/circus/conf.d/taiga.ini
file, or whatever its name is. Then:
circusctl reloadconfig
circusctl reload taiga
so you may get a prettier log and find the problem. I had a messy installation by someone else and I had to repair the system, this way I just found celery is not installed. Simple.
Thanks for the feedback @nkhdiscovery. Now we are getting somewhere:
ImportError: No module named 'taiga_contrib_ldap_auth'
I installed taiga_contrib_ldap_auth without errors using:
pip3 install taiga-contrib-ldap-auth
When using pip (python2.7) I get:
...
Installed /tmp/pip-build-DsIVkd/taiga-contrib-ldap-auth/.eggs/versiontools-1.9.1-py2.7.egg
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip-build-DsIVkd/taiga-contrib-ldap-auth/setup.py", line 34, in <module>
'Topic :: Internet :: WWW/HTTP',
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 272, in __init__
_Distribution.__init__(self,attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in __init__
self.finalize_options()
File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 327, in finalize_options
ep.load()(self, ep.name, value)
File "build/bdist.linux-x86_64/egg/versiontools/setuptools_hooks.py", line 64, in version
File "build/bdist.linux-x86_64/egg/versiontools/__init__.py", line 234, in from_expression
File "/tmp/pip-build-DsIVkd/taiga-contrib-ldap-auth/taiga_contrib_ldap_auth/__init__.py", line 2
SyntaxError: Non-ASCII character '\xc3' in file /tmp/pip-build-DsIVkd/taiga-contrib-ldap-auth/taiga_contrib_ldap_auth/__init__.py on line 2, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-DsIVkd/taiga-contrib-ldap-auth
Storing debug log for failure in /root/.pip/pip.log
Looks like a python vs python3 issue. Any idea?
I encountered the same issue. After investigating the issue, I found, in my host, the issue was related to the PATH setting in env. I checked the ldap module, no ldap module was found under the path '.virtualenvs/taiga/lib/python3.5/site-packages/' As issue 282[https://github.com/taigaio/taiga-back/issues/282] mentioned, we need to use right python version which located in the right place. Following the guide saying, I set the PATH as the following: PATH=/home/dev/.virtualenvs/taiga/bin:$PATH when I run "which pip3" , however I found it still pointed to /usr/local/bin or ~/.local/bin directory.
Then I added "/home/dev/.virtualenvs/taiga/bin" as the first path, rerun "pip3 install taiga-contrib-ldap-auth". In the end, I can run the taiga successfully and login with ldap.
Also, I found, after reload the server , the PATH in env keep always set without "/home/dev/.virtualenvs/taiga/bi" as the first, but not sure how to fix it.
We have installed taiga successfully and we are now trying to setup ldap authentication. This is the Taiga version we are using:
This is our config:
I have tested ldap connectivity with
ldapsearch
and it works correctly.When I enable the ldap plugin I get:
and the system keeps restarting...
Am I doing something wrong?