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

Onedrive 直链可不用 #2336

Closed
4 tasks done
fantastlcok opened this issue Nov 14, 2022 · 3 comments
Closed
4 tasks done

Onedrive 直链可不用 #2336

fantastlcok opened this issue Nov 14, 2022 · 3 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@fantastlcok
Copy link

fantastlcok commented Nov 14, 2022

Please make sure of the following things

  • I have read the documentation.
  • I'm sure there are no duplicate issues or discussions.
  • I'm sure it's due to alist and not something else(such as Dependencies or Operational).
  • I'm sure I'm using the latest version

Alist Version / Alist 版本

v3.4.0

Driver used / 使用的存储驱动

Onedrive

Describe the bug / 问题描述

访问:https://域名/d/文件夹1/压缩文件.rar
返回错误代码
{"code":500,"message":"failed to get file: failed get parent list: failed get dir: failed get parent list: failed get dir: failed get parent list: failed get dir: failed get parent list: failed get dir: object not found","data":null}

访问:https://域名/文件夹1/压缩文件.rar
该页面【下载】按钮href内容为正常生成Onedrive下载链接(sharepoint.com域名的那个)。

Reproduction / 复现链接

version: "3"
services:
  alist:
    image: xhofe/alist:v3.4.0
    container_name: alist
    ports:
      - 5244:5244
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Shanghai
    volumes:
      - ./data:/opt/alist/data
    restart: always

Logs / 日志

ERRO[2022-11-14 12:50:42] failed link /文件夹/压缩文件.rar: object not found
github.com/alist-org/alist/v3/internal/op.Get
        /app/internal/op/fs.go:135
github.com/alist-org/alist/v3/internal/op.List
        /app/internal/op/fs.go:48
github.com/alist-org/alist/v3/internal/op.Get
        /app/internal/op/fs.go:117
github.com/alist-org/alist/v3/internal/op.List
        /app/internal/op/fs.go:48
github.com/alist-org/alist/v3/internal/op.Get
        /app/internal/op/fs.go:117
github.com/alist-org/alist/v3/internal/op.List
        /app/internal/op/fs.go:48
github.com/alist-org/alist/v3/internal/op.Get
        /app/internal/op/fs.go:117
github.com/alist-org/alist/v3/internal/op.List
        /app/internal/op/fs.go:48
github.com/alist-org/alist/v3/internal/op.Get
        /app/internal/op/fs.go:117
github.com/alist-org/alist/v3/internal/op.Link
        /app/internal/op/fs.go:146
github.com/alist-org/alist/v3/internal/fs.link
        /app/internal/fs/link.go:16
github.com/alist-org/alist/v3/internal/fs.Link
        /app/internal/fs/fs.go:35
github.com/alist-org/alist/v3/server/handles.Down
        /app/server/handles/down.go:30
github.com/gin-gonic/gin.(*Context).Next
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/alist-org/alist/v3/server/middlewares.Down
        /app/server/middlewares/down.go:37
github.com/gin-gonic/gin.(*Context).Next
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
        /app/server/middlewares/check.go:11
github.com/gin-gonic/gin.(*Context).Next
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:101
github.com/gin-gonic/gin.(*Context).Next
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.LoggerWithConfig.func1
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:240
github.com/gin-gonic/gin.(*Context).Next
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:173
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:616
github.com/gin-gonic/gin.(*Engine).ServeHTTP
        /root/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:572
net/http.serverHandler.ServeHTTP
        /usr/lib/go/src/net/http/server.go:2947
net/http.(*conn).serve
        /usr/lib/go/src/net/http/server.go:1991
runtime.goexit
        /usr/lib/go/src/runtime/asm_amd64.s:1594
failed get dir
failed get parent list
failed get dir
failed get parent list
failed get dir
failed get parent list
failed get dir
failed get parent list
failed to get file
@fantastlcok fantastlcok added the bug Something isn't working label Nov 14, 2022
@github-actions
Copy link

@xhofe
Copy link
Collaborator

xhofe commented Nov 14, 2022

object not found

@xhofe xhofe added the invalid This doesn't seem right label Nov 14, 2022
@github-actions
Copy link

Hello @fantastlcok, your issue is invalid and will be closed.
你好 @fantastlcok,你的issue无效,将被关闭。

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 14, 2022
@github-actions github-actions bot mentioned this issue Jan 1, 2023
4 tasks
@github-actions github-actions bot mentioned this issue Mar 22, 2023
4 tasks
@github-actions github-actions bot mentioned this issue Jul 31, 2023
4 tasks
@github-actions github-actions bot mentioned this issue Oct 23, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants