Comments (18)
Can you run, I think it should be docker exec ZULIP_CONTAINER_NAME cat /var/log/supervisor/*zulip*
and post the output as a gist please. That will help debugging the problem.
from docker-zulip.
https://gist.github.com/Seinth/8bd99e3098d740280dd4
No additional log appear after unsuccessfully login attempt.
from docker-zulip.
@Seinth Can you provide the output of all zulip-*
log files from the container.
Please run tail -n +1 /var/log/supervisor/zulip-*
inside the container and post the output.
Could you post your docker-compose.yml
(without passwords, secrets), so I can take a look at it and see if there's a problem.
from docker-zulip.
Other log files are empty (have a look at ls -la output, 5th column contains size). I'll post docker-compose.yml tommorow morning.
from docker-zulip.
docker-compose.yml
https://gist.github.com/Seinth/b43fa5e1278cae3e819f
from docker-zulip.
The ZULIP_AUTH_BACKENDS
must be for LDAP ZULIP_AUTH_BACKENDS=zproject.backends.ZulipLDAPAuthBackend
, see https://github.com/zulip/zulip/blob/master/zproject/local_settings_template.py#L24.
Please try again using the current dev
image.
Also see the wiki page https://github.com/Galexrt/docker-zulip/wiki/Zulip-LDAP-Authentication.
BTW The containers doesn't need to be privileged.
from docker-zulip.
Tested, now I'm getting 500:
500: Internal server error.
Well oops. This one's probably our fault. Sorry about that! Updates on service availability are posted to @ZulipStatus on Twitter.
If you'd like, you can drop us a line to let us know what happened.
No new logs in /var/log/supervisor
AUTH_BACKEND line in docker composer:
- ZULIP_AUTH_BACKENDS=zproject.backends.ZulipLDAPAuthBackend
Container was recreated, stored data were removed.
I'm using privileged mode, because volume is setted to nfs partition.
from docker-zulip.
@Seinth Are you 100% sure there are no new log lines in /var/log/zulip*
and /var/log/supervisor/zulip*
?
I try to reproduce.
from docker-zulip.
So far I was checking only /var/log/supervisor/zulip
In /var/log/zulip
4 file changed after access attempt:
https://gist.github.com/Seinth/051eab3430f368a5e515
from docker-zulip.
@Seinth Just that you know, I'm looking into this problem. But a fix will take some time, sry bout that.
from docker-zulip.
BTW I updated the LDAP wiki page https://github.com/Galexrt/docker-zulip/wiki/Zulip-LDAP-Authentication.
I added an env var ZULIP_LDAP_ENABLED
to enable the configuration of the LDAP settings (Currently in the latest dev image that is being built). You would need to set ZULIP_LDAP_ENABLED
to True
in your `docker-compose.ymlยด.
ZULIP_LDAP_ENABLED
enables the configuration of LDAP from now on.
from docker-zulip.
@Seinth I pushed some changes to the dev branch.
Can you repull the image quay.io/galexrt/zulip:dev
and try again with the mentioned ZULIP_LDAP_ENABLED
set to True
.
Thanks for testing this, I personally don't have an LDAP server to test with.
from docker-zulip.
Thanks! But I have bad news:
I pulled new image, stopped and removed containers, clean volume content and execute docker-compose up.
- ZULIP_LDAP_ENABLED=True
is added.
Sam error on web site (500).
https://gist.github.com/Seinth/d33876b50a3532cc299e
from docker-zulip.
I think I'll see the error now. ImportError: No module named zproject.backends
Thanks for the log. This should be fixed soon.
from docker-zulip.
@Seinth Can you try again with ZULIP_AUTH_BACKENDS
set to ZulipLDAPAuthBackend
.
- ZULIP_AUTH_BACKENDS=ZulipLDAPAuthBackend
from docker-zulip.
Login screen now appear, while trying to log in I got:
Please enter a correct email and password. Note that both fields may be case-sensitive.
The only interesting part of log:
https://gist.github.com/Seinth/d310543d6ec9a46ece4f
Do you know where I can look for LDAP log?
from docker-zulip.
I was able to get another 500 while trying to "register":
https://gist.github.com/Seinth/6bb07da8a6f6e54ba991
from docker-zulip.
@Seinth In the log https://gist.github.com/Seinth/6bb07da8a6f6e54ba991 the problem is that you didn't configure a working/reachable smtp server. A working smtp server is needed from zulip.
I don't see a problem with docker-zulip in the log https://gist.github.com/Seinth/d310543d6ec9a46ece4f.
I can't really help you with LDAP, because I don't have a LDAP server.
I would therefore advise you to create a ticket at the official zulip/zulip project and ask for help about LDAP authentication problem there.
I'm closing this as I can't really help with what seems like a problem on zulip's side. I hope I could help a bit by fixing the bugs with the image.
from docker-zulip.
Related Issues (20)
- update to a newer database contaier HOT 1
- RabbitMQ in docker compose file is very out of date
- Can't backup Zulip the way it is documented HOT 1
- Memcached won't start - can't create /home/memcached/memcached.conf in nonexistent directory HOT 1
- noreply invite emails sending HOT 1
- /json/messages endpoint returns 500
- Wrong database tables for docker with Zulip 7.0
- sudo zulip_volume_sync() causes SIGBUS error and read-only filesystem
- exec /sbin/entrypoint.sh: exec format error
- "exec /sbin/entrypoint.sh: exec format error" HOT 3
- 8.3 upgrade issue HOT 3
- Dependency issues on upgrade to 8.3
- Expecting "SOCIAL_AUTH_GITHUB_KEY", type "integer" HOT 7
- Using External host for dependencies in Kubernetes Helm Chart HOT 1
- Rocket.Chat migration error 'list index out of range' during data convertation
- docker-zulip behind "docker Caddy" as reverse proxy has problems with CSS and scripts HOT 7
- build failed because of timeout (curl command)
- Allow setting SCIM_CONFIG via env var HOT 1
- Dockerfile no longer builds on Zulip `main` due to outdated Python
- issue with searching
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-zulip.