cancel
Showing results for 
Search instead for 
Did you mean: 

Desktop lost a DBMS. How can I tell it where to find it?

usuallycwdillon
Node Clone

Today I shut down a database project I've been working on while I cleaned up some log files. (After doing some debugging, I forgot to reduce logging before doing some heavy processing and the neo4j.log had grown to over 400GiB. I deleted it and touched a new, empty neo4j.log file.)

I closed out of Desktop, corrected the log settings, deleted/replaced the neo4j.log file, restarted Desktop, but could not start the DBMS. Instead I found a warning icon and a message that, "This DBMS can't be found at the moment, it might be located in a location that is currently not connected to this device."

My log files show that it's looking for the database under the old .config/Neo4j Desktop/Application/neo4jDatabases/ location. However this database is located in the new .local/share/neo4j-relate/dbmss/ location.

It may be relevant that this database is a clone of a database (still able to run from the correct location in .local/share/neo4j-relate/dbmss/) which is itself derived from a clone of a backup of an upgraded database that once (more than a year ago) was located in the old location.

I am attaching some snippets of the app log file in case there are clues, but I'm mostly interested in getting Desktop to recognize the correct location of the database.

I had upgraded to Desktop 1.4.9 a few days ago, but this database has been stopped and started several times since then.

[2021-11-06 11:25:17.078] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 11:25:17.423] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 11:25:52.101] [info]  Graph App[e42b6bbf-f53e-43e8-b651-bbb1e0d3fb07]: Checking 1.5.1 for suitable desktop API version
[2021-11-06 11:25:52.102] [info]  Graph App[e42b6bbf-f53e-43e8-b651-bbb1e0d3fb07]: Version 1.5.1 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 11:25:52.455] [info]  Graph App[neo4j-browser-id]: Checking 4.3.5 for suitable desktop API version
[2021-11-06 11:25:52.456] [info]  Graph App[neo4j-browser-id]: Version 4.3.5 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 11:25:52.732] [info]  Graph App[neo4j-bloom-id]: Checking 1.9.0 for suitable desktop API version
[2021-11-06 11:25:52.732] [info]  Graph App[neo4j-bloom-id]: Version 1.9.0 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 11:25:57.079] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 11:25:57.419] [info]  Online check response: 200 version: 1.4.9
files

-- last 3 lines repeat until I shut down the DBMS -- 

[2021-11-06 11:33:57.084] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 11:33:57.423] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 11:34:22.073] [info]  Retrieved status for DBMS[06d1c69c-9738-49d5-b7a0-e90e557780a3]: true
[2021-11-06 11:34:22.074] [info]  Stopping Neo4j
[2021-11-06 11:34:35.236] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7687 }
[2021-11-06 11:34:35.238] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7474 }
[2021-11-06 11:34:35.240] [info]  Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
[2021-11-06 11:34:35.240] [info]  Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474
[2021-11-06 11:34:37.085] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 11:34:37.450] [info]  Online check response: 200 version: 1.4.9
files

-- repeat again until... -- 

[2021-11-06 11:45:17.089] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 11:45:17.219] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 11:45:51.568] [info]  Graph App[e42b6bbf-f53e-43e8-b651-bbb1e0d3fb07]: Checking 1.5.1 for suitable desktop API version
[2021-11-06 11:45:51.572] [info]  Graph App[e42b6bbf-f53e-43e8-b651-bbb1e0d3fb07]: Version 1.5.1 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 11:45:51.953] [info]  Graph App[neo4j-browser-id]: Checking 4.3.5 for suitable desktop API version
[2021-11-06 11:45:51.954] [info]  Graph App[neo4j-browser-id]: Version 4.3.5 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 11:45:52.186] [info]  Graph App[neo4j-bloom-id]: Checking 1.9.0 for suitable desktop API version
[2021-11-06 11:45:52.187] [info]  Graph App[neo4j-bloom-id]: Version 1.9.0 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 11:45:57.090] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 11:45:57.432] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 11:46:37.092] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 11:46:37.440] [info]  Online check response: 200 version: 1.4.9
files

-- repeat again until I shut down Desktop --

