How to update worker node

Hello,
I have just update the current version to newer version and it does updated but not able to update in the worker node.
How to update in the worker node ? I tried to download the current version for the worker node and then tried to untar it but showing that it does not appear a tar file. What might be the issue:

[cryosparc_user@c108935 software]$ tar -xf cryosparc2_worker.tar.gz
tar: This does not look like a tar archive

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Hi @GYADAV, can you please confirm that your LICENSE_ID environment variable is set properly?

Hi @GYADAV, please run the following commands and send me the output (substituting <license> with your unique cryoSPARC license ID):

export LICENSE_ID="<license>"
curl https://get.cryosparc.com/checklicenseexists/$LICENSE_ID
curl -L https://get.cryosparc.com/download/worker-latest/$LICENSE_ID -o cryosparc2_worker.tar.gz

The last command should download the worker installation package to cryosparc2_worker.tar.gz, try installing that after you’ve sent me the output.

Nick

Thank Nick,
You want me to run these on command line or change config.sh file?

If is run on command line, it complains:
export $LICENSE_ID=[obfuscated]
bash: export: `=[obfuscated]: not a valid identifier

Hello Nick,
Here is the output:

export LICENSE_ID="[obfuscated]"
[cryosparc_user@c108935 cryosparc]$ curl https://get.cryosparc.com/checklicenseexists/$LICENSE_ID
{“success”: true}[cryosparc_user@c108935 cryosparc]$

Thanks

Thanks Nick,
I was able to connect the worker node and now it is working.

Gaya

1 Like