After the last upgrade I receive this error on startup:
configuring database
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/share/sw/cryoSPARC/cryosparc_master/cryosparc_compute/database_management.py", line 41, in configure_mongo
initializeReplicaSet()
File "/share/sw/cryoSPARC/cryosparc_master/cryosparc_compute/database_management.py", line 83, in initializeReplicaSet
admin_db.command(({'serverStatus': 1}))
File "/share/sw/cryoSPARC/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/database.py", line 758, in command
read_preference, session) as (sock_info, secondary_ok):
File "/share/sw/cryoSPARC/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/contextlib.py", line 112, in __enter__
return next(self.gen)
File "/share/sw/cryoSPARC/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1387, in _socket_for_reads
server = self._select_server(read_preference, session)
File "/share/sw/cryoSPARC/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1346, in _select_server
server = topology.select_server(server_selector)
File "/share/sw/cryoSPARC/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 246, in select_server
address))
File "/share/sw/cryoSPARC/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 203, in select_servers
selector, server_timeout, address)
File "/share/sw/cryoSPARC/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.7/site-packages/pymongo/topology.py", line 220, in _select_servers_loop
(self._error_message(selector), timeout, self.description))
pymongo.errors.ServerSelectionTimeoutError: localhost:39001: [Errno 111] Connection refused, Timeout: 20.0s, Topology Description: <TopologyDescription id: 63b5aa87b154de4c396f3364, topology_type: Single, servers: [<ServerDescription ('localhost', 39001) server_type: Unknown, rtt: None, error=AutoReconnect('localhost:39001: [Errno 111] Connection refused')>]>
the logfile has an ever repeating entry since update:
2022-12-25T01:59:30.775+0100 I COMMAND [LogicalSessionCacheRefresh] command config.$cmd command: update { update: "system.sessions", ordered: false, allowImplicitCollectionCreation: false, writeConcern: { w: "majority", wtimeout: 15000 }, $db: "config" } numYields:0 reslen:229 locks:{ Global: { acquireCount: { r: 6, w: 6 } }, Database: { acquireCount: { w: 6 } }, Collection: { acquireCount: { w: 3 } }, oplog: { acquireCount: { w: 3 } } } protocol:op_msg 103ms
the config looks like this:
cryosparcm status
CryoSPARC System master node installed at
/share/sw/cryoSPARC/cryosparc_master
Current cryoSPARC version: v4.1.0
global config variables:
export CRYOSPARC_LICENSE_ID="?????"
export CRYOSPARC_MASTER_HOSTNAME="crunchy.???.???"
export CRYOSPARC_DB_PATH="/share/cryosparcuser/cryosparc_database"
export CRYOSPARC_BASE_PORT=39000
export CRYOSPARC_DEVELOP=false
export CRYOSPARC_INSECURE=false
export CRYOSPARC_CLICK_WRAP=true
export CRYOSPARC_HEARTBEAT_SECONDS=180
I have incremental rsync backups from the cryosparc database and recreated an older version from before the update, but the same error appears. I also tried downgrading to 4.1.0, no effect. Any suggestions?
Thanks,
Michael