Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

挂载路径不存在时反而不能删除存储??? #7487

Closed
3 of 4 tasks
Gloryandel opened this issue Nov 9, 2024 · 4 comments
Closed
3 of 4 tasks

挂载路径不存在时反而不能删除存储??? #7487

Gloryandel opened this issue Nov 9, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@Gloryandel
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.39.1

Driver used / 使用的存储驱动

TeraBox

Describe the bug / 问题描述

似乎是挂载失败了,想删除存储,提示存储路径不存在
挂载路径不存在反而不能删除存储???
存储:TeraBox
image_39

Reproduction / 复现链接

none

Config / 配置

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "xxxx",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "data/data.db",
    "table_prefix": "x_",
    "ssl_mode": "",
    "dsn": ""
  },
  "meilisearch": {
    "host": "http://localhost:7700",
    "api_key": "",
    "index_prefix": ""
  },
  "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",
  "dist_dir": "",
  "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": true,
  "tasks": {
    "download": {
      "workers": 5,
      "max_retry": 1,
      "task_persistant": true
    },
    "transfer": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": true
    },
    "upload": {
      "workers": 5,
      "max_retry": 0,
      "task_persistant": false
    },
    "copy": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": true
    }
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "s3": {
    "enable": false,
    "port": 5246,
    "ssl": false
  }
}

image

Logs / 日志

�[31mERRO�[0m[2024-11-09 19:38:18] failed get storage driver: no mount path for an storage is: /TeraBox12
[GIN] 2024/11/09 - 19:38:18 | 200 | 606.35µs | 10.89.3.2 | POST "/api/admin/storage/delete?id=11"
�[31mERRO�[0m[2024-11-09 19:38:32] failed get storage driver: no mount path for an storage is: /TeraBox12
[GIN] 2024/11/09 - 19:38:32 | 200 | 579.379µs | 10.89.3.2 | POST "/api/admin/storage/delete?id=11"
�[31mERRO�[0m[2024-11-09 19:38:33] failed get storage driver: no mount path for an storage is: /TeraBox12
[GIN] 2024/11/09 - 19:38:33 | 200 | 449.211µs | 10.89.3.2 | POST "/api/admin/storage/delete?id=11"
�[31mERRO�[0m[2024-11-09 19:38:33] failed get storage driver: no mount path for an storage is: /TeraBox12
[GIN] 2024/11/09 - 19:38:33 | 200 | 456.7µs | 10.89.3.2 | POST "/api/admin/storage/delete?id=11"
�[31mERRO�[0m[2024-11-09 19:38:34] failed get storage driver: no mount path for an storage is: /TeraBox12
[GIN] 2024/11/09 - 19:38:34 | 200 | 527.419µs | 10.89.3.2 | POST "/api/admin/storage/delete?id=11"
�[31mERRO�[0m[2024-11-09 19:38:34] failed get storage driver: no mount path for an storage is: /TeraBox12
[GIN] 2024/11/09 - 19:38:34 | 200 | 429.52µs | 10.89.3.2 | POST "/api/admin/storage/delete?id=11"

@Gloryandel Gloryandel added the bug Something isn't working label Nov 9, 2024
@Deepseaon
Copy link

有一个临时解决方案,你创建一个相同路径同样的存储,然后再删就能删了,之前的版本我就这么删的,你可以试试

@Gloryandel
Copy link
Author

有一个临时解决方案,你创建一个相同路径同样的存储,然后再删就能删了,之前的版本我就这么删的,你可以试试

image
无法保存

@Gloryandel
Copy link
Author

Gloryandel commented Nov 12, 2024

有一个临时解决方案,你创建一个相同路径同样的存储,然后再删就能删了,之前的版本我就这么删的,你可以试试

通过编辑配置文件删除了,只是有点疑惑,创建的逻辑居然也混入路径不存在。。。

@Jason-Fly
Copy link
Contributor

Jason-Fly commented Nov 13, 2024

image
  • 我今天也遇到你这个TeraBox报错了,是在登录失败时,触发了一个切片越界的bug,我当时是通过【编辑存储->更新Cookie->重启Alist】来临时解决的,TeraBox的存储状态就正常了;

  • 然后我当时想过要删除这个存储,也删除失败了。

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

No branches or pull requests

3 participants