请确认以下事项
OpenList 版本(必填)
v4.2.1 (Commit: 8d39d63) - Frontend: v4.2.1 - Build at: 2026-04-09 14:27:23 +0000
使用的存储驱动(必填)
Teldrive
问题描述(必填)
在从移动云盘复制文件到Teldrive上的时候遇到该问题,直接通过网页上传没问题
日志(必填)
panic: runtime error: index out of range [0] with length 0 runtime/debug.Stack() /opt/hostedtoolcache/go/1.25.0/x64/src/runtime/debug/stack.go:26 +0x5e github.com/OpenListTeam/OpenList/v4/pkg/singleflight.newPanicError({0x2b91fc0, 0xc0009b4480}) /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:44 +0x25 github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall.func2.1() /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:193 +0x34 panic({0x2b91fc0?, 0xc0009b4480?}) /opt/hostedtoolcache/go/1.25.0/x64/src/runtime/panic.go:783 +0x132 github.com/OpenListTeam/OpenList/v4/drivers/teldrive.(*Teldrive).List(0xc0009ee000, {0x7bd43b8, 0xc000a2eff0}, {0x7be1e18, 0xc000916a80}, {{0x0, 0x0}, 0x0, 0x0, 0x0, ...}) /home/runner/work/OpenList/OpenList/drivers/teldrive/driver.go:72 +0x6c5 github.com/OpenListTeam/OpenList/v4/internal/op.list.func1() /home/runner/work/OpenList/OpenList/internal/op/fs.go:60 +0x211 github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall.func2(0xc00076a780, 0xc00076a780, 0x51966823598753f6?) /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:198 +0x5a github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall(0xc000a27e60?, 0xc0009b6810?, {0xc0009b6810?, 0x10?}, 0x3?) /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:200 +0xa5 github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).Do(0x7c04020, {0xc0009b6810, 0x10}, 0xc00005d580) /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:113 +0x173 github.com/OpenListTeam/OpenList/v4/internal/op.list({0x7bd43b8, 0xc000a2eff0}, {0x7be51e0, 0xc0009ee000}, {0xc000bea6c0, 0xe}, {{0x0, 0x0}, 0x0, 0x0, ...}, ...) /home/runner/work/OpenList/OpenList/internal/op/fs.go:51 +0x473 github.com/OpenListTeam/OpenList/v4/internal/op.Get({0x7bd43b8, 0xc000a2eff0}, {0x7be51e0, 0xc0009ee000}, {0xc000bea6c0, 0x1e}, {0xc00005d87f, 0x1, 0xc00005d9e8?}) /home/runner/work/OpenList/OpenList/internal/op/fs.go:197 +0x5a9 github.com/OpenListTeam/OpenList/v4/internal/op.GetUnwrap({0x7bd43b8?, 0xc000a2eff0?}, {0x7be51e0?, 0xc0009ee000?}, {0xc000bea6c0?, 0x0?}) /home/runner/work/OpenList/OpenList/internal/op/fs.go:218 +0x45 github.com/OpenListTeam/OpenList/v4/internal/op.Put({0x7bd43b8, 0xc000a2eff0}, {0x7be51e0, 0xc0009ee000}, {0xc0009b79b0, 0xd}, {0x7bf7a70, 0xc000ced3b0}, 0xc000a98c90) /home/runner/work/OpenList/OpenList/internal/op/fs.go:625 +0x5d9 github.com/OpenListTeam/OpenList/v4/internal/fs.(*FileTransferTask).RunWithNextTaskCallback(0xc00073fc20, 0xc00005de20) /home/runner/work/OpenList/OpenList/internal/fs/copy_move.go:263 +0x945 github.com/OpenListTeam/OpenList/v4/internal/fs.(*FileTransferTask).Run(0xc00073fc20) /home/runner/work/OpenList/OpenList/internal/fs/copy_move.go:70 +0x19d github.com/OpenListTeam/tache.Worker[...].Execute.func2(0xc00005dec8, 0x7be1c40) /home/runner/go/pkg/mod/github.com/!open!list!team/tache@v0.2.2/worker.go:62 +0xe4 github.com/OpenListTeam/tache.Worker[...].Execute(0x7be1c40?, 0xc00073fc20) /home/runner/go/pkg/mod/github.com/!open!list!team/tache@v0.2.2/worker.go:73 +0x4a github.com/OpenListTeam/tache.(*Manager[...]).next.func1() /home/runner/go/pkg/mod/github.com/!open!list!team/tache@v0.2.2/manager.go:129 +0x23a created by github.com/OpenListTeam/tache.(*Manager[...]).next in goroutine 629 /home/runner/go/pkg/mod/github.com/!open!list!team/tache@v0.2.2/manager.go:112 +0x257
配置文件内容(必填)
{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "J68YUi9DZEo7WaTj",
"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": "openlist"
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": "",
"enable_h2c": false,
"enable_h3": false
},
"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,
"filter": {
"enable": false,
"filters": [
{
"cidr": "",
"path": "/ping",
"method": ""
},
{
"cidr": "",
"path": "",
"method": "HEAD"
},
{
"cidr": "",
"path": "/dav/",
"method": "PROPFIND"
}
]
}
},
"delayed_start": 0,
"max_buffer_limitMB": -1,
"mmap_thresholdMB": 4,
"max_connections": 0,
"max_concurrency": 64,
"tls_insecure_skip_verify": false,
"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
},
"move": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress_upload": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"allow_retry_canceled": false
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
""
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
},
"ftp": {
"enable": false,
"listen": ":5221",
"find_pasv_port_attempts": 50,
"active_transfer_port_non_20": false,
"idle_timeout": 900,
"connection_timeout": 30,
"disable_active_mode": false,
"default_transfer_binary": false,
"enable_active_conn_ip_check": true,
"enable_pasv_conn_ip_check": true
},
"sftp": {
"enable": false,
"listen": ":5222"
},
"last_launched_version": "v4.2.1",
"proxy_address": ""
}
复现链接(可选)
No response
AI生成内容(可选)
No response
请确认以下事项
我已确认阅读并同意 AGPL-3.0 第15条 。
本程序不提供任何明示或暗示的担保,使用风险由您自行承担。
我已确认阅读并同意 AGPL-3.0 第16条 。
无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。
我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。
我已确认阅读了OpenList文档。
我已确认没有重复的问题或讨论。
我已确认是
OpenList的问题,而不是其他原因(例如 网络 ,依赖或操作)。我认为此问题必须由
OpenList处理,而非第三方。我已确认这个问题在最新版本中没有被修复。
我没有阅读这个清单,只是闭眼选中了所有的复选框,请关闭这个 Issue 。
OpenList 版本(必填)
v4.2.1 (Commit: 8d39d63) - Frontend: v4.2.1 - Build at: 2026-04-09 14:27:23 +0000
使用的存储驱动(必填)
Teldrive
问题描述(必填)
在从移动云盘复制文件到Teldrive上的时候遇到该问题,直接通过网页上传没问题
日志(必填)
panic: runtime error: index out of range [0] with length 0 runtime/debug.Stack() /opt/hostedtoolcache/go/1.25.0/x64/src/runtime/debug/stack.go:26 +0x5e github.com/OpenListTeam/OpenList/v4/pkg/singleflight.newPanicError({0x2b91fc0, 0xc0009b4480}) /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:44 +0x25 github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall.func2.1() /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:193 +0x34 panic({0x2b91fc0?, 0xc0009b4480?}) /opt/hostedtoolcache/go/1.25.0/x64/src/runtime/panic.go:783 +0x132 github.com/OpenListTeam/OpenList/v4/drivers/teldrive.(*Teldrive).List(0xc0009ee000, {0x7bd43b8, 0xc000a2eff0}, {0x7be1e18, 0xc000916a80}, {{0x0, 0x0}, 0x0, 0x0, 0x0, ...}) /home/runner/work/OpenList/OpenList/drivers/teldrive/driver.go:72 +0x6c5 github.com/OpenListTeam/OpenList/v4/internal/op.list.func1() /home/runner/work/OpenList/OpenList/internal/op/fs.go:60 +0x211 github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall.func2(0xc00076a780, 0xc00076a780, 0x51966823598753f6?) /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:198 +0x5a github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall(0xc000a27e60?, 0xc0009b6810?, {0xc0009b6810?, 0x10?}, 0x3?) /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:200 +0xa5 github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).Do(0x7c04020, {0xc0009b6810, 0x10}, 0xc00005d580) /home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:113 +0x173 github.com/OpenListTeam/OpenList/v4/internal/op.list({0x7bd43b8, 0xc000a2eff0}, {0x7be51e0, 0xc0009ee000}, {0xc000bea6c0, 0xe}, {{0x0, 0x0}, 0x0, 0x0, ...}, ...) /home/runner/work/OpenList/OpenList/internal/op/fs.go:51 +0x473 github.com/OpenListTeam/OpenList/v4/internal/op.Get({0x7bd43b8, 0xc000a2eff0}, {0x7be51e0, 0xc0009ee000}, {0xc000bea6c0, 0x1e}, {0xc00005d87f, 0x1, 0xc00005d9e8?}) /home/runner/work/OpenList/OpenList/internal/op/fs.go:197 +0x5a9 github.com/OpenListTeam/OpenList/v4/internal/op.GetUnwrap({0x7bd43b8?, 0xc000a2eff0?}, {0x7be51e0?, 0xc0009ee000?}, {0xc000bea6c0?, 0x0?}) /home/runner/work/OpenList/OpenList/internal/op/fs.go:218 +0x45 github.com/OpenListTeam/OpenList/v4/internal/op.Put({0x7bd43b8, 0xc000a2eff0}, {0x7be51e0, 0xc0009ee000}, {0xc0009b79b0, 0xd}, {0x7bf7a70, 0xc000ced3b0}, 0xc000a98c90) /home/runner/work/OpenList/OpenList/internal/op/fs.go:625 +0x5d9 github.com/OpenListTeam/OpenList/v4/internal/fs.(*FileTransferTask).RunWithNextTaskCallback(0xc00073fc20, 0xc00005de20) /home/runner/work/OpenList/OpenList/internal/fs/copy_move.go:263 +0x945 github.com/OpenListTeam/OpenList/v4/internal/fs.(*FileTransferTask).Run(0xc00073fc20) /home/runner/work/OpenList/OpenList/internal/fs/copy_move.go:70 +0x19d github.com/OpenListTeam/tache.Worker[...].Execute.func2(0xc00005dec8, 0x7be1c40) /home/runner/go/pkg/mod/github.com/!open!list!team/tache@v0.2.2/worker.go:62 +0xe4 github.com/OpenListTeam/tache.Worker[...].Execute(0x7be1c40?, 0xc00073fc20) /home/runner/go/pkg/mod/github.com/!open!list!team/tache@v0.2.2/worker.go:73 +0x4a github.com/OpenListTeam/tache.(*Manager[...]).next.func1() /home/runner/go/pkg/mod/github.com/!open!list!team/tache@v0.2.2/manager.go:129 +0x23a created by github.com/OpenListTeam/tache.(*Manager[...]).next in goroutine 629 /home/runner/go/pkg/mod/github.com/!open!list!team/tache@v0.2.2/manager.go:112 +0x257
配置文件内容(必填)
{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "J68YUi9DZEo7WaTj",
"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": "openlist"
},
"scheme": {
"address": "0.0.0.0",
"http_port": 5244,
"https_port": -1,
"force_https": false,
"cert_file": "",
"key_file": "",
"unix_file": "",
"unix_file_perm": "",
"enable_h2c": false,
"enable_h3": false
},
"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,
"filter": {
"enable": false,
"filters": [
{
"cidr": "",
"path": "/ping",
"method": ""
},
{
"cidr": "",
"path": "",
"method": "HEAD"
},
{
"cidr": "",
"path": "/dav/",
"method": "PROPFIND"
}
]
}
},
"delayed_start": 0,
"max_buffer_limitMB": -1,
"mmap_thresholdMB": 4,
"max_connections": 0,
"max_concurrency": 64,
"tls_insecure_skip_verify": false,
"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
},
"move": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress_upload": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"allow_retry_canceled": false
},
"cors": {
"allow_origins": [
""
],
"allow_methods": [
""
],
"allow_headers": [
"*"
]
},
"s3": {
"enable": false,
"port": 5246,
"ssl": false
},
"ftp": {
"enable": false,
"listen": ":5221",
"find_pasv_port_attempts": 50,
"active_transfer_port_non_20": false,
"idle_timeout": 900,
"connection_timeout": 30,
"disable_active_mode": false,
"default_transfer_binary": false,
"enable_active_conn_ip_check": true,
"enable_pasv_conn_ip_check": true
},
"sftp": {
"enable": false,
"listen": ":5222"
},
"last_launched_version": "v4.2.1",
"proxy_address": ""
}
复现链接(可选)
No response
AI生成内容(可选)
No response