[2021-11-06 11:53:57.115] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 11:53:57.457] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 11:54:17.343] [info]  App is quitting
[2021-11-06 11:54:19.825] [info]  App quit with 0 code
[2021-11-06 12:24:31.231] [info]  Starting Neo4j Desktop 1.4.9 @ Linux 4.4.180-102-default
[2021-11-06 12:24:31.938] [info]  Initializing persistence
[2021-11-06 12:24:31.939] [info]  GraphQL server is running @ http://127.0.0.1:11001
[2021-11-06 12:24:32.108] [info]  Configuring crash reporting
[2021-11-06 12:24:32.110] [info]  Reading settings
[2021-11-06 12:24:32.112] [info]  Reading bundled resources /tmp/.mount_neo4j-57RoZp/resources
[2021-11-06 12:24:32.113] [info]  Reading bundled resources /tmp/.mount_neo4j-57RoZp/resources
[2021-11-06 12:24:32.251] [info]  Source directory /tmp/.mount_neo4j-57RoZp/resources/offline/plugins does not exist, skipping copy to /home/cw/.cache/neo4j-relate/plugin
[2021-11-06 12:24:32.252] [info]  Source directory /tmp/.mount_neo4j-57RoZp/resources/offline/plugin-versions does not exist, skipping copy to /home/cw/.local/share/neo4j-relate/plugin-versions
[2021-11-06 12:24:32.460] [warn]  Could not link DBMS to Relate. Installation path does not exist. {
  id: '06d1c69c-9738-49d5-b7a0-e90e557780a3',
  version: '4.2.6',
  installationRoot: '/home/cw/.config/Neo4j Desktop/Application/neo4jDatabases/06d1c69c-9738-49d5-b7a0-e90e557780a3/installation-4.2.6'
}
[2021-11-06 12:24:32.614] [info]  Starting Nest application... NestFactory true
[2021-11-06 12:24:32.657] [info]  ElectronModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.658] [info]  s dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.658] [info]  ConfigHostModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.659] [info]  ConfigHostModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.659] [info]  ConfigHostModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.660] [info]  WebModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.660] [info]  WebModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.660] [info]  ConfigModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.661] [info]  ConfigModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.661] [info]  ConfigModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.663] [info]  SystemModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.663] [info]  SystemModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.665] [info]  GraphQLSchemaBuilderModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.665] [info]  WindowModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.666] [info]  n dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.666] [info]  FilesModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.666] [info]  AuthModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.667] [info]  HealthModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.667] [info]  DBMSModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.667] [info]  DBMSPluginsModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.668] [info]  DBModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.668] [info]  ExtensionModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.668] [info]  ProjectModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:32.669] [info]  GraphQLModule dependencies initialized InstanceLoader true
[2021-11-06 12:24:33.162] [info]  Nest application successfully started NestApplication true
[2021-11-06 12:24:33.162] [info]  Configuring proxy: NO_PROXY
[2021-11-06 12:24:33.307] [info]  Relate management API is running @ http://dnode:12380
[2021-11-06 12:24:33.321] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:24:33.658] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:24:33.659] [info]  Stopping any running DBMSs
[2021-11-06 12:24:33.669] [warn]  Failed to fix all running databases Error: ENOENT: no such file or directory, scandir '/home/cw/.config/Neo4j Desktop/Application/neo4jDatabases/database-3c95bc1c-8ad8-4db7-b1a2-667dc88c59ca/installation-3.5.2/home/cw/Code/george/src/main/resources/data/databases'
    at readdirSync (fs.js:1021:3)
    at e.readdirSync (electron/js2c/asar_bundle.js:5:10478)
    at i (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:147315)
    at /tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:147575
    at Array.reduce (<anonymous>)
    at t.detectAndFixAllRunningDbmss (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:147551)
    at async App.<anonymous> (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:232002)
[2021-11-06 12:24:33.670] [info]  Registering listener for protocolManager/arguments/changed
[2021-11-06 12:24:33.674] [info]  Opening main window
[2021-11-06 12:24:33.677] [error] Protocol Manager type error: url must be string. url = undefined
[2021-11-06 12:24:33.896] [info]  Registering IPC listeners
[2021-11-06 12:24:33.902] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:24:34.249] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:24:36.277] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:24:36.322] [info]  Initiating Mixpanel: Name = Desktop Project; pId = 2556a08ecb18f6fe0a0d5488e704927e ; uId = client-d39444ab-04f8-49d9-9043-9dad78bec45b
[2021-11-06 12:24:36.327] [info]  Initiating Segment
[2021-11-06 12:24:36.452] [info]  Buffering metrics until application is online
[2021-11-06 12:24:36.521] [info]  Buffering metrics until application is online
[2021-11-06 12:24:36.659] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:24:41.066] [warn]  Failed to get DBMS path through Relate Error: Relate DBMS with tag neo4j-desktop-dbms-06d1c69c-9738-49d5-b7a0-e90e557780a3 not found
    at /tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:243552
    at Maybe.getOrElse (/tmp/.mount_neo4j-57RoZp/resources/app.asar/node_modules/@relate/types/dist/monads/monad.js:102:46)
    at Maybe.getOrElse (/tmp/.mount_neo4j-57RoZp/resources/app.asar/node_modules/@relate/types/dist/monads/primitive/maybe.monad.js:93:22)
    at P (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:243530)
    at async t.neo4jPath (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:160370)
    at async Object.exists (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:175778)
