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

lanzhou driver: not find file sgin failed get link #5046

Closed
4 tasks done
jianboy opened this issue Aug 19, 2023 · 6 comments · Fixed by #5048
Closed
4 tasks done

lanzhou driver: not find file sgin failed get link #5046

jianboy opened this issue Aug 19, 2023 · 6 comments · Fixed by #5048
Labels
bug Something isn't working

Comments

@jianboy
Copy link

jianboy commented Aug 19, 2023

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.25.1

Driver used / 使用的存储驱动

lanzhou

Describe the bug / 问题描述

[GIN] 2023/08/19 - 16:19:28 | 200 |       98.23µs | 120.204.169.240 | GET      "/@manage/storages"
�[31mERRO�[0m[2023-08-19 16:19:28] failed link /LanCloud/App/Ximalaya_7.3.3.3.apk: not find file sgin
failed get link
github.com/alist-org/alist/v3/internal/op.Link.func1
	/workspaces/alist-web/alist/internal/op/fs.go:253
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall.func2
	/workspaces/alist-web/alist/pkg/singleflight/singleflight.go:193
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).doCall
	/workspaces/alist-web/alist/pkg/singleflight/singleflight.go:195
github.com/alist-org/alist/v3/pkg/singleflight.(*Group[...]).Do
	/workspaces/alist-web/alist/pkg/singleflight/singleflight.go:108
github.com/alist-org/alist/v3/internal/op.Link
	/workspaces/alist-web/alist/internal/op/fs.go:260
github.com/alist-org/alist/v3/internal/fs.link
	/workspaces/alist-web/alist/internal/fs/link.go:19
github.com/alist-org/alist/v3/internal/fs.Link
	/workspaces/alist-web/alist/internal/fs/fs.go:48
github.com/alist-org/alist/v3/server/handles.FsGet
	/workspaces/alist-web/alist/server/handles/fsread.go:289
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/alist-org/alist/v3/server/middlewares.Auth
	/workspaces/alist-web/alist/server/middlewares/auth.go:67
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
	/workspaces/alist-web/alist/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
	/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.LoggerWithConfig.func1
	/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
	/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620
github.com/gin-gonic/gin.(*Engine).ServeHTTP
	/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576
net/http.serverHandler.ServeHTTP
	/usr/local/go/src/net/http/server.go:2936
net/http.(*conn).serve
	/usr/local/go/src/net/http/server.go:1995
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1598
failed link 

Reproduction / 复现链接

http://xxx.com/lanzhou/aa

Config / 配置


{
  "force": false,
  "address": "0.0.0.0",
  "port": 5244,
  "https_port": 5245,
  "site_url": "https://xxx",
  "cdn": "",
  "jwt_secret": "xx",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "data/daxxta.db",
    "table_prefix": "x_",
    "ssl_mode": ""
  },
  "scheme": {
    "disable_http": false,
    "https": false,
    "force_https": false,
    "cert_file": "",
    "key_file": ""
  },
  "temp_dir": "data/temp",
  "bleve_dir": "data/bleve",
  "log": {
    "enable": true,
    "name": "data/log/log.log",
    "max_size": 10,
    "max_backups": 5,
    "max_age": 28,
    "compress": false
  },
  "delayed_start": 0,
  "max_connections": 0,
  "tls_insecure_skip_verify": false
}

Logs / 日志

No response

@jianboy jianboy added the bug Something isn't working label Aug 19, 2023
@xhofe
Copy link
Collaborator

xhofe commented Aug 19, 2023

请提供您的AList应用的配置文件,并截图相关存储配置。(隐藏隐私字段)

@jianboy
Copy link
Author

jianboy commented Aug 19, 2023

@xhofe config 上面已经发了

image

@jianboy
Copy link
Author

jianboy commented Aug 19, 2023

老版本的也有问题了。通过账号,cookie都有问题。

具体问题:

可以列目录,查看到所有文件,但是不能下载。

image

@xhofe
Copy link
Collaborator

xhofe commented Aug 19, 2023

并截图相关存储配置

@Troray
Copy link

Troray commented Aug 19, 2023

我这里也是。
v3.25.1
vps,docker部署,nginx反代,alist的config.json中仅修改/设置site_url 字段为反代的域名,其他保持默认。

添加存储时,类型选账户,并填入账号密码 ,其他均为默认。

添加后,目录及列表均显示正常,点击具体内容就会出现同样提示。
lanz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants