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.

How to disable che-ctl auto update ?

See original GitHub issue

We installed chectl 4 months ago and on our kubernetes cluster installed che 7.18.0

Today, at 8am we undedploy and redeploy without a problem with this command: chectl server:start --platform=k8s --installer=helm --multiuser --cheimage=quay.io/eclipse/che-server:7.18.0 --domain=${MAAP_DOMAIN} --k8spodwaittimeout=400000 --postgres-pvc-storage-class-name="csi-disk-topology" --workspace-pvc-storage-class-name="csi-disk-topology" --templates=$TEMPLATE_PATH

at 3pm when we tried and reinstall, we got an error:

› Current Kubernetes context: 'INT.config'
 ›   Error: Unexpected arguments: --platform=k8s, --installer=helm, --multiuser, --cheimage=quay.io/eclipse/che-server:7.18.0, --domain=int.esa-maap.org,
 ›   --postgres-pvc-storage-class-name=csi-disk-topology, --workspace-pvc-storage-class-name=csi-disk-topology, --templates=/home/cloud/jenkins-delivery/ict-INT/che7
 ›   See more help with --help

We noticed that the chectl version have automatically changed to chectl/7.23.1 linux-x64 node-v12.20.0.

How could we disable auto update of chectl ? So we don’t have to manage api changes each morning. Thanks in advance.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
tolushacommented, Dec 22, 2020
1reaction
tolushacommented, Dec 22, 2020

@KOSSOKO I have to admit that underlying oclif framework has autoupdate functionality [1] We have never faced such a problem because we always use the latest version.

https://github.com/oclif/plugin-update/blob/master/src/hooks/init.ts#L35-L48

pls use to disable autoupdate export CHECTL_DISABLE_AUTOUPDATE=1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using chectl to configure the CheCluster Custom ... - Eclipse
Create a che-operator-cr-patch.yaml YAML file that contains the subset of the CheCluster Custom Resource to configure: · Deploy Che and apply the changes ......
Read more >
Standalone single-user Eclipse Che instance on Windows 10 ...
chectl is the Eclipse Che command-line management tool. It is used for operations on the Che server (start, stop, update, delete), on workspaces ......
Read more >
Disable auto update at end of autoinstall/cloud-init - Ask Ubuntu
You can't disable it, so you're stuck with using a clever work-around. I'd be tempted to use cloud-init to patch the subiquity code...
Read more >
Devfile v2 and the DevWorkspace Operator - Part 1
How to enable the DevWorkspace engine and what it means from a user ... The following chectl command deploys Che on OpenShift configured ......
Read more >
Administration guide Red Hat OpenShift Dev Spaces 3.1
Editor; Language auto-completion; Language server; Debugging tools ... Create a che-operator-cr-patch.yaml YAML file that contains the subset of the ...
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