[2021-11-06 12:24:41.334] [info]  Retrieving status for DBMS[database-855ba6a4-894a-4d7b-ab8a-75e4c48612a1]
[2021-11-06 12:24:41.335] [info]  Retrieving status for DBMS[database-3c95bc1c-8ad8-4db7-b1a2-667dc88c59ca]
[2021-11-06 12:24:41.336] [info]  Retrieving status for DBMS[database-5232e0d7-8e0f-40f0-a7e6-e91d5e2a15f1]
[2021-11-06 12:24:41.339] [info]  Retrieving status for DBMS[database-53fd9b23-0bd3-4857-a176-694b4bafee2f]
[2021-11-06 12:24:41.342] [info]  Retrieving status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]
[2021-11-06 12:24:41.345] [info]  Retrieving status for DBMS[database-06d1c69c-9738-49d5-b7a0-e90e557780a3]
[2021-11-06 12:24:41.463] [info]  Retrieved status for DBMS[database-855ba6a4-894a-4d7b-ab8a-75e4c48612a1]: false
[2021-11-06 12:24:41.465] [info]  Retrieved status for DBMS[database-3c95bc1c-8ad8-4db7-b1a2-667dc88c59ca]: false
[2021-11-06 12:24:41.505] [info]  Retrieved status for DBMS[database-5232e0d7-8e0f-40f0-a7e6-e91d5e2a15f1]: false
[2021-11-06 12:24:41.508] [info]  Retrieved status for DBMS[database-53fd9b23-0bd3-4857-a176-694b4bafee2f]: false
[2021-11-06 12:24:41.534] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: false
[2021-11-06 12:24:41.543] [info]  Retrieved status for DBMS[database-06d1c69c-9738-49d5-b7a0-e90e557780a3]: false
[2021-11-06 12:24:43.299] [warn]  Failed to parse manifest file for Graph-App[neo4j-bloom]. Error: Graph-App[neo4j-bloom] does not contain manifest.json
    at t.getManifest (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:54051)
    at async y.resolveConfig (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:62931)
    at async M (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:44663)
    at async Promise.all (index 1)
    at async L.getGraphApps (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:47427)
[2021-11-06 12:24:43.479] [info]  Graph Apps: Removing installed but not configured []
[2021-11-06 12:24:43.484] [warn]  Failed to parse manifest file for Graph-App[neo4j-bloom]. Error: Graph-App[neo4j-bloom] does not contain manifest.json
    at t.getManifest (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:54051)
    at async y.resolveConfig (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:62931)
    at async M (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:44663)
    at async Promise.all (index 1)
    at async L.getGraphApps (/tmp/.mount_neo4j-57RoZp/resources/app.asar/dist/main.prod.js:1:47780)
