前言:博主在安装 neo4j community4.4.8 后,考虑到 community 版功能较少,于是安装 desktop1.4.15。安装完成后,遇到下文记录的问题,报错三始终未能解决。
首次进入 neo4j desktop 后,因为7474
端口被 community 版本占用,所以会自动提示是否更换端口号,博主确认更换了端口号(blot->11003),但有文章提出只需要关闭 community 服务即可,具体课参考:Neo4j 同时安装neo4j community和desktop导致端口占用
博主的解决方法是卸载两个版本,重新安装 desktop。目前使用正常。* 卸载软件可能存在卸载残留,我的卸载流程如下,可供参考:
neo4j uninstall-service
)C:\Users\LENOVO\AppData
的 local
、LocalLow
、Roaming
三个文件夹下关于 neo4j 的所有文件.Neo4j Desktop
数据文件,默认在 C:\Users\LENOVO
文件夹下Everything
以 neo4j 为关键词搜索文件,删除相关文件问题描述:日志文件 /.Neo4jDesktop/log.txt
重复出现以下内容,并且 Graph Apps
模块的 Neo4j ETL Tool
一直时暗色
推测是否 https://neo.jfrog.io/neo/api/npm/npm/neo4j-etl-ui/-/neo4j-etl-ui-1.5.1.tgz
未正确安装
解决方法:通过链接下载 neo4j-etl-ui-1.5.1.tgz
文件并放至 .\Neo4j Desktop\resources\offline\graphApps
目录下
操作结果:Graph Apps
模块的 Neo4j ETL Tool
显示为亮色,日志文件不再重复出现 neo4j-etl-ui-1.5.1.tgz
[2022-06-25 23:01:19.940] [info] GraphApp[9ba1222b-e09c-466e-a669-4949b16a95d9] Downloading https://neo.jfrog.io/neo/api/npm/npm/neo4j-etl-ui/-/neo4j-etl-ui-1.5.1.tgz {
percent: 0.9828912162431994,
size: { total: 17353133, transferred: 17056242 },
speed: 550201.3548387097,
time: { elapsed: 30, remaining: 1 }
}
[2022-06-25 23:01:20.200] [info] GraphApp[9ba1222b-e09c-466e-a669-4949b16a95d9] Downloading https://neo.jfrog.io/neo/api/npm/npm/neo4j-etl-ui/-/neo4j-etl-ui-1.5.1.tgz {
percent: 0.9913885867180295,
size: { total: 17353133, transferred: 17203698 },
speed: 550518.336,
time: { elapsed: 31, remaining: 0 }
}
[2022-06-25 23:01:20.398] [info] GraphApp[9ba1222b-e09c-466e-a669-4949b16a95d9] Downloading https://neo.jfrog.io/neo/api/npm/npm/neo4j-etl-ui/-/neo4j-etl-ui-1.5.1.tgz {
percent: 1,
size: { total: 17353133, transferred: 17353133 },
speed: 550893.1111111111,
time: { elapsed: 31, remaining: 0 }
}
[2022-06-25 23:01:20.402] [info] Download file stream closed
[2022-06-25 23:01:20.490] [info] Shasum match OK
DBMS failed to start: Startup timed out, see logs..
The following logs and troubleshooting guide may help you diagnose the issue:
Desktop logs
Neo4j DBMS logs
Troubleshooting guide
解决方法:浏览器登录 http://localhost:7474/browser/
输入命令 :server disconnect
;或在启动DBMS前,在cmd中执行 neo4j stop
命令(前提是安装了 neo4j 服务,cmd中运行 neo4j install-service
),activate DBMS
尝试重新启动 DBMS。
操作结果:经试验,有时会正常启动,但启动后始终处于 fetching database
阶段,具体原因未知
问题描述:在 neo4j browser 中连接 neo4j,报错如下
ServiceUnavailable: WebSocket connection failure. Due to security constraints in your web browser, the reason for the failure is not available to this Neo4j Driver. Please use your browsers development console to determine the root cause of the failure. Common reasons include the database being unavailable, using the wrong connection URL or temporary network problems. If you have enabled encryption, ensure your browser is configured to trust the certificate Neo4j is configured to use. WebSocket `readyState` is: 3
在日志文件中显示一下内容
[2022-06-26 08:03:05.579] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11003 }
[2022-06-26 08:03:05.581] [info] Check if neo4j is available on { host: '127.0.0.1', path: '/', port: 11004 }
[2022-06-26 08:03:05.583] [info] Neo4j @ 11003 is down. connect ECONNREFUSED 127.0.0.1:11003
[2022-06-26 08:03:05.585] [info] Neo4j @ 11004 is down. connect ECONNREFUSED 127.0.0.1:11004
[2022-06-26 08:03:06.599] [info] Retrieved status for DBMS[database-4ede501c-126a-4183-b79e-a69b75eae23b]: false
解决方法:暂无
收获: