www: www: Name does not resolve
kibotu21 opened this issue · 0 comments
I got this error.
2018-12-07 18:58:33,214 FATAL [finishsetupBackgroundThread] [BambooContainer] Cannot start bamboo
java.lang.RuntimeException: java.net.UnknownHostException: www: www: Name does not resolve
at com.atlassian.security.auth.trustedapps.UIDGenerator.generateUID(UIDGenerator.java:71)
at com.atlassian.security.auth.trustedapps.BaseEncryptionProvider.generateUID(BaseEncryptionProvider.java:18)
at com.atlassian.bamboo.container.startup.InitialiseTrustedAppsOnStartup.run(InitialiseTrustedAppsOnStartup.java:31)
at com.atlassian.bamboo.container.BambooContainer.start(BambooContainer.java:241)
at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:131)
at com.atlassian.bamboo.ww2.actions.setup.FinishSetupAction.execute(FinishSetupActi
I tried to fix it with with this resolution, but without success:
https://confluence.atlassian.com/bamkb/bamboo-fails-on-startup-due-to-unknownhostexception-for-aws-private-ip-802170182.html
The start-script:
#!/bin/bash
docker pull cptactionhank/atlassian-bamboo:latest
docker rm --volumes --force "bamboo-container"
docker create --restart=no --name "bamboo-container"
--publish "8085:8085"
--expose "5432"
--add-host="127.0.0.1:127.0.0.1"
--network "host"
--volume "/var/atlassian/bamboo:/var/atlassian/bamboo"
--env "CATALINA_OPTS= -Xms512m -Xmx4096m"
--env "X_PROXY_NAME=bamboo.xhefgbxcs.de"
--env "X_PROXY_PORT=443"
--env "X_PROXY_SCHEME=https"
cptactionhank/atlassian-bamboo:latest
docker start --attach "bamboo-container"
Could anybody help?