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

首次网站初始化时报错 #5403

Closed
cc1477 opened this issue Feb 25, 2024 · 5 comments
Closed

首次网站初始化时报错 #5403

cc1477 opened this issue Feb 25, 2024 · 5 comments
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@cc1477
Copy link

cc1477 commented Feb 25, 2024

系统信息

无法访问

使用的哪种方式运行?

Docker Compose

在线站点地址

发生了什么?

Extension v1alpha1/ConfigMap/system was not found.
使用的是1panel安装

相关日志输出

1Panel-halo-29Zm  | 2024-02-25T23:08:54.365+08:00  INFO 6 --- [           main] .s.b.a.l.ConditionEvaluationReportLogger : 
1Panel-halo-29Zm  | 
1Panel-halo-29Zm  | Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
1Panel-halo-29Zm  | 2024-02-25T23:08:54.477+08:00 ERROR 6 --- [           main] o.s.boot.SpringApplication               : Application run failed
1Panel-halo-29Zm  | 
1Panel-halo-29Zm  | java.lang.IllegalStateException: Timeout on blocking read for 60000000000 NANOSECONDS
1Panel-halo-29Zm  | 	at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:127) ~[reactor-core-3.6.2.jar:3.6.2]
1Panel-halo-29Zm  | 	at reactor.core.publisher.Mono.block(Mono.java:1754) ~[reactor-core-3.6.2.jar:3.6.2]
1Panel-halo-29Zm  | 	at run.halo.app.infra.ExtensionResourceInitializer.onApplicationEvent(ExtensionResourceInitializer.java:87) ~[classes/:2.12.3]
1Panel-halo-29Zm  | 	at run.halo.app.infra.ExtensionResourceInitializer.onApplicationEvent(ExtensionResourceInitializer.java:31) ~[classes/:2.12.3]
1Panel-halo-29Zm  | 	at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:178) ~[spring-context-6.1.3.jar:6.1.3]
1Panel-halo-29Zm  | 	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:171) ~[spring-context-6.1.3.jar:6.1.3]
1Panel-halo-29Zm  | 	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:149) ~[spring-context-6.1.3.jar:6.1.3]
1Panel-halo-29Zm  | 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:451) ~[spring-context-6.1.3.jar:6.1.3]
1Panel-halo-29Zm  | 	at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:384) ~[spring-context-6.1.3.jar:6.1.3]
1Panel-halo-29Zm  | 	at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:103) ~[spring-boot-3.2.2.jar:3.2.2]
1Panel-halo-29Zm  | 	at org.springframework.boot.SpringApplicationRunListeners.lambda$started$5(SpringApplicationRunListeners.java:76) ~[spring-boot-3.2.2.jar:3.2.2]
1Panel-halo-29Zm  | 	at java.base/java.lang.Iterable.forEach(Unknown Source) ~[na:na]
1Panel-halo-29Zm  | 	at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:118) ~[spring-boot-3.2.2.jar:3.2.2]
1Panel-halo-29Zm  | 	at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:112) ~[spring-boot-3.2.2.jar:3.2.2]
1Panel-halo-29Zm  | 	at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:76) ~[spring-boot-3.2.2.jar:3.2.2]
1Panel-halo-29Zm  | 	at org.springframework.boot.SpringApplication.run(SpringApplication.java:340) ~[spring-boot-3.2.2.jar:3.2.2]
1Panel-halo-29Zm  | 	at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:149) ~[spring-boot-3.2.2.jar:3.2.2]
1Panel-halo-29Zm  | 	at run.halo.app.Application.main(Application.java:28) ~[classes/:2.12.3]
1Panel-halo-29Zm  | 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source) ~[na:na]
1Panel-halo-29Zm  | 	at java.base/java.lang.reflect.Method.invoke(Unknown Source) ~[na:na]
1Panel-halo-29Zm  | 	at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:91) ~[application/:na]
1Panel-halo-29Zm  | 	at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:53) ~[application/:na]
1Panel-halo-29Zm  | 	at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:58) ~[application/:na]
1Panel-halo-29Zm  |

附加信息

屏幕截图 2024-02-25 224039
@cc1477 cc1477 changed the title 首次创建网站时报错 首次网站初始化时报错 Feb 25, 2024
@JohnNiang
Copy link
Member

Hi @cc1477 , thank you for reaching out here!

建议重启后再初始化试试。实在不行,建议卸载 Halo 之后重新安装。从目前提供的日志中无法看出问题所在。

/triage needs-information

@f2c-ci-robot f2c-ci-robot bot added the triage/needs-information Indicates an issue needs more information in order to work on it. label Feb 25, 2024
@cc1477
Copy link
Author

cc1477 commented Feb 26, 2024

Hi @cc1477 , thank you for reaching out here!

建议重启后再初始化试试。实在不行,建议卸载 Halo 之后重新安装。从目前提供的日志中无法看出问题所在。

/triage needs-information
依旧不行诶都试过了
halo-20240226085837.log

@cc1477
Copy link
Author

cc1477 commented Feb 26, 2024

Hi @cc1477 , thank you for reaching out here!

建议重启后再初始化试试。实在不行,建议卸载 Halo 之后重新安装。从目前提供的日志中无法看出问题所在。

/triage needs-information

更换 Mysql 后解决了,用 MariaDB 就会这样

@ruibaby
Copy link
Member

ruibaby commented Apr 1, 2024

感谢反馈,经过我们后续排查这确实和 MariaDB 的驱动有关,更详细的描述可以查阅:#5534

/close

@f2c-ci-robot f2c-ci-robot bot closed this as completed Apr 1, 2024
Copy link

f2c-ci-robot bot commented Apr 1, 2024

@ruibaby: Closing this issue.

In response to this:

感谢反馈,经过我们后续排查这确实和 MariaDB 的驱动有关,更详细的描述可以查阅:#5534

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

3 participants