Hi Mathieu,
Thanks.
I installed a packaged version, from Docker hub - nanofab/nemo:3.11.0, together with nanofab/nginx:2.6.0
After setting up the folder structure, I crafted the settings.py and nginx.conf files, both attached.
I then collected static files, created the database and the superuser:
docker run --interactive --tty --volume /home/captain/nemo:/nemo nanofab/nemo:3.11.0 django-admin collectstatic --no-input --clear
docker run --interactive --tty --volume /home/captain/nemo3/nemo:/nemo nanofab/nemo:3.11.0 bash -c "django-admin makemigrations NEMO && django-admin migrate"
docker run --interactive --tty --volume /home/captain/nemo3/nemo:/nemo nanofab/nemo:3.11.0 django-admin createsuperuser
I then used docker-compose to start the containers, YAML file attached.
I was then able to visit the webpage from another machine on the same domain:
I then proceeded to log in, with user name and password set on the LDAP server. The following log appears from NEMO:
nemo | [06/Jul/2021 22:58:33] NEMO.views.authentication DEBUG User captain exists in the database and is active.
nemo | [06/Jul/2021 22:58:33] NEMO.views.authentication DEBUG User captain was successfully authenticated with LDAP (ldap.subdomain.domain.com)
This success is confirmed by the log on the LDAP server side. Both the full NEMO log starting from when the container was started, and the logs from LDAP over the successful authentication are attached.
However, the browser quickly refreshes and simply returns the same page, as given in the screenshot above. The actual address as shown in the address bar is:
I crafted the LDAP section of settings.py by reading the source code authentication.py, in order to figure out which properties should be set.
In addition, I have previously used your nemo-compose.zip file, successfully reaching the landing page and was able to access all/most features of NEMO. However the version in that file was 1.1.12 (I recall). Having had success I was simply trying to deploy the latest version, where this loop-back problem occurred.
I hope that I have tried to include enough details, please do shout if you need more info.
Many thanks,
Li