当前位置:网站首页>neo4j community与neo4j desktop冲突
neo4j community与neo4j desktop冲突
2022-06-27 04:35:00 【思想在拧紧】
前言:博主在安装 neo4j community4.4.8 后,考虑到 community 版功能较少,于是安装 desktop1.4.15。安装完成后,遇到下文记录的问题。因报错三始终未能解决,便卸载两个版本,重新安装,目前一切正常。
补充:
在首次进入 neo4j desktop 后,自动提示是否更换端口号,博主确认更换了端口号,未知更换端口号与连接数据库失败之间的关系。
知乎上有篇文章谈到两个版本冲突,可参考:Neo4j 同时安装neo4j community和desktop导致端口占用
卸载软件可能存在卸载残留,我的卸载流程如下,可供参考:
- 卸载 neo4j 的服务(
neo4j uninstall-service) - 删除 neo4j community 解压缩文件
- 在环境变量中清除为 neo4j community 配置的环境变量
- 通过 控制面板 卸载 neo4j desktop
- 删除
C:\Users\LENOVO\AppData的local、LocalLow、Roaming三个文件夹下关于 neo4j 的所有文件 - 删除
.Neo4j Desktop数据文件,默认在C:\Users\LENOVO文件夹下 - 用
Everything以 neo4j 为关键词搜索文件,删除相关文件 - 使用清理工具,清理相关文件、注册表
- 重启电脑(若不放心,重启后可再用清理工具清理一次)
- 卸载 neo4j 的服务(
报错记录
报错一:日志文件重复出现 neo4j-etl-ui-1.5.1.tgz
问题描述:日志文件 /.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 无法启动
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 连接失败
问题描述:在 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
解决方法:暂无
收获:
- 为问题设定时间,若超出预计时间,使用最基本的方法,如:卸载
- 学会看日志文件
边栏推荐
猜你喜欢

差点因为 JSON.stringify 丢了奖金...

Fplan powerplan instance

Ldr6028 OTG data transmission scheme for mobile devices while charging

Kotlin compose implicitly passes the parameter compositionlocalprovider

Microservice system design -- distributed cache service design

Static timing analysis OCV and time derive
![[station B up dr_can learning notes] Kalman filter 3](/img/40/d3ec97be2f29b76a6c049c26ff4998.gif)
[station B up dr_can learning notes] Kalman filter 3

golang hello 安装环境异常【已解决】

清华大学开源软件镜像站网址

ERP需求和销售管理 金蝶
随机推荐
Why does C throw exceptions when accessing null fields?
Deep dive kotlin synergy (XV): Test kotlin synergy
[C language] keyword supplement
Learn crypto from Buu (Zhou Geng)
微服务系统设计——服务熔断和降级设计
MATLAB | 基于分块图布局的三纵坐标图绘制
Almost because of json Stringify lost his bonus
018 basics of C language: C file reading and writing
733. 图像渲染
Matlab | visualization of mathematical properties related to three interesting circles
1.5 conda的使用
Quickly master asp Net authentication framework identity - reset password by mail
021 C语言基础:递归,可变参数
math_ Number set (number set symbol) and set theory
009 basics of C language: C loop
[station B up dr_can learning notes] Kalman filter 2
百度飞桨“万有引力”2022首站落地苏州,全面启动中小企业赋能计划
Kotlin compose compositionlocalof and staticcompositionlocalof
017 C语言基础:位域和typedef
为什么 C# 访问 null 字段会抛异常?