alist icon indicating copy to clipboard operation
alist copied to clipboard

添加PikPak存储时一次会添加两个, 并且删不掉

Open Jerry12228 opened this issue 1 year ago • 3 comments

Please make sure of the following things

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

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

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

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

AList Version / AList 版本

v3.29.1

Driver used / 使用的存储驱动

PicPak

Describe the bug / 问题描述

添加PikPak存储时一次会添加两个, 并且删不掉, 其中一个状态是work另一个没有状态 image 删除时第一次提示成功(但实际未成功),第二次报错(重启alist后再删除重复前两步) image 重启alist,会无故多出几个存储(目前发现是将将之前的pikpak存储再复制一遍,2个变4个) 启动日志: 添加存储时配置正确:

INFO[2023-12-31 00:55:26] success load storage: [/PikPak], driver: [PikPak] 
INFO[2023-12-31 00:55:26] success load storage: [/PikPak], driver: [PikPak] 

配置错误:

ERRO[2023-12-31 00:17:07] failed get enabled storages: invalid_account_or_password
failed init storage
github.com/alist-org/alist/v3/internal/op.initStorage
        /source/internal/op/storage.go:99
github.com/alist-org/alist/v3/internal/op.LoadStorage
        /source/internal/op/storage.go:80
github.com/alist-org/alist/v3/internal/bootstrap.LoadStorages.func1
        /source/internal/bootstrap/storage.go:20
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1650 

在数据库中查看到: Uploading image.png…

Reproduction / 复现链接

none

Config / 配置

保持默认(更改temp目录)

Logs / 日志

在描述中查看

Jerry12228 avatar Dec 30 '23 18:12 Jerry12228

无法复现此问题

xhofe avatar Dec 31 '23 05:12 xhofe

无法复现此问题

更换数据库到MySQL 5.7后正常, 我应该提供什么以帮助解决问题? 原数据库文件? config.json? 或者完整的服务端目录?

Jerry12228 avatar Dec 31 '23 10:12 Jerry12228

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 13 '24 14:02 stale[bot]

Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.

github-actions[bot] avatar Feb 22 '24 00:02 github-actions[bot]