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

alist 配置本地存储,根路径配置为/, 会导致访问webdav 超时 #5196

Closed
4 tasks done
RelaxPic opened this issue Sep 10, 2023 · 4 comments
Closed
4 tasks done
Labels
bug Something isn't working question Further information is requested

Comments

@RelaxPic
Copy link

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.27.0

Driver used / 使用的存储驱动

本地存储

Describe the bug / 问题描述

根路径在lilnux 下面配置为/ ,会导致程序崩溃。 并且返回超时。

Reproduction / 复现链接

暂时不能提供链接

Config / 配置

{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "M6BTvSayBLDRitnh",
"token_expires_in": 48,
"database": {
"type": "sqlite3",
"host": "",
"port": 0,
"user": "",
"password": "",
"name": "",
"db_file": "data/data.db",
"table_prefix": "x_",
"ssl_mode": ""
},
"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",
"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

Logs / 日志

ERRO[2023-09-10 22:42:54] PROPFIND /dav/webdav2 not a folder
github.com/alist-org/alist/v3/internal/op.List
/home/runner/work/alist/alist/internal/op/fs.go:114
github.com/alist-org/alist/v3/internal/fs.list
/home/runner/work/alist/alist/internal/fs/list.go:25
github.com/alist-org/alist/v3/internal/fs.List
/home/runner/work/alist/alist/internal/fs/fs.go:21
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:87
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.walkFS
/home/runner/work/alist/alist/server/webdav/file.go:105
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind
/home/runner/work/alist/alist/server/webdav/webdav.go:658
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/home/runner/work/alist/alist/server/webdav/webdav.go:74
github.com/alist-org/alist/v3/server.ServeWebDAV
/home/runner/work/alist/alist/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:174
github.com/alist-org/alist/v3/server.WebDAVAuth
/home/runner/work/alist/alist/server/webdav.go:112
failed get objs

@RelaxPic RelaxPic added the bug Something isn't working label Sep 10, 2023
@welcome
Copy link

welcome bot commented Sep 10, 2023

Thanks for opening your first issue here! Be sure to follow the issue template!

@github-actions
Copy link

@xhofe xhofe added the question Further information is requested label Sep 10, 2023
@github-actions
Copy link

Hello @RelaxPic, please input issue by template and add detail. Issues labeled by question will be closed if no activities in 3 days.
你好 @RelaxPic,请按照issue模板填写, 并详细说明问题/日志记录/复现步骤/复现链接/实现思路或提供更多信息等, 3天内未回复issue自动关闭。

@github-actions
Copy link

Hello @, this issue was closed due to no activities in 3 days.
你好 @,此issue因超过3天未回复被关闭。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants