Cryosparc won't start after migrating the database to a new location

Given the evidence of database corruption, I recommend

  1. a confirmed shutdown of CryoSPARC

  2. a database rebuild

    Before project attachment (step 5. in the quoted instructions): If your CryoSPARC version is below 4.3, I recommend upgrading. If your CryoSPARC version is 4.3.*, I recommend appending to the file
    /path/to/cryosparc_master/config.sh the line

    export CRYOSPARC_MONGO_EXTRA_FLAGS=" "
    

    (the space between the quotes is important). Upgrade to v4.4 or, in v4.3, setting CRYOSPARC_MONGO_EXTRA_FLAGS would enable database journalling that should increase the new database’s robustness against corruption. I CryoSPARC restart is required to activate changes of /path/to/cryosparc_master/config.sh.

  3. continuous monitoring of the available capacity of the filesystem that holds the database

  4. regular database backups via
    cryosparcm backup (guide) or, once database journalling is enabled, filesystem snapshots.