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.

Unable to start Che 7 Workspace with latest Che Server

See original GitHub issue

Description

Unable to start Che 7 Workspace with latest Che Server. Investigation shows that Theia container is started with 150mb memory limit while 1.5Gb is configured https://github.com/ws-skeleton/che-editor-theia/blob/master/etc/che-plugin.yaml#L43.

It may be related to https://github.com/eclipse/che/commit/ab82e73140e4a5d81b57d798773f97b0ac29a551

Reproduction Steps

  1. Deploy latest Che Server.
  2. Try to create and start workspace from Che 7 Stack.

OS and version:
Che Server 6.19.0-SNAPSHOT, may be also actual for 6.18.0

Diagnostics: @skabashnyuk guesses that it may be caused by outdated Che Plugin Registry where memory-limit field is present while memoryLimit is expected by Che Server.

Theia container Logs
Starting the master backend process with 5000 (ms) timeout.
Starting server worker...
Server worker has been started. [ID: 1 | PID: 24]
Failed to resolve module: @types/body-parser
Failed to resolve module: @types/bunyan
Failed to resolve module: @types/express
Failed to resolve module: @types/lodash.debounce
Failed to resolve module: @types/lodash.throttle
Failed to resolve module: @types/react
Failed to resolve module: @types/react-dom
Failed to resolve module: @types/react-virtualized
Failed to resolve module: @types/route-parser
Failed to resolve module: @types/ws
Failed to resolve module: @types/yargs
Failed to resolve module: electron
Failed to resolve module: font-awesome
Failed to resolve module: react
Failed to resolve module: react-dom
Failed to resolve module: react-virtualized
Failed to resolve module: @types/base64-js
Failed to resolve module: @types/fs-extra
Failed to resolve module: @types/mime-types
Failed to resolve module: @types/rimraf
Failed to resolve module: @types/tar-fs
Failed to resolve module: @types/touch
Failed to resolve module: @types/uuid
Failed to resolve module: @typefox/monaco-editor-core
Failed to resolve module: @types/base64-arraybuffer
Failed to resolve module: @theia/monaco
Failed to resolve module: @types/p-debounce
Failed to resolve module: @types/diff
Failed to resolve module: @types/p-queue
Failed to resolve module: @types/glob
Failed to resolve module: @types/tar
Failed to resolve module: @types/highlight.js
Failed to resolve module: @types/markdown-it
Failed to resolve module: @types/markdown-it-anchor
Server worker is ready to accept messages. [ID: 1 | PID: 24]
root INFO Plugins Remote Endpoints are  []
root INFO Plugins Remote Endpoints are  Map {}
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer: PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'eclipse_che_theia_containers_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: '/default-theia-plugins/eclipse_che_theia_containers_plugin.theia',
     initPath: '/default-theia-plugins/eclipse_che_theia_containers_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer: PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'eclipse_che_theia_factory_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: '/default-theia-plugins/eclipse_che_theia_factory_plugin.theia',
     initPath: '/default-theia-plugins/eclipse_che_theia_factory_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer: PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'theia_yeoman_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: '/default-theia-plugins/theia_yeoman_plugin.theia',
     initPath: '/default-theia-plugins/theia_yeoman_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO Theia app listening on http://0.0.0.0:3100 .
Received message which is neither a response nor a notification message:
"3100"
/entrypoint.sh: line 93: syntax error: unexpected end of file
Server worker has been disconnected. [ID: 1 | PID: 24]
Server worker has been stopped. [ID: 1 | PID: 24]

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ibuziukcommented, Feb 7, 2019

Update of plugin registry should fix the problem https://github.com/openshiftio/saas-openshiftio/pull/1215

0reactions
sleshchenkocommented, Feb 8, 2019

Now it works fine for my local Che installation.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to bring up Eclipse che on Kubernetes - Stack Overflow
I am new to Eclipse che and kubernetes. I got Kubernetes installed on Ubuntu and am trying to run chectl server:start but it...
Read more >
Introduction to Eclipse Che :: Eclipse Che Documentation
A centralized developer environment running on Kubernetes or OpenShift. A multi-container workspace for each developer with the ability to replicate with a ...
Read more >
Administration Guide Red Hat CodeReady Workspaces 1.0
Chapter 3. Using the Che 7 IDE in CodeReady Workspaces · In the Dashboard, click Workspaces and then click Add Workspace. · Select...
Read more >
Run `che-server` with custom `che-theia` - Theia Community
Opened che-server in browser. Clicked New Workspace using stach che7-preview (Workspace.next sidecars and Theia as IDE) -> edited the ...
Read more >
Devfile v2 and IDE plug-ins in Eclipse Che - Medium
Devfile v1 were handled by Eclipse Che Server workspace engine using Java/Kubernetes API. There is a new engine for devfile v2 called ...
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