[2021-11-06 12:24:45.899] [info]  Graph App[e42b6bbf-f53e-43e8-b651-bbb1e0d3fb07]: Checking 1.5.1 for suitable desktop API version
[2021-11-06 12:24:45.901] [info]  Graph App[e42b6bbf-f53e-43e8-b651-bbb1e0d3fb07]: Version 1.5.1 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 12:24:46.020] [info]  Graph App[neo4j-browser-id]: Checking 4.3.5 for suitable desktop API version
[2021-11-06 12:24:46.021] [info]  Graph App[neo4j-browser-id]: Version 4.3.5 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 12:24:46.337] [info]  Graph App[neo4j-bloom-id]: Checking 1.9.0 for suitable desktop API version
[2021-11-06 12:24:46.337] [info]  Graph App[neo4j-bloom-id]: Version 1.9.0 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 12:25:13.898] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:25:14.043] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:25:53.899] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:25:54.241] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:26:33.899] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:26:34.252] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:27:13.899] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:27:14.253] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:27:48.443] [info]  Retrieving status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]
[2021-11-06 12:27:48.539] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: false
[2021-11-06 12:27:48.637] [info]  Checking ports
[2021-11-06 12:27:48.741] [info]  Starting Neo4j
[2021-11-06 12:27:48.742] [info]  Starting DBMS [7b65a34c-c782-4ca5-94cf-fadc934788f0] 'v4.2.6'
[2021-11-06 12:27:49.643] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: true
[2021-11-06 12:27:49.646] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7687 }
[2021-11-06 12:27:49.648] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7474 }
[2021-11-06 12:27:49.651] [info]  Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
[2021-11-06 12:27:49.652] [info]  Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474
[2021-11-06 12:27:50.745] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: true
[2021-11-06 12:27:50.747] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7687 }
[2021-11-06 12:27:50.748] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7474 }
[2021-11-06 12:27:50.749] [info]  Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
[2021-11-06 12:27:50.750] [info]  Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474
[2021-11-06 12:27:51.845] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: true
[2021-11-06 12:27:51.847] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7687 }
[2021-11-06 12:27:51.848] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7474 }
[2021-11-06 12:27:51.850] [info]  Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
[2021-11-06 12:27:51.851] [info]  Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474
[2021-11-06 12:27:52.943] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: true
[2021-11-06 12:27:52.946] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7687 }
[2021-11-06 12:27:52.947] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7474 }
[2021-11-06 12:27:52.948] [info]  Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
[2021-11-06 12:27:52.948] [info]  Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474
[2021-11-06 12:27:53.899] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:27:54.044] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: true
[2021-11-06 12:27:54.046] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7687 }
[2021-11-06 12:27:54.046] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7474 }
[2021-11-06 12:27:54.047] [info]  Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
[2021-11-06 12:27:54.048] [info]  Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474
[2021-11-06 12:27:54.254] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:27:55.136] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: true
[2021-11-06 12:27:55.139] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7687 }
[2021-11-06 12:27:55.139] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7474 }
[2021-11-06 12:27:55.140] [info]  Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
[2021-11-06 12:27:55.141] [info]  Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474

-- repeats until --
 

