Files

55 lines
1.3 KiB
Markdown

CryoSPARC periodically releases new patches, which you can view on the [CryoSPARC Updates page](https://cryosparc.com/updates).
### 1. Ensure your CryoSPARC instance is running
If it is not running, start it with:
```bash
cryosparc-merlin cryosparcm start
```
!!! info "The -d / --cryosparc-path option"
If the CryoSPARC installation is not located in the default directory `/data/user/$USER/cryosparc`, specify the installation path using the `-d` option.
### 2. Download the patches
```bash
cryosparc-merlin cryosparcm patch --download
```
### 3. Install the master node patch
```bash
cryosparc-merlin cryosparcm patch --install
```
### 4. Install the worker node patch
```bash
CRYOSPARC_PATH=/data/user/$USER/cryosparc
mv $CRYOSPARC_PATH/cryosparc_master/cryosparc_worker_patch.tar.gz \
$CRYOSPARC_PATH/cryosparc_worker
```
```bash
cryosparc-merlin cryosparcw patch
```
!!! warning "Worker Architecture"
Make sure you access the correct worker installation. For installations with **version 5** or above, the path to the worker installation has the architecture in the directory path.
```bash
/data/user/$USER/cryosparc/cryosparc_worker_x86_64
```
or
```bash
/data/user/$USER/cryosparc/cryosparc_worker_aarch64
```
### 5. Restart CryoSPARC to finalize the update
```bash
cryosparc-merlin cryosparcm restart
```