Hi,
I’m still having the issue even after upgrading 4.0.2.
Basically, the cryoSPARC process status is:
app EXITED Oct 26 11:47 PM
app_api RUNNING pid 254605, uptime 0:00:03
app_api_dev STOPPED Not started
app_legacy STOPPED Not started
app_legacy_dev STOPPED Not started
command_core RUNNING pid 252549, uptime 0:00:50
command_rtp RUNNING pid 252903, uptime 0:00:42
command_vis RUNNING pid 252824, uptime 0:00:43
database RUNNING pid 252365, uptime 0:00:52
here’s cryosparcm log database
----------------------------------------------------------------------------
License is valid
2022-10-26T23:46:22.612-0400 I REPL [replexec-0] transition to RECOVERING from STARTUP2
2022-10-26T23:46:22.612-0400 I REPL [replexec-0] Starting replication fetcher thread
2022-10-26T23:46:22.612-0400 I REPL [replexec-0] Starting replication applier thread
2022-10-26T23:46:22.612-0400 I REPL [replexec-0] Starting replication reporter thread
2022-10-26T23:46:22.613-0400 I REPL [rsSync] transition to SECONDARY from RECOVERING
2022-10-26T23:46:22.613-0400 I REPL [rsSync] conducting a dry run election to see if we could be elected. current term: 84
2022-10-26T23:46:22.614-0400 I REPL [replexec-0] dry election run succeeded, running for election in term 85
2022-10-26T23:46:22.629-0400 I REPL [replexec-0] election succeeded, assuming primary role in term 85
2022-10-26T23:46:22.629-0400 I REPL [replexec-0] transition to PRIMARY from SECONDARY
2022-10-26T23:46:22.629-0400 I REPL [replexec-0] Resetting sync source to empty, which was :27017
2022-10-26T23:46:22.629-0400 I REPL [replexec-0] Entering primary catch-up mode.
2022-10-26T23:46:22.629-0400 I REPL [replexec-0] Exited primary catch-up mode.
2022-10-26T23:46:24.441-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42194 #1 (1 connection now open)
2022-10-26T23:46:24.448-0400 I NETWORK [conn1] received client metadata from 127.0.0.1:42194 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.6.23" }, os: { type: "Linux", name: "CentOS Linux release 7.6.1810 (Core) ", architecture: "x86_64", version: "Kernel 3.10.0-957.21.3.el7.x86_64" } }
2022-10-26T23:46:24.463-0400 I ACCESS [conn1] Successfully authenticated as principal cryosparc_admin on admin from client 127.0.0.1:42194
2022-10-26T23:46:24.467-0400 I ACCESS [conn1] Successfully authenticated as principal cryosparc_admin on admin from client 127.0.0.1:42194
2022-10-26T23:46:24.470-0400 I NETWORK [conn1] end connection 127.0.0.1:42194 (0 connections now open)
2022-10-26T23:46:24.615-0400 I REPL [rsSync] transition to primary complete; database writes are now permitted
2022-10-26T23:46:30.226-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42196 #2 (1 connection now open)
2022-10-26T23:46:30.226-0400 I NETWORK [conn2] received client metadata from 127.0.0.1:42196 conn2: { driver: { name: "PyMongo", version: "3.12.2" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "CPython 3.7.12.final.0" }
2022-10-26T23:46:30.229-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42198 #3 (2 connections now open)
2022-10-26T23:46:30.229-0400 I NETWORK [conn3] received client metadata from 127.0.0.1:42198 conn3: { driver: { name: "PyMongo", version: "3.12.2" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "CPython 3.7.12.final.0" }
2022-10-26T23:46:30.246-0400 I ACCESS [conn3] Successfully authenticated as principal cryosparc_user on admin from client 127.0.0.1:42198
2022-10-26T23:46:30.957-0400 I WRITE [conn3] update meteor.jobs command: { q: { cluster_job_id: { $exists: false } }, u: { $set: { cluster_job_id: null } }, multi: true, upsert: false } planSummary: COLLSCAN keysExamined:0 docsExamined:2517 nMatched:0 nModified:0 numYields:22 locks:{ Global: { acquireCount: { r: 23, w: 23 } }, Database: { acquireCount: { w: 23 } }, Collection: { acquireCount: { w: 23 } } } 355ms
2022-10-26T23:46:30.957-0400 I COMMAND [conn3] command meteor.$cmd command: update { update: "jobs", ordered: true, lsid: { id: UUID("22af8554-8e2e-435b-8d9b-51f164233cf9") }, $clusterTime: { clusterTime: Timestamp(1666842390, 2), signature: { hash: BinData(0, 6D808EFFCD3D792A2E53F54D95C25BD8CDE275ED), keyId: 7150458212343349249 } }, $db: "meteor", $readPreference: { mode: "primary" } } numYields:0 reslen:229 locks:{ Global: { acquireCount: { r: 23, w: 23 } }, Database: { acquireCount: { w: 23 } }, Collection: { acquireCount: { w: 23 } } } protocol:op_msg 355ms
2022-10-26T23:46:31.013-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42204 #4 (3 connections now open)
2022-10-26T23:46:31.015-0400 I NETWORK [conn4] received client metadata from 127.0.0.1:42204 conn4: { driver: { name: "PyMongo", version: "3.12.2" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "CPython 3.7.12.final.0" }
2022-10-26T23:46:31.017-0400 I ACCESS [conn4] Successfully authenticated as principal cryosparc_user on admin from client 127.0.0.1:42204
2022-10-26T23:46:33.030-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42216 #5 (4 connections now open)
2022-10-26T23:46:33.030-0400 I NETWORK [conn5] received client metadata from 127.0.0.1:42216 conn5: { driver: { name: "PyMongo", version: "3.12.2" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "CPython 3.7.12.final.0" }
2022-10-26T23:46:33.031-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42218 #6 (5 connections now open)
2022-10-26T23:46:33.032-0400 I NETWORK [conn6] received client metadata from 127.0.0.1:42218 conn6: { driver: { name: "PyMongo", version: "3.12.2" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "CPython 3.7.12.final.0" }
2022-10-26T23:46:33.043-0400 I ACCESS [conn6] Successfully authenticated as principal cryosparc_user on admin from client 127.0.0.1:42218
2022-10-26T23:46:38.182-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42254 #7 (6 connections now open)
2022-10-26T23:46:38.185-0400 I NETWORK [conn7] received client metadata from 127.0.0.1:42254 conn7: { driver: { name: "nodejs", version: "4.9.0" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "Node.js v16.14.2, LE (unified)|Node.js v16.14.2, LE (unified)" }
2022-10-26T23:46:38.189-0400 I NETWORK [conn7] end connection 127.0.0.1:42254 (5 connections now open)
2022-10-26T23:46:40.083-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42264 #8 (6 connections now open)
2022-10-26T23:46:40.093-0400 I NETWORK [conn8] received client metadata from 127.0.0.1:42264 conn8: { driver: { name: "nodejs", version: "4.3.1" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "Node.js v14.19.3, LE (unified)|Node.js v14.19.3, LE (unified)" }
2022-10-26T23:46:40.098-0400 I NETWORK [conn8] end connection 127.0.0.1:42264 (5 connections now open)
2022-10-26T23:46:41.600-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42278 #9 (6 connections now open)
2022-10-26T23:46:41.600-0400 I NETWORK [conn9] received client metadata from 127.0.0.1:42278 conn9: { driver: { name: "PyMongo", version: "3.12.2" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "CPython 3.7.12.final.0" }
2022-10-26T23:46:41.603-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42280 #10 (7 connections now open)
2022-10-26T23:46:41.604-0400 I NETWORK [conn10] received client metadata from 127.0.0.1:42280 conn10: { driver: { name: "PyMongo", version: "3.12.2" }, os: { type: "Linux", name: "Linux", architecture: "x86_64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "CPython 3.7.12.final.0" }
2022-10-26T23:46:41.630-0400 I ACCESS [conn10] Successfully authenticated as principal cryosparc_user on admin from client 127.0.0.1:42280
2022-10-26T23:47:11.775-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42528 #11 (8 connections now open)
2022-10-26T23:47:11.779-0400 I NETWORK [conn11] received client metadata from 127.0.0.1:42528 conn11: { driver: { name: "nodejs", version: "4.3.1" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "Node.js v14.19.3, LE (unified)|Node.js v14.19.3, LE (unified)" }
2022-10-26T23:47:11.784-0400 I NETWORK [conn11] end connection 127.0.0.1:42528 (7 connections now open)
2022-10-26T23:47:43.498-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42660 #12 (8 connections now open)
2022-10-26T23:47:43.502-0400 I NETWORK [conn12] received client metadata from 127.0.0.1:42660 conn12: { driver: { name: "nodejs", version: "4.3.1" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "Node.js v14.19.3, LE (unified)|Node.js v14.19.3, LE (unified)" }
2022-10-26T23:47:43.507-0400 I NETWORK [conn12] end connection 127.0.0.1:42660 (7 connections now open)
2022-10-26T23:48:15.198-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42782 #13 (8 connections now open)
2022-10-26T23:48:15.202-0400 I NETWORK [conn13] received client metadata from 127.0.0.1:42782 conn13: { driver: { name: "nodejs", version: "4.3.1" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "Node.js v14.19.3, LE (unified)|Node.js v14.19.3, LE (unified)" }
2022-10-26T23:48:15.207-0400 I NETWORK [conn13] end connection 127.0.0.1:42782 (7 connections now open)
2022-10-26T23:48:46.919-0400 I NETWORK [listener] connection accepted from 127.0.0.1:42906 #14 (8 connections now open)
2022-10-26T23:48:46.924-0400 I NETWORK [conn14] received client metadata from 127.0.0.1:42906 conn14: { driver: { name: "nodejs", version: "4.3.1" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "3.10.0-957.21.3.el7.x86_64" }, platform: "Node.js v14.19.3, LE (unified)|Node.js v14.19.3, LE (unified)" }
2022-10-26T23:48:46.928-0400 I NETWORK [conn14] end connection 127.0.0.1:42906 (7 connections now open)
here’s cryosparcm log app
2022-10-26 23:46:38,167 INFO | DDP port: 39006
2022-10-26 23:46:38,169 INFO | /websocket proxy target: http://localhost:39006
[HPM] Proxy created: /websocket -> http://localhost:39006
2022-10-26 23:47:08,187 ERROR | [MongoDB] Unable to connect connect ECONNREFUSED ::1:39001 eV [MongoServerSelectionError]: connect ECONNREFUSED ::1:39001
2022-10-26 23:47:08,187 ERROR | at Timeout._onTimeout (/home/cryosparc_user/software/cryosparc/cryosparc2_master/cryosparc_app/custom-server/dist/server/index.js:24:651839)
2022-10-26 23:47:08,187 ERROR | at listOnTimeout (node:internal/timers:559:17)
2022-10-26 23:47:08,187 ERROR | at processTimers (node:internal/timers:502:7) {
2022-10-26 23:47:08,187 ERROR | reason: hg {
2022-10-26 23:47:08,187 ERROR | type: 'ReplicaSetNoPrimary',
2022-10-26 23:47:08,187 ERROR | servers: Map(1) { 'localhost:39001' => [AW] },
2022-10-26 23:47:08,187 ERROR | stale: false,
2022-10-26 23:47:08,187 ERROR | compatible: true,
2022-10-26 23:47:08,187 ERROR | heartbeatFrequencyMS: 10000,
2022-10-26 23:47:08,187 ERROR | localThresholdMS: 15,
2022-10-26 23:47:08,187 ERROR | setName: 'meteor',
2022-10-26 23:47:08,187 ERROR | maxElectionId: new ObjectId("7fffffff0000000000000055"),
2022-10-26 23:47:08,187 ERROR | maxSetVersion: 1,
2022-10-26 23:47:08,187 ERROR | commonWireVersion: 0,
2022-10-26 23:47:08,187 ERROR | logicalSessionTimeoutMinutes: null
2022-10-26 23:47:08,187 ERROR | },
2022-10-26 23:47:08,187 ERROR | code: undefined,
2022-10-26 23:47:08,187 ERROR | [Symbol(errorLabels)]: Set(0) {}
2022-10-26 23:47:08,187 ERROR | }
2022-10-26 23:47:08,194 ERROR | Database initialization failed
given logs, it seems like app is unable to connect to the database.
Please let me know if you need any additional info.
Thank you.
p.s.
cryosparcm checkdb & test i both all passed without any errors.