[2021-11-06 12:28:54.448] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: true
[2021-11-06 12:28:54.450] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7687 }
[2021-11-06 12:28:54.451] [info]  Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 7474 }
[2021-11-06 12:28:54.452] [info]  Neo4j @ 7687 is down. connect ECONNREFUSED 127.0.0.1:7687
[2021-11-06 12:28:54.452] [info]  Neo4j @ 7474 is down. connect ECONNREFUSED 127.0.0.1:7474
[2021-11-06 12:28:55.451] [info]  Neo4j Start timeout. Service is not available after 60 seconds
[2021-11-06 12:29:09.763] [info]  App is quitting
[2021-11-06 12:29:11.209] [info]  App quit with 0 code
[2021-11-06 12:29:31.650] [info]  Starting Neo4j Desktop 1.4.9 @ Linux 4.4.180-102-default
[2021-11-06 12:29:32.205] [info]  Initializing persistence
[2021-11-06 12:29:32.207] [info]  GraphQL server is running @ http://127.0.0.1:11001
[2021-11-06 12:29:32.290] [info]  Configuring crash reporting
[2021-11-06 12:29:32.293] [info]  Reading settings
[2021-11-06 12:29:32.296] [info]  Reading bundled resources /tmp/.mount_neo4j-znRww0/resources
[2021-11-06 12:29:32.297] [info]  Reading bundled resources /tmp/.mount_neo4j-znRww0/resources
[2021-11-06 12:29:32.385] [info]  Source directory /tmp/.mount_neo4j-znRww0/resources/offline/plugins does not exist, skipping copy to /home/cw/.cache/neo4j-relate/plugin
[2021-11-06 12:29:32.386] [info]  Source directory /tmp/.mount_neo4j-znRww0/resources/offline/plugin-versions does not exist, skipping copy to /home/cw/.local/share/neo4j-relate/plugin-versions
[2021-11-06 12:29:32.423] [warn]  Could not link DBMS to Relate. Installation path does not exist. {
  id: '06d1c69c-9738-49d5-b7a0-e90e557780a3',
  version: '4.2.6',
  installationRoot: '/home/cw/.config/Neo4j Desktop/Application/neo4jDatabases/06d1c69c-9738-49d5-b7a0-e90e557780a3/installation-4.2.6'
}
[2021-11-06 12:29:32.476] [info]  Starting Nest application... NestFactory true
[2021-11-06 12:29:32.518] [info]  ElectronModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.519] [info]  s dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.520] [info]  ConfigHostModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.520] [info]  ConfigHostModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.521] [info]  ConfigHostModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.521] [info]  WebModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.521] [info]  WebModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.522] [info]  ConfigModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.522] [info]  ConfigModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.523] [info]  ConfigModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.524] [info]  SystemModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.525] [info]  SystemModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.527] [info]  GraphQLSchemaBuilderModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.527] [info]  WindowModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.528] [info]  n dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.528] [info]  FilesModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.529] [info]  AuthModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.529] [info]  HealthModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.529] [info]  DBMSModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.530] [info]  DBMSPluginsModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.530] [info]  DBModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.530] [info]  ExtensionModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.531] [info]  ProjectModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.531] [info]  GraphQLModule dependencies initialized InstanceLoader true
[2021-11-06 12:29:32.972] [info]  Nest application successfully started NestApplication true
[2021-11-06 12:29:32.973] [info]  Configuring proxy: NO_PROXY
[2021-11-06 12:29:32.997] [info]  Relate management API is running @ http://dnode:12574
[2021-11-06 12:29:33.013] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:29:33.182] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:29:33.184] [info]  Stopping any running DBMSs
[2021-11-06 12:29:33.193] [warn]  Failed to fix all running databases Error: ENOENT: no such file or directory, scandir '/home/cw/.config/Neo4j Desktop/Application/neo4jDatabases/database-3c95bc1c-8ad8-4db7-b1a2-667dc88c59ca/installation-3.5.2/home/cw/Code/george/src/main/resources/data/databases'
    at readdirSync (fs.js:1021:3)
    at e.readdirSync (electron/js2c/asar_bundle.js:5:10478)
    at i (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:147315)
    at /tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:147575
    at Array.reduce (<anonymous>)
    at t.detectAndFixAllRunningDbmss (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:147551)
    at async App.<anonymous> (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:232002)
[2021-11-06 12:29:33.195] [info]  Registering listener for protocolManager/arguments/changed
[2021-11-06 12:29:33.199] [info]  Opening main window
[2021-11-06 12:29:33.200] [error] Protocol Manager type error: url must be string. url = undefined
[2021-11-06 12:29:33.363] [info]  Registering IPC listeners
[2021-11-06 12:29:33.369] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:29:33.506] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:29:35.573] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:29:35.923] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:29:35.940] [info]  Buffering metrics until application is online
[2021-11-06 12:29:35.998] [info]  Initiating Mixpanel: Name = Desktop Project; pId = 2556a08ecb18f6fe0a0d5488e704927e ; uId = client-d39444ab-04f8-49d9-9043-9dad78bec45b
[2021-11-06 12:29:36.002] [info]  Initiating Segment
[2021-11-06 12:29:36.127] [info]  Buffering metrics until application is online
[2021-11-06 12:29:40.080] [warn]  Failed to get DBMS path through Relate Error: Relate DBMS with tag neo4j-desktop-dbms-06d1c69c-9738-49d5-b7a0-e90e557780a3 not found
    at /tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:243552
    at Maybe.getOrElse (/tmp/.mount_neo4j-znRww0/resources/app.asar/node_modules/@relate/types/dist/monads/monad.js:102:46)
    at Maybe.getOrElse (/tmp/.mount_neo4j-znRww0/resources/app.asar/node_modules/@relate/types/dist/monads/primitive/maybe.monad.js:93:22)
    at P (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:243530)
    at async t.neo4jPath (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:160370)
    at async Object.exists (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:175778)
