Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nacos2.2.0 启动无法获取配置的数据库中的内容 #12334

Closed
huanti opened this issue Jul 10, 2024 · 5 comments
Closed

nacos2.2.0 启动无法获取配置的数据库中的内容 #12334

huanti opened this issue Jul 10, 2024 · 5 comments

Comments

@huanti
Copy link

huanti commented Jul 10, 2024

No description provided.

@huanti
Copy link
Author

huanti commented Jul 10, 2024

No description provided.
操作系统:银河麒麟
版本:2.1.0 -> 2.2.0
操作:1、用shutdown.sh停掉2.1.0服务,在2.2.0配置文件中,配置和2.1,0数据库相同的配置。
2、用startup.sh启动2.2.0,启动成功。
现象:登录2.2.0控制台页面,没有2.1.0已添加的配置。
补充:2.2.0和2.1.0是在同一台服务器上。相同的操作在centos7上是可以的。

@KomachiSion
Copy link
Collaborator

更换系统可以运行和实现,说明代码不存在问题, 是环境导致的, 怀疑你没有使用外置数据库而是使用了内置数据库,在变更后路径改变,导致使用了全新的derby,因此没有了数据。

@huanti
Copy link
Author

huanti commented Jul 15, 2024

更换系统可以运行和实现,说明代码不存在问题, 是环境导致的, 怀疑你没有使用外置数据库而是使用了内置数据库,在变更后路径改变,导致使用了全新的derby,因此没有了数据。

@KomachiSion ,你好,使用了外置数据库,配置了和2.1.0一样的外部数据库,然后再单机模式启动的,读取不到外置数据库中已配置的内容

@KomachiSion
Copy link
Collaborator

  1. 是控制台上就读不到吗?还是客户端读不到。
  2. 看下config-fatal.log以及config-dump.log是否有报错。
  3. 看下nacos节点上是否有和数据库的连接。

@KomachiSion
Copy link
Collaborator

No more response from author for a long time, and this problem seems env problem.

@KomachiSion KomachiSion closed this as not planned Won't fix, can't repro, duplicate, stale Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants