Docker部署下,构建索引选择数据库保存后
- Vorherrschende Sprache
- Go
- Sterne
- 50.2k
- Forks
- 7.9k
- Ø Merge
- 7 T. 21 Std.
- Gemergte PRs (30 T.)
- 6
Beschreibung
### Please make sure of the following things
- [X] I have read the [documentation](https://alist.nn.ci).
我已经阅读了[文档](https://alist.nn.ci)。
- [X] I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。
- [X] I'm sure it's due to `AList` and not something else(such as [Network](https://alist.nn.ci/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。
- [X] I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
### AList Version / AList 版本
v3.3
### Driver used / 使用的存储驱动
本机存储
### Describe the bug / 问题描述
Docker部署下,构建索引选择数据库保存后重构索引报错
### Reproduction / 复现链接
http://127.0.0.1:5244/@manage/indexes
### Config / 配置
{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "I3RPhvBfWlfaGC4n",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "data/data.db",
"table_prefix": "x_",
"ssl_mode": "",
"dsn": ""
},
"meilisearch": {
"host": "http://localhost:7700",
"api_key": "",
"index_prefix": ""
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": ""
},
"temp_dir": "data/temp",
"bleve_dir": "data/bleve",
"dist_dir": "",
"log": {
"enable": true,
"name": "data/log/log.log",
"max_size": 50,
"max_backups": 30,
"max_age": 28,
"compress": false
},
"delayed_start": 0,
"max_connections": 0,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": false
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
}
},
"cors": {
"allow_origins": [
"*"
],
"allow_methods": [
"*"
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
}
}
### Logs / 日志
[31mERRO[0m[2024-11-19 06:22:37] save progress error: database disk image is malformed
github.com/alist-org/alist/v3/internal/db.SaveSettingItem
/home/runner/work/alist/alist/internal/db/settingitem.go:64
github.com/alist-org/alist/v3/internal/op.SaveSettingItem
/home/runner/work/alist/alist/internal/op/setting.go:181
github.com/alist-org/alist/v3/internal/search.WriteProgress
/home/runner/work/alist/alist/internal/search/util.go:29
github.com/alist-org/alist/v3/internal/search.BuildIndex
/home/runner/work/alist/alist/internal/search/build.go:145
github.com/alist-org/alist/v3/server/handles.BuildIndex.func1
/home/runner/work/alist/alist/server/handles/index.go:33
runtime.goexit
/opt/hostedtoolcache/go/1.23.3/x64/src/runtime/asm_arm64.s:1223
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.