I ran in to this issue, I believe, as well. For me it was the issue of the web-ui maven repository no longer supporting http, but https.
I made a fork of the web-ui repo with https in the pom.xml and that fixed it right up for me.
My Fork GitHub - ojw713/sync-endpoint-web-ui: User interface module for the sync-endpoint
EDIT:
Was up late yesterday and thought it might be nice to be more thorough.
The command docker build --pull -t odk/sync-web-ui https://github.com/opendatakit/sync-endpoint-web-ui.git
fails, but the setup scripts carry on.
In my case I was using an Azure setup, only noticed it because my dev Vagrant Ansible script was failing here.
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.opendatakit:sync-endpoint-web-ui:1.0.0-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.10.RELEASE from/to central (http://repo.maven.apache.org/maven2): Transfer failed for http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/1.5.10.RELEASE/spring-boot-starter-parent-1.5.10.RELEASE.pom 501 HTTPS Required and 'parent.relativePath' points at wrong local POM @ line 6, column 13
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.opendatakit:sync-endpoint-web-ui:1.0.0-SNAPSHOT (/web-ui/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM for org.opendatakit:sync-endpoint-web-ui:1.0.0-SNAPSHOT: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.10.RELEASE from/to central (http://repo.maven.apache.org/maven2): Transfer failed for http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-starter-parent/1.5.10.RELEASE/spring-boot-starter-parent-1.5.10.RELEASE.pom 501 HTTPS Required and 'parent.relativePath' points at wrong local POM @ line 6, column 13 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
The command '/bin/sh -c cd /web-ui/dependencies && . ./mvn_local_installs && cd /web-ui && mvn package -Dmaven.test.skip=true && mv target/sync-endpoint-web-ui-*.jar /sync-endpoint-web-ui.jar' returned a non-zero code: 1
If you watch the docker containers, the nginx container is running for several seconds, then crashes out.
2020/01/24 14:34:43 [emerg] 1#1: host not found in upstream "web-ui" in /etc/nginx/conf.d/default.conf:27
nginx: [emerg] host not found in upstream "web-ui" in /etc/nginx/conf.d/default.conf:27
Fixing the webui-ui container’s pom.xml file to address the 501 error.
Change the repro from
<url>http://repo.maven.apache.org/maven2</url>
to this
<url>https://repo.maven.apache.org/maven2</url>
Stop the swarm docker stack rm syncldap
Needing to use the updated pom.xml (until the opendatakit repo is fixed), replace the command
docker build --pull -t odk/sync-web-ui https://github.com/opendatakit/sync-endpoint-web-ui.git
with this one
docker build --pull -t odk/sync-web-ui https://github.com/ojw713/sync-endpoint-web-ui.git
Re-run the command
docker build --pull -t odk/sync-web-ui https://github.com/ojw713/sync-endpoint-web-ui.git
Then start the stack again
docker stack deploy -c sync-endpoint-default-setup/docker-compose.yml syncldap
Now the nginx container should be happy and stay running like it’s supposed to.