Skip to content

上传文件到天翼云时,Alist服务经常退出 #8554

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

Open
4 tasks done
ellionsh opened this issue May 22, 2025 · 9 comments
Open
4 tasks done

上传文件到天翼云时,Alist服务经常退出 #8554

ellionsh opened this issue May 22, 2025 · 9 comments
Labels
bug Something isn't working

Comments

@ellionsh
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.44.0

Driver used / 使用的存储驱动

天翼云盘

Describe the bug / 问题描述

当上传文件到天翼云盘时,Alist经常退出:

5月 22 12:33:39 schx1 alist[3616048]: panic: semaphore: released more than held
5月 22 12:33:39 schx1 alist[3616048]: goroutine 33100 [running]:
5月 22 12:33:39 schx1 alist[3616048]: golang.org/x/sync/semaphore.(*Weighted).Release(0xc000bbb540, 0xc001964078?)
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/go/pkg/mod/golang.org/x/[email protected]/semaphore/semaphore.go:127 +0xb8
5月 22 12:33:39 schx1 alist[3616048]: github.com/alist-org/alist/v3/drivers/189pc.(*Cloud189PC).StreamUpload.func2({0x40e69e8, 0xc000bbb4a0})
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/work/alist/alist/drivers/189pc/utils.go:550 +0x40e
5月 22 12:33:39 schx1 alist[3616048]: github.com/alist-org/alist/v3/pkg/errgroup.(*Group).Go.func1.1()
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/work/alist/alist/pkg/errgroup/errgroup.go:50 +0x23
5月 22 12:33:39 schx1 alist[3616048]: github.com/avast/retry-go.Do(0xc000ff1fb0, {0xc0009957d0, 0x4, 0x772366?})
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/go/pkg/mod/github.com/avast/[email protected]+incompatible/retry.go:127 +0x1c3
5月 22 12:33:39 schx1 alist[3616048]: github.com/alist-org/alist/v3/pkg/errgroup.(*Group).Go.func1()
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/work/alist/alist/pkg/errgroup/errgroup.go:50 +0x77
5月 22 12:33:39 schx1 alist[3616048]: created by github.com/alist-org/alist/v3/pkg/errgroup.(*Group).Go in goroutine 29184
5月 22 12:33:39 schx1 alist[3616048]: /home/runner/work/alist/alist/pkg/errgroup/errgroup.go:48 +0x96
5月 22 12:33:39 schx1 systemd[1]: alist.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
5月 22 12:33:39 schx1 systemd[1]: alist.service: Failed with result 'exit-code'.

v3.44.0和beta版本都有问题。和Alist v3.43.0 , 百度网盘上传程序闪退,回滚到 v3.42.0 后正常 #8180 一样的问题,感觉这个问题还是没修好。

Reproduction / 复现链接

n/a

Config / 配置

n/a

Logs / 日志

No response

@ellionsh ellionsh added the bug Something isn't working label May 22, 2025
Copy link

在搜索现有问题时,我发现了一个相关的问题 Issue #5729,该问题描述了在 io.copy 中途通道被关闭导致 Alist 崩溃的情况。这可能与您遇到的问题有相似之处。

不过,您的问题似乎与信号量的释放有关,而不是通道关闭。因此,可能需要进一步查看代码以确认问题的根源。

如果您愿意,我可以帮助您查看相关代码并尝试提出修复建议。请让我知道您的想法。

🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@pongfcnkl
Copy link

上传用的复制吗?

@ellionsh
Copy link
Author

上传用的复制吗?

用rclone copy 命令上传的

@pongfcnkl
Copy link

上传用的复制吗?

用rclone copy 命令上传的

添加本机存储,然后走同名称的webdav

@ellionsh
Copy link
Author

ellionsh commented May 23, 2025

上传用的复制吗?

用rclone copy 命令上传的

添加本机存储,然后走同名称的webdav

请问这个怎么操作?不是很明白你的意思。我现在就是用webdav 拷贝的

@pongfcnkl
Copy link

上传用的复制吗?

用rclone copy 命令上传的

添加本机存储,然后走同名称的webdav

请问这个怎么操作?不是很明白你的意思。我现在就是用webdav 拷贝的

#7819 (comment)

@ellionsh
Copy link
Author

上传用的复制吗?

用rclone copy 命令上传的

添加本机存储,然后走同名称的webdav

请问这个怎么操作?不是很明白你的意思。我现在就是用webdav 拷贝的

#7819 (comment)
我差不多用的类似的命令,过一段时间alist就会退出
rclone copy crypt:/ adav:/abc --ignore-checksum --size-only --max-size 1024M -P

@pongfcnkl
Copy link

上传用的复制吗?

用rclone copy 命令上传的

添加本机存储,然后走同名称的webdav

请问这个怎么操作?不是很明白你的意思。我现在就是用webdav 拷贝的

#7819 (comment)
我差不多用的类似的命令,过一段时间alist就会退出
rclone copy crypt:/ adav:/abc --ignore-checksum --size-only --max-size 1024M -P

adav:本机存储 adav:crypt

@ellionsh
Copy link
Author

上传用的复制吗?

用rclone copy 命令上传的

添加本机存储,然后走同名称的webdav

请问这个怎么操作?不是很明白你的意思。我现在就是用webdav 拷贝的

#7819 (comment)
我差不多用的类似的命令,过一段时间alist就会退出
rclone copy crypt:/ adav:/abc --ignore-checksum --size-only --max-size 1024M -P

adav:本机存储 adav:crypt

还是有问题,我回退到版本v3.42.0 就没问题了

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

No branches or pull requests

2 participants