CodingOX commented on issue #7401:
URL: https://github.com/apache/skywalking/issues/7401#issuecomment-891681509
`there is nothing we can do.` This is a rather irresponsible reply. If there
is no problem with my deployment process, as the core developer of skywaking,
Can you take a little time to verify this error?Of course, you can say that
open source authors have no obligation to waste their time reproducing other
people's problems.I've always been uncomfortable with what you rude shut down
issue, maybe your sign is Virgo.Skywalking is really a very good product.
Let's get to the point
---
The reason for the problem is that the UI images of 8.7 in the current
dockerhub is wrong, `docker-entrypoint.sh` content is
```shell
#!/bin/bash
set -e
export LOGGING_CONFIG="webapp/logback.xml"
[[ ! -z "$SW_OAP_ADDRESS" ]] && export
COLLECTOR_RIBBON_LISTOFSERVERS=${SW_OAP_ADDRESS} && echo
"COLLECTOR_RIBBON_LISTOFSERVERS=$COLLECTOR_RIBBON_LISTOFSERVERS"
[[ ! -z "$SW_TIMEOUT" ]] && export
COLLECTOR_RIBBON_READTIMEOUT=${SW_TIMEOUT} && echo
"COLLECTOR_RIBBON_READTIMEOUT=$COLLECTOR_RIBBON_READTIMEOUT"
exec java -jar webapp/skywalking-webapp.jar "$@"
```
but 8.7 changed from zuul to gateway.
The following link is correct, but it is not packaged in the
imageļ¼https://github.com/apache/skywalking/blob/master/docker/ui/docker-entrypoint.sh
```shell
set -e
export LOGGING_CONFIG="webapp/logback.xml"
if [[ ! -z "$SW_OAP_ADDRESS" ]]; then
address_arr=(${SW_OAP_ADDRESS//,/ })
for i in "${!address_arr[@]}"
do
JAVA_OPTS="${JAVA_OPTS}
-Dspring.cloud.discovery.client.simple.instances.oap-service[$i].uri=${address_arr[$i]}"
done
fi
exec java ${JAVA_OPTS} -XX:+UnlockExperimentalVMOptions
-XX:+UseCGroupMemoryLimitForHeap -jar webapp/skywalking-webapp.jar "$@"
```
To sum up, I guess there was a problem when packing ui-images.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]