Skip to content

testnet-client 镜像 bug #67

@J1ezds

Description

@J1ezds

镜像版本:registry.cn-hangzhou.aliyuncs.com/testnet0/testnet_client:latest
IMAGE ID:cc97d4acf278

testnet-client 镜像在启动时会有下面三条报错

Image

2025-08-19 09:32:10.699 ERROR 8 --- [ main] testnet.client.service.ResendService : Failed to create fallback_data table: path to '/testnet-client/result/fallback.db': '/testnet-client/result' does not exist
2025-08-19 09:32:10.700 ERROR 8 --- [ main] testnet.client.service.ResendService : Failed to resend messages from SQLite database: path to '/testnet-client/result/fallback.db': '/testnet-client/result' does not exist
2025-08-19 09:32:10.973 ERROR 8 --- [ scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task

问题:在需要操作 SQLite 数据库文件 /testnet-client/result/fallback.db,但该文件所在的父目录 /testnet-client/result 并未创建,导致所有对该数据库的操作均失败。

解决办法:在 testnet-client 镜像中创建 result 这个目录后就正常了

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions