Version mismatch error

I recently tried to update CryoSPARC to the latest version v4.5.3. The update seems to have gone well.
But when I run CryoSPARC with the new version 4.5.3. I received an error about version mismatch “AssertionError: Version mismatch! worker version (v4.5.3) and Master version (v4.4.1) are not the same. Please update”. I have seen threads where people have reported this issue in the past but the issue was with worker not being updated to the latest version. It is the opposite in my case. Please advise. Many Thanks.

Interesting :thinking: . Please can you post the outputs of these commands:

cryosparcm status | head -n 5
cryosparcm log update | tail -n 60

[cryosparcuser@yellowstone bin]$ ./cryosparcm status | head -n 5

CryoSPARC System master node installed at
/home/cryosparcuser/cryosparc/cryosparc_master
Current cryoSPARC version: v4.5.3

[cryosparcuser@yellowstone bin]$ ./cryosparcm log update | tail -n 60
    anaconda python installation successful.
  ------------------------------------------------------------------------
  Extracting all conda packages...
  ------------------------------------------------------------------------
..................................................................................................
  ------------------------------------------------------------------------
    Done.
    conda packages installation successful.
  ------------------------------------------------------------------------
  Main dependency installation completed. Continuing...
  ------------------------------------------------------------------------
  Completed.
  Currently checking hash for mongodb
  Dependencies for mongodb have not changed.
  Completed dependency check. 
 
===================================================
Successfully updated master to version v4.5.3.
===================================================
 
Starting CryoSPARC System master process...
CryoSPARC is not already running.
configuring database...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/cryosparcuser/cryosparc/cryosparc_master/cryosparc_compute/database_management.py", line 47, in configure_mongo
    initialize_replica_set()
  File "/home/cryosparcuser/cryosparc/cryosparc_master/cryosparc_compute/database_management.py", line 84, in initialize_replica_set
    admin_db = try_get_pymongo_db(mongo_client)
  File "/home/cryosparcuser/cryosparc/cryosparc_master/cryosparc_compute/database_management.py", line 251, in try_get_pymongo_db
    admin_db.command(({'serverStatus': 1}))
  File "/home/cryosparcuser/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/cryosparcuser/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/database.py", line 894, in command
    return self._command(
  File "/home/cryosparcuser/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/database.py", line 743, in _command
    return conn.command(
  File "/home/cryosparcuser/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/helpers.py", line 322, in inner
    return func(*args, **kwargs)
  File "/home/cryosparcuser/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/pool.py", line 968, in command
    return command(
  File "/home/cryosparcuser/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/network.py", line 192, in command
    helpers._check_command_response(
  File "/home/cryosparcuser/cryosparc/cryosparc_master/deps/anaconda/envs/cryosparc_master_env/lib/python3.10/site-packages/pymongo/helpers.py", line 230, in _check_command_response
    raise OperationFailure(errmsg, code, response, max_wire_version)
pymongo.errors.OperationFailure: there are no users authenticated, full error: {'operationTime': Timestamp(1722550391, 1), 'ok': 0.0, 'errmsg': 'there are no users authenticated', 'code': 13, 'codeName': 'Unauthorized', '$clusterTime': {'clusterTime': Timestamp(1722550391, 1), 'signature': {'hash': b'\xcf\xf4S\xcc\x13\xaa\xe9}\xcb\xb7\xaf\xc2\xc7\xbbCGe\x9d\x81\xca', 'keyId': 7341090224107159555}}}
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)
[2024-08-01T17:13:12-05:00] Error configuring database. Most recent database log lines:
2024-08-01T17:12:59.111-0500 I STORAGE  [initandlisten] exception in initAndListen: DBPathInUse: Unable to lock the lock file: /home/cryosparcuser/cryosparc/cryosparc_database/mongod.lock (Resource temporarily unavailable). Another mongod instance is already running on the /home/cryosparcuser/cryosparc/cryosparc_database directory, terminating
2024-08-01T17:12:59.111-0500 I CONTROL  [initandlisten] now exiting
2024-08-01T17:12:59.111-0500 I CONTROL  [initandlisten] shutting down with code:100
2024-08-01T17:13:02.086-0500 I NETWORK  [listener] connection accepted from 127.0.0.1:58312 #363 (43 connections now open)
2024-08-01T17:13:02.086-0500 I NETWORK  [conn363] received client metadata from 127.0.0.1:58312 conn363: { driver: { name: "PyMongo", version: "4.6.2" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "4.18.0-513.11.1.el8_9.0.1.x86_64" }, platform: "CPython 3.10.13.final.0" }
2024-08-01T17:13:02.087-0500 I NETWORK  [listener] connection accepted from 127.0.0.1:58326 #364 (44 connections now open)
2024-08-01T17:13:02.087-0500 I NETWORK  [conn364] received client metadata from 127.0.0.1:58326 conn364: { driver: { name: "PyMongo", version: "4.6.2" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "4.18.0-513.11.1.el8_9.0.1.x86_64" }, platform: "CPython 3.10.13.final.0" }
2024-08-01T17:13:12.099-0500 I ACCESS   [conn364] Unauthorized: not authorized on admin to execute command { endSessions: [ { id: UUID("1e2505ad-844d-485b-849c-54c08878f17f") } ], $clusterTime: { clusterTime: Timestamp(1722550391, 1), signature: { hash: BinData(0, CFF453CC13AAE97DCBB7AFC2C7BB4347659D81CA), keyId: 7341090224107159555 } }, $db: "admin", $readPreference: { mode: "primaryPreferred" } }
2024-08-01T17:13:12.099-0500 I NETWORK  [conn364] end connection 127.0.0.1:58326 (43 connections now open)
2024-08-01T17:13:12.099-0500 I NETWORK  [conn363] end connection 127.0.0.1:58312 (42 connections now open)
[cryosparcuser@yellowstone bin]$

Thanks @thedude .
Please can you post the outputs of the following commands as/on cryosparcuser@yellowstone:

cryosparcm status | grep -v LICENSE
ps -eo user,pid,ppid,start,command | grep -e cryosparc_ -e mongo
ls -l /tmp/cryosparc*sock /tmp/mongo*sock

and then try if a complete CryoSPARC shutdown and startup resolve the issue?

Thank you @wtempel. I was able to fix the issue by restarting the workstation before trying to update again. The master version is up to date now with the latest version. However, I have a version mismatch for the worker which has not been automatically updated. I am trying to update it manually.