[2021-11-06 12:29:40.084] [info]  Retrieving status for DBMS[database-855ba6a4-894a-4d7b-ab8a-75e4c48612a1]
[2021-11-06 12:29:40.085] [info]  Retrieving status for DBMS[database-3c95bc1c-8ad8-4db7-b1a2-667dc88c59ca]
[2021-11-06 12:29:40.086] [info]  Retrieving status for DBMS[database-5232e0d7-8e0f-40f0-a7e6-e91d5e2a15f1]
[2021-11-06 12:29:40.088] [info]  Retrieving status for DBMS[database-53fd9b23-0bd3-4857-a176-694b4bafee2f]
[2021-11-06 12:29:40.090] [info]  Retrieving status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]
[2021-11-06 12:29:40.091] [info]  Retrieving status for DBMS[database-06d1c69c-9738-49d5-b7a0-e90e557780a3]
[2021-11-06 12:29:40.194] [info]  Retrieved status for DBMS[database-855ba6a4-894a-4d7b-ab8a-75e4c48612a1]: false
[2021-11-06 12:29:40.214] [info]  Retrieved status for DBMS[database-3c95bc1c-8ad8-4db7-b1a2-667dc88c59ca]: false
[2021-11-06 12:29:40.227] [info]  Retrieved status for DBMS[database-5232e0d7-8e0f-40f0-a7e6-e91d5e2a15f1]: false
[2021-11-06 12:29:40.241] [info]  Retrieved status for DBMS[database-53fd9b23-0bd3-4857-a176-694b4bafee2f]: false
[2021-11-06 12:29:40.252] [info]  Retrieved status for DBMS[7b65a34c-c782-4ca5-94cf-fadc934788f0]: false
[2021-11-06 12:29:40.263] [info]  Retrieved status for DBMS[database-06d1c69c-9738-49d5-b7a0-e90e557780a3]: false
[2021-11-06 12:29:41.763] [info]  Buffering metrics until application is online
[2021-11-06 12:29:41.764] [info]  Buffering metrics until application is online
[2021-11-06 12:29:41.778] [warn]  Failed to parse manifest file for Graph-App[neo4j-bloom]. Error: Graph-App[neo4j-bloom] does not contain manifest.json
    at t.getManifest (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:54051)
    at async y.resolveConfig (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:62931)
    at async M (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:44663)
    at async Promise.all (index 1)
    at async L.getGraphApps (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:47427)
[2021-11-06 12:29:42.058] [info]  Graph Apps: Removing installed but not configured []
[2021-11-06 12:29:42.062] [warn]  Failed to parse manifest file for Graph-App[neo4j-bloom]. Error: Graph-App[neo4j-bloom] does not contain manifest.json
    at t.getManifest (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:54051)
    at async y.resolveConfig (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:62931)
    at async M (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:44663)
    at async Promise.all (index 1)
    at async L.getGraphApps (/tmp/.mount_neo4j-znRww0/resources/app.asar/dist/main.prod.js:1:47780)
[2021-11-06 12:29:43.633] [info]  Graph App[e42b6bbf-f53e-43e8-b651-bbb1e0d3fb07]: Checking 1.5.1 for suitable desktop API version
[2021-11-06 12:29:43.634] [info]  Graph App[e42b6bbf-f53e-43e8-b651-bbb1e0d3fb07]: Version 1.5.1 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 12:29:43.917] [info]  Graph App[neo4j-browser-id]: Checking 4.3.5 for suitable desktop API version
[2021-11-06 12:29:43.918] [info]  Graph App[neo4j-browser-id]: Version 4.3.5 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 12:29:44.049] [info]  Graph App[neo4j-bloom-id]: Checking 1.9.0 for suitable desktop API version
[2021-11-06 12:29:44.050] [info]  Graph App[neo4j-bloom-id]: Version 1.9.0 satisfied. { desktopApiVersion: '1.4.0', packageDesktopApiVersion: '^1.4.0' }
[2021-11-06 12:30:13.366] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:30:13.556] [info]  Online check response: 200 version: 1.4.9
files
[2021-11-06 12:30:53.368] [info]  Online check request: https://dist.neo4j.org/neo4j-desktop/win/latest.yml
[2021-11-06 12:30:53.714] [info]  Online check response: 200 version: 1.4.9
files
1 ACCEPTED SOLUTION

usuallycwdillon
Node Clone

A quick follow-up:

I realized that instead of making Desktop recognize the existing database directory, I could just treat this as a 'forced migration'. I created a new DBMS then replaced the contents of the data/ directory with that the lost DBMS. My problem is solved.

I am still curious about the cause of this problem.

View solution in original post

1 REPLY 1

usuallycwdillon
Node Clone

A quick follow-up:

I realized that instead of making Desktop recognize the existing database directory, I could just treat this as a 'forced migration'. I created a new DBMS then replaced the contents of the data/ directory with that the lost DBMS. My problem is solved.

I am still curious about the cause of this problem.