Web UI stuck at "Attempting to Reconnect..."

Hello,

After updating our instance from v5.0.6 to v5.1.0, the web interface no longer loads. Both Chrome and Edge display “Attempting to Reconnect…” and refresh repeatedly.

The app process is repeatedly crashing and being restarted.

Here is an app log (cryosparc_master/run/app.log).

2026-11-06 17:22:11,877 ERROR | Error: Failed to import documents into Typesense: {“id”:“633e58efb90695785e9c4c6b”,“uid”:“J352”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“hetero_refine”,“title”:“”,“description”:“Open vs Closed resorting // class0: closed // class1: open // class2: junk”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665030383149}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e5accb90695785e9cc0ec”,“uid”:“J353”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“hetero_refine”,“title”:“”,“description”:“Putative_closed_class // class0: closed // class1: open // class2: junk”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665030860982}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e5ae3b90695785e9ccc0e”,“uid”:“J354”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“hetero_refine”,“title”:“”,“description”:“Putative_open_class // class0: closed // class1: open // class2: junk”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665030883941}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e6369b90695785e9e23a2”,“uid”:“J356”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“nonuniform_refine_new”,“title”:“”,“description”:“Putative_closed_class0 // good”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665033065974}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e63cbb90695785e9e4487”,“uid”:“J358”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“nonuniform_refine_new”,“title”:“”,“description”:“Putative_closed_class1”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665033163226}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e647cb90695785e9e68ba”,“uid”:“J359”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“nonuniform_refine_new”,“title”:“”,“description”:“Putative_open_class0 // no CHS2”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665033340239}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e648cb90695785e9e7a41”,“uid”:“J360”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“nonuniform_refine_new”,“title”:“”,“description”:“Putative_open_class1 // no CHS2, mixed TM orientation…”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665033356509}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e76bfb90695785ea0f463”,“uid”:“J362”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“nonuniform_refine_new”,“title”:“”,“description”:“Putative_closed_class0 // 2nd NU-refine with CTF refine”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665038015137}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e7791b90695785ea13c17”,“uid”:“J363”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“hetero_refine”,“title”:“”,“description”:“Putative_open_class1 // class0: closed >> bad // class1: open >> mixed // class2: junk”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665038225832}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e816eb90695785ea26d8e”,“uid”:“J364”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“hetero_refine”,“title”:“”,“description”:“Putative_open_class0 + putative_open_class1_class1 mix // class0: closed // class1: putative_open_class0 // class2: junk”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665040750459}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e82ccb90695785ea2d962”,“uid”:“J368”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“nonuniform_refine_new”,“title”:“”,“description”:“Putative_closed_class0 // 3rd NU-refine with defocus refine”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665041100022}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e862fb90695785ea36ba4”,“uid”:“J369”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“nonuniform_refine_new”,“title”:“”,“description”:“Putative_open_class_2nd_classification”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665041967194}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e885cb90695785ea402b2”,“uid”:“J372”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“homo_abinit”,“title”:“”,“description”:“Ab-initio from putative open class 2nd classification”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665042524256}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e901bb90695785ea4ef1f”,“uid”:“J373”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“hetero_refine”,“title”:“”,“description”:“Putative_open_class 2nd classification // class0: closed >> open? // class1: junk // class2: self ab-initio >> closed”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665044507598}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e9048b90695785ea4fd57”,“uid”:“J374”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“homo_abinit”,“title”:“”,“description”:“Ab-initio from putative open class0”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665044552437}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e90a5b90695785ea53506”,“uid”:“J375”,“workspace_uids”:[“W2”],“project_uid”:“P37”,“status”:“completed”,“job_type”:“hetero_refine”,“title”:“”,“description”:“Putative_open_class0 // class0: closed // class1: junk // class2: self ab-initio”,“created_by_user_id”:“614c0ccaa256d13f619b58c4”,“created_at”:1665044645722}
2026-11-06 17:22:11,877 ERROR | {“id”:“633e962ab90695785ea60982”,“uid”:“J376”,“workspace_uids”:[“W2”],"project_
2026-11-06 17:22:11,877 ERROR | at $v.sync (/home/structbio/Cryosparc/cryosparc_master/app/custom-server/dist/server/index.js:1014:5382)
2026-11-06 17:22:11,877 ERROR | at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2026-11-06 17:22:11,877 ERROR | at async $v.init (/home/structbio/Cryosparc/cryosparc_master/app/custom-server/dist/server/index.js:1014:2896)
2026-11-06 17:22:16,616 INFO | DDP port: 25006
2026-11-06 17:22:16,617 INFO | /websocket proxy target: http://~~~
[HPM] Proxy created: /websocket → http://~~~
2026-11-06 17:22:16,625 INFO | [Typesense] Connected
(node:3696405) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)
2026-11-06 17:22:16,658 INFO | [MongoDB] Connected
2026-11-06 17:22:16,659 INFO | [Typesense] Initialization started
2026-11-06 17:22:16,668 INFO | [ReportsManager:initialized]
2026-11-06 17:22:16,669 INFO | [MigrationManager:initialized]
2026-11-06 17:22:16,669 INFO | [MigrationManager:start]
2026-11-06 17:22:16,669 INFO | [MigrationManager:migrateNotes]
2026-11-06 17:22:16,700 INFO | [Typesense] Performing incremental sync since 1970-01-01T00:00:00.000Z
2026-11-06 17:22:16,789 INFO | Listening: http://~~~

My Claude says that this is the cause

and gives a solution that add “tags” field to old jobs (we already tested)

Solution

cryosparcm cli "{c: db[c].update_many({'tags': {'\$exists': False}}, {'\$set': {'tags': []}}).modified_count for c in ['jobs','projects','workspaces']}"