Cryo Team,
On our v5.0.7 master the documented v5 backup and export commands fail with a MongoException, while mongodump through the deprecated cryosparcm backup works. I could not find the cause from the CLI output, so asking here.
Environment
- CryoSPARC v5.0.7 master - single master on a physical server - Rocky Linux 9
- Database on a local XFS volume (
CRYOSPARC_DB_PATH),CRYOSPARC_DB_ENABLE_AUTH=true - Installation under the service account’s home directory on a shared GPFS filesystem
- Commands run as the UNIX user that owns the installation - on the master - while CryoSPARC was running and in normal use
What Fails:
$ cryosparcm database backup --output <dir>/backup.archive
WARNING: Could not start CryoSPARC database - already running.
WARNING: Could not start CryoSPARC cache - already running.
Checking database... OK
WARNING: Could not start CryoSPARC database - already running.
ERROR: MongoException: Failed to mongo export config to /tmp/tmp7e64buv6/config.json
$ cryosparcm database export-instance-config -o /tmp/cfgtest
WARNING: Could not start CryoSPARC database - already running.
ERROR: MongoException: Failed to mongo export config to /tmp/tmpqjle_44e/config.json
$ cryosparcm database export users -o /tmp/cfgtest
WARNING: Could not start CryoSPARC database - already running.
ERROR: MongoException: Failed to mongo export users to /tmp/cfgtest/users_export_2026_10_24_07h54.json
Each fails after about 3 seconds and writes no output. In the database backup case a zero-byte cryosparc_instance_config_<timestamp>.tar is left in the output directory.
What Works:
cryosparcm backup --dir=<dir>(listed as deprecated): an archive of about 1.2 TB in about 33 minutes - five runs so far (Oct 20 to Nov 4). It accepts--diralthough the reference lists only--helpfor it.- The hourly
cryosparc_instance_config_*.tarthat the running instance writes tocryosparc_master/run/(about 1.5 MB, a valid tar).
Misc.
mongoexportandmongodumpboth exist undercryosparc_master/deps/external/mongodb/bin(viacryosparcm call which mongoexport mongodump)./tmp(16 GB) and/varhave plenty of free space.- The first
export-instance-configattempt stopped withDirectory ‘/tmp/cfgtest’ does not exist, so it does not create the output directory.
Observations/Questions
- The reference describes
database backupas a mongodump, but the error and the stray file suggest it also runs the instance config export. Is that intended? - The “Could not start CryoSPARC database - already running” warnings appear on every call, even though the reference says the instance can be running (and I’ve verified it can be running).
- The error text does not include mongoexport’s own message.
- Is there a way to see the underlying mongoexport error (a verbose flag or a log)?
- Do
cryosparcm updateorpatchuse the same export step? - After verification, can you update the documentation regarding database commands?
I can provide logs/reports if needed - thank you so much!!
- JB