Master Worker version mismatch after update to v3.3.1

We updated CS v3.2.0 to v3.3.1. The update went well. But with the new version of CS it gave an error of Master Worker version mismatch as shown below:

File “cryosparc_worker/cryosparc_compute/run.py”, line 46, in cryosparc_compute.run.main
AssertionError: Version mismatch! Worker version (v3.2.0+211012) and Master version (v3.3.1) are not the same. Please update.

We updated again but it did not resolve the problem. Please advise how to fix it without loss of current processed data. Thank you in advance!

You need to manually update the worker. See here and related threads:

Cheers
Oli

Hi Oli, Thanks for your response. As you suggested I run ./bin/cryosparcw update --override in the directory of cryosparc2_worker. The command returned an error “cryosparc_worker.tar.gz is missing” even though the file cryosparc_worker.tar.gz is present. Any suggestions would be appreciated.

@haomingz Is cryosparc_worker.tar.gz in fact present in the worker’s installation directory, as described in the guide?

Thanks for your response. yes it’s in the worker installation directory. Somehow the command “cryosparcw update --override” didn’t find it so that I couldn’t update the worker node. I would appreciate your help to fix it.

@haomingz Inside the worker’s installation directory, what output does the following command produce?
ls -l && ls -l bin

Here are the outputs:

[cryosparc@lnx00013 cryosparc]$ pwd
/app/apps/rhel7/cryosparc

[cryosparc@lnx00013 cryosparc]$ ls -l
total 1208048
drwxrwsr-x. 15 cryosparc cryosparc 4096 Dec 13 21:34 cryosparc2_master
-rw-rw-r–. 1 cryosparc cryosparc 582633878 Jul 28 2020 cryosparc2_master.tar.gz
drwxrwsr-x. 8 cryosparc cryosparc 233 Oct 31 22:08 cryosparc2_worker
-rw-rw-r–. 1 cryosparc cryosparc 654398576 Jul 28 2020 cryosparc2_worker.tar.gz

[cryosparc@lnx00013 cryosparc]$ cd cryosparc2_worker/
[cryosparc@lnx00013 cryosparc2_worker]$ ls -l
total 44
drwxrwsr-x. 2 cryosparc cryosparc 42 Mar 29 2021 bin
-rwxrwxr-x. 1 cryosparc cryosparc 5437 Mar 29 2021 check_install_deps.sh
-rw-rw-r–. 1 cryosparc cryosparc 186 Jul 28 2020 config.sh
drwxrwsr-x. 12 cryosparc cryosparc 4096 Apr 14 2021 cryosparc_compute
drwxrwsr-x. 4 cryosparc cryosparc 38 Apr 14 2021 deps
drwxrwsr-x. 4 cryosparc cryosparc 36 Mar 29 2021 deps_bundle
drwxrwsr-x. 4 cryosparc cryosparc 36 Mar 29 2021 deps_bundle_hashes
drwxrwsr-x. 4 cryosparc cryosparc 36 Jul 28 2020 deps_hashes
-rw-rw-r–. 1 cryosparc cryosparc 5849 Mar 29 2021 environment.yml
-rwxrwxr-x. 1 cryosparc cryosparc 9659 Mar 29 2021 install.sh
-rw-rw-r–. 1 cryosparc cryosparc 6 Oct 12 17:21 patch
-rw-rw-r–. 1 cryosparc cryosparc 7 Mar 29 2021 version

[cryosparc@lnx00013 cryosparc2_worker]$ ls -l bin
total 32
-rw-rw-r–. 1 cryosparc cryosparc 13265 Mar 29 2021 connect.py
-rwxrwxr-x. 1 cryosparc cryosparc 12801 Apr 13 2021 cryosparcw
[cryosparc@lnx00013 cryosparc2_worker]$

try changing the name of cryosparc2_worker.tar.gz to cryosparc_worker.tar.gz

@haomingz Two concerns:

  1. cryosparc2_worker.tar.gz is dated July 28, 2020. Could this file belong an older version of cryoSPARC?
  2. The guide suggests that the (correct) cryosparc2_worker.tar.gz or cryosparc_worker.tar.gz should be placed (a valid link might work) inside /app/apps/rhel7/cryosparc/cryosparc2_worker/.

Thanks for pointing us to the right direction. The problem has been fixed. We very much appreciate your help.