question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

che server does not start if CHE_SINGLE_PORT=true

See original GitHub issue

Description

CHE CLI throws following error when trying to start che with CHE_SINGLE_PORT=true

INFO: (che config):  Customizing docker-compose for running in a container
INFO: (che start):  Starting containers...
docker_compose --file="/data/instance/docker-compose-container.yml" -p="che" up -d >> "/data/cli.log" 2>&1
yaml.parser.ParserError: while parsing a block mapping
  in "/data/instance/docker-compose-container.yml", line 22, column 7
expected <block end>, but found '<block mapping start>'
  in "/data/instance/docker-compose-container.yml", line 26, column 11
ERROR: Error during 'compose up' - printing 30 line tail of /Users/next/che/cli.log:

Reproduction Steps

docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/che:/data -e CHE_SINGLE_PORT=true eclipse/che:5.22.0 start --fast

OS and version:
5.22.0 - using docker 17.09.1-ce / docker4mac

Diagnostics: cli.log

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
ghostcommented, Dec 22, 2017

@monaka yes, we’ll look at it. But once again, once this is fixed, single port policy isn’t supported yet. Unless you use 5.x tags of course.

0reactions
monakacommented, Dec 25, 2017

I checked with same command line. This issue was not reproduced. It can be closed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workspaces will not start · Issue #4034 · eclipse/che - GitHub
I have my Che server running but am having problems starting workspaces. When I attempt to start a workspace, I get the following...
Read more >
Why does my Workspaces stops? Eclipse che - Stack Overflow
Cheers! Note* In my Workspaces I am only running two terminals, one starting the server and the other the ngrok. commands used. sh...
Read more >
Chapter 4. Configuring CodeReady Workspaces
When cluster-wide proxy is configured, che-operator creates a special configmap and allows the OpenShift Network Operator to inject the ca-bundle into it. In ......
Read more >
CheCluster Custom Resource fields reference - Eclipse
If you don't create the user namespaces in advance, this field defines the Kubernetes namespace created when you start your first workspace.
Read more >
Eclipse Che - Wikipedia
Eclipse Che is an open-source, Java-based developer workspace server and Online IDE (integrated development environment). It includes a multi-user remote ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found