-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot start eclipse/che:5.10.0 due to wrong version check #5140
Comments
Yikes - @benoitf - urgent bug.
You can add `--fast` in the meantime to skip this check. The version check
is failing for versions with more than two digits.
Tyler Jewell // CEO // tyler@codenvy.com // 978.884.5355
…On Fri, May 19, 2017 at 7:12 AM, MarcelRosenberger ***@***.*** > wrote:
When executing docker run with eclipse/che:5.10.0 or eclipse/che:latest
the start process aborts with WARN: Newer version '5.9.1' available
*Reproduction Steps:*
# docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v
/eclipse-che:/data eclipse/che:5.10.0 start
*Output:*
WARNING: No swap limit support
INFO: (che cli): 5.10.0 - using docker 17.05.0-ce / native
WARN: Newer version '5.9.1' available
*Test 1:*
if less_than "5.9.1" "5.10.1"; then
echo "Base version less than tag";
else
echo "Tag less than base version":
fi
Tag less than base version
*Test 2:*
if less_than "5.09.1" "5.10.1"; then
echo "Base version less than tag";
else
echo "Tag less than base version":
fi
Base version less than tag
My assumption is that there is an error in startup_04_pre_cli_init.sh
<https://github.com/eclipse/che/blob/master/dockerfiles/base/scripts/base/startup_04_pre_cli_init.sh>
in less_than() (line 395 ff.)
Is there any chance to get che start? I upgraded to version 5.10.0 already.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5140>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAX9Cu3e-U6uRXuS0YtdKgbqP-uDzoo4ks5r7aNEgaJpZM4Ngk9j>
.
|
@MarcelRosenberger it shouldn't abort the process. It's only a trace.
|
There was another issue - gladly dedicated to my setup only. Port 8080 was already in use by another service which prevented che from starting. The warning concerning the version-check was the last output I got, so I thought it was related to the failing start. |
The issue is now fixed in current nightly with PR #5141 |
When executing docker run with eclipse/che:5.10.0 or eclipse/che:latest the start process aborts with WARN: Newer version '5.9.1' available
Reproduction Steps:
# docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /eclipse-che:/data eclipse/che:5.10.0 start
Output:
My assumption is that there is an error in startup_04_pre_cli_init.sh (line 291)
The function
less_than()
only works if the strings are the same length. Why isversion_lt()
not used instead?Before:
line 291:
if less_than $BASE_VERSION $TAG; then
After:
line 291:
if version_lt $BASE_VERSION $TAG; then
The text was updated successfully, but these errors were encountered: