We ran out of space in the partition the cryosparc_user home directory is located in, so I moved the home dirs to a new partition, not realizing that on install Anaconda hardwires the absolute path into various executables (why they’re not using relative paths like everyone else is beyond me). In order for the users to continue to work while I sort this out, I moved just the cryosparc_user folder back to the original location, but it still doesn’t work! It seems to be having troubles reconnecting to it’s own database:
cryosparc_user@kraken:~/software/cryosparc2_master/bin$ ./cryosparcm stop
CryoSPARC is running.
Stopping cryosparc
Shut down
cryosparc_user@kraken:~/software/cryosparc2_master/bin$ ./cryosparcm start
Starting cryoSPARC System master process..
CryoSPARC is not already running.
database: ERROR (spawn error)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/local/home/cryosparc_user/software/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/mongo_client.py", line 1149, in database_names
"listDatabases")["databases"]]
File "/local/home/cryosparc_user/software/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/database.py", line 491, in command
with client._socket_for_reads(read_preference) as (sock_info, slave_ok): File "/local/home/cryosparc_user/software/cryosparc2_master/deps/anaconda/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/local/home/cryosparc_user/software/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/mongo_client.py", line 859, in _socket_for_reads
with self._get_socket(read_preference) as sock_info:
File "/local/home/cryosparc_user/software/cryosparc2_master/deps/anaconda/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/local/home/cryosparc_user/software/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/mongo_client.py", line 823, in _get_socket
server = self._get_topology().select_server(selector)
File "/local/home/cryosparc_user/software/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/topology.py", line 214, in select_server
address))
File "/local/home/cryosparc_user/software/cryosparc2_master/deps/anaconda/lib/python2.7/site-packages/pymongo/topology.py", line 189, in select_servers self._error_message(selector))
pymongo.errors.ServerSelectionTimeoutError: localhost:39001: [Errno 111] Connection refused
Any help with this would be appreciated. I can reinstall CryoSPARC from scratch, but we don’t want to lose our database.