1. What is the problem? Be very detailed.
Hi all. After trying to migrate some forms by using Briefcase unfortunately something went wrong on my ODK Central server which suddenly stopped working.
When I run the command
docker-compose up -d I get the following output
Starting central_enketo_redis_main_1 ... done
Starting central_mail_1 ... done
Starting central_postgres_1 ... done
Starting central_secrets_1 ... done
Starting central_enketo_redis_cache_1 ... done
Starting central_pyxform_1 ... done
Starting central_enketo_1 ... done
Starting central_service_1 ... done
Recreating 5a504da41789_central_nginx_1 ...
Recreating 5a504da41789_central_nginx_1 ... error
docker-compose ps I have the output
5a504da41789_central_nginx_1 /bin/bash /scripts/odk-set ... Up (unhealthy) 0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
central_enketo_1 docker-entrypoint.sh /bin/ ... Up 8005/tcp
central_enketo_redis_cache_1 docker-entrypoint.sh redis ... Up 6379/tcp
central_enketo_redis_main_1 docker-entrypoint.sh redis ... Up 6379/tcp
central_mail_1 /bin/entrypoint.sh exim -b ... Up 25/tcp
central_nginx_1 /bin/bash /scripts/odk-set ... Exit 128
central_postgres_1 docker-entrypoint.sh postgres Up 5432/tcp
central_pyxform_1 gunicorn --bind 0.0.0.0:80 ... Up
central_secrets_1 docker-entrypoint.sh ./gen ... Exit 0
central_service_1 docker-entrypoint.sh ./wai ... Up 8383/tcp
As you can see, in this output I have two
nginx columns: the first
5a504da41789_central_nginx_1 having the value
Up (unhealthy) under the State column and the second
central_nginx_1 having the value
When I run
docker-compose up -d I get the following:
ERROR: for 5a504da41789_central_nginx_1 Cannot start service nginx: driver failed programming external connectivity on endpoint central_nginx_1 (c8b4247f67f3834c032ff7a9aedb1db83cbf8d22d5181248f90728892418e7ac): Bind for 0.0.0.0:443 failed: port is already allocated
ERROR: for nginx Cannot start service nginx: driver failed programming external connectivity on endpoint central_nginx_1 (c8b4247f67f3834c032ff7a9aedb1db83cbf8d22d5181248f90728892418e7ac): Bind for 0.0.0.0:443 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.
Unfortunately, by now my server is not loading anymore and I don't now how to access my data! I understand that the issue is related to nginx somehow, but I don't know what to do.
Any advice about how to solve the problem will be very appreciate!
Thank you very much!
2. What app or server are you using and on what device and operating system? Include version numbers.
3. What you have you tried to fix the problem?
4. What steps can we take to reproduce the problem?
5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.