当前位置:网站首页>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
解决方法:暂无
收获:
- 为问题设定时间,若超出预计时间,使用最基本的方法,如:卸载
- 学会看日志文件
边栏推荐
- 008 C语言基础:C判断
- ES6 0622 III
- 如何让 EF Core 6 支持 DateOnly 类型
- [BJDCTF2020]The mystery of ip
- Système de collecte des journaux
- 014 C language foundation: C string
- Qchart note 2: add rollover display
- [station B up dr_can learning notes] Kalman filter 3
- 1.5 conda的使用
- Office VR porn, coquettish operation! The father of Microsoft hololens resigns!
猜你喜欢

Building lightweight target detection based on mobilenet-yolov4

Nignx configuring single IP current limiting

2022-06-26: what does the following golang code output? A:true; B:false; C: Compilation error. package main import “fmt“ func main() { type

2022-06-26:以下golang代码输出什么?A:true;B:false;C:编译错误。 package main import “fmt“ func main() { type

ERP demand and sales management Kingdee

日志收集系統

Matlab | visualization of mathematical properties related to three interesting circles

Mysql database foundation: DQL data query language

低代码开发平台NocoBase的安装

微服务系统设计——服务链路跟踪设计
随机推荐
halcon常用仿射变换算子
Kotlin compose custom compositionlocalprovider compositionlocal
017 basics of C language: bit field and typedef
022 basics of C language: C memory management and C command line parameters
Microservice system design -- service registration, discovery and configuration design
Ledrui ldr6035 usb-c interface device supports rechargeable OTG data transmission scheme.
In a sense, the Internet has become an incubator and a parent
文旅灯光秀打破时空限制,展现景区夜游魅力
How to make ef core 6 support dateonly type
009 basics of C language: C loop
从某种意义来讲,互联网业已成为了一个孵化器,一个母体
ES6 0622 III
轨道姿态常用编程缩写
Penetration test - directory traversal vulnerability
Log collection system
文旅夜游|以沉浸式视觉体验激发游客的热情
Nignx configuring single IP current limiting
022 C语言基础:C内存管理与C命令行参数
MATLAB | 基于分块图布局的三纵坐标图绘制
IOS development: understanding of dynamic library shared cache (dyld)