Good afternoon,
Last week I downloaded and set up Cryosparc for a single workstation, and was able to successfully use the software (and shut down/restart the computer) for several days. However, as of today whenever I attempt to start the software using ‘cryosparcm start’, I receive an error message stating that it ‘could not get database status’ after three attempts. Rebooting has not resolved the error, nor has using ‘cryosparcm configuredb’ as suggested in the traceback.
Any advice or direction would be very welcome!
Starting CryoSPARC System master process…
CryoSPARC is not already running.
configuring database…
configuration complete
database: started
Warning: Could not get database status (attempt 1/3)
Warning: Could not get database status (attempt 2/3)
Warning: Could not get database status (attempt 3/3)
Could not get replica set status; please reconfigure the database withcryosparcm configuredb
Traceback (most recent call last):
File “”, line 1, in
File “/home/zocher/cryosparc/cryosparc_master/cryosparc_compute/database_management.py”, line 270, in check_mongo
admin_db = try_get_pymongo_db(mongo_client)
File “/home/zocher/cryosparc/cryosparc_master/cryosparc_compute/database_management.py”, line 251, in try_get_pymongo_db
admin_db.command(({‘serverStatus’: 1}))
File “/home/zocher/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/_csot.py”, line 107, in csot_wrapper
return func(self, *args, **kwargs)
File “/home/zocher/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/database.py”, line 890, in command
with self.__client._conn_for_reads(read_preference, session) as (
File “/home/zocher/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/mongo_client.py”, line 1346, in _conn_for_reads
server = self._select_server(read_preference, session)
File “/home/zocher/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/mongo_client.py”, line 1303, in _select_server
server = topology.select_server(server_selector)
File “/home/zocher/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/topology.py”, line 302, in select_server
server = self._select_server(selector, server_selection_timeout, address)
File “/home/zocher/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/topology.py”, line 286, in _select_server
servers = self.select_servers(selector, server_selection_timeout, address)
File “/home/zocher/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/topology.py”, line 237, in select_servers
server_descriptions = self._select_servers_loop(selector, server_timeout, address)
File “/home/zocher/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/topology.py”, line 259, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: pop-os.sickkids.ca:39001: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 20.0s, Topology Description: <TopologyDescription id: 66a7da28b6904f5a914c754e, topology_type: Unknown, servers: [<ServerDescription (‘pop-os.sickkids.ca’, 39001) server_type: Unknown, rtt: None, error=AutoReconnect(‘pop-os.sickkids.ca:39001: [Errno 111] Connection refused (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)’)>]>
[2024-07-29T14:07:43-04:00] Error checking database. Most recent database log lines:
2024-07-29T14:06:31.143-0400 I REPL [replexec-0] Starting replication reporter thread
2024-07-29T14:06:31.143-0400 I REPL [rsSync] transition to SECONDARY from RECOVERING
2024-07-29T14:06:31.144-0400 I REPL [rsSync] conducting a dry run election to see if we could be elected. current term: 6
2024-07-29T14:06:31.144-0400 I REPL [replexec-0] dry election run succeeded, running for election in term 7
2024-07-29T14:06:31.144-0400 I REPL [replexec-0] election succeeded, assuming primary role in term 7
2024-07-29T14:06:31.144-0400 I REPL [replexec-0] transition to PRIMARY from SECONDARY
2024-07-29T14:06:31.144-0400 I REPL [replexec-0] Resetting sync source to empty, which was :27017
2024-07-29T14:06:31.144-0400 I REPL [replexec-0] Entering primary catch-up mode.
2024-07-29T14:06:31.144-0400 I REPL [replexec-0] Exited primary catch-up mode.
2024-07-29T14:06:33.145-0400 I REPL [rsSync] transition to primary complete; database writes are now permitted