跳至主要內容

AList错误码整合

Andy HsuFAQFAQQuestionerror code大约 5 分钟

这个是什么?

这个是收集一些AList使用期间的一些错误码,然后如何解决(网络问题或者网盘更改API以及其它一些问题可能会无法当时解决需要人为去干预)



Q:阿里云盘open出现 TooManyRequestsToo Many Requests
A点我查看详细说明
Q:阿里云盘open出现 ExceedCapacityForbidden
A点我查看详细说明
Q:Token is expired(出现在登录AList账号时
A:是指你AList登录有效期到了默认是48小时,可以在修改config.json配置文件中
  • 如果你登录的时候提示登录成功然后又显示这个提示,检查你是否使用了CDN加速等给AList进行了缓存导致的

Q:Failed init storage but storage is already created: failed init storage: failed to refresh token: The input parameter refresh_token is missing. Please refer to document.
A:一般是在添加驱动的时候刷新令牌(token)不对,更换正确的替换了即可解决。
Q:failed get objs: failed to list objs: ForbiddenDriveNotValid:not valid driveld
A:一般指的是驱动已经弃用,例如阿里云盘,更换成阿里云盘open即可,其他的暂时未知,其他的暂时没有
Q:no such host、TLS handshake timeout、read: connection reset by peer、dns lookup failed、connect: connection refused、Client.Timeout exceeded while awaiting headers、network is unreachable
A:遇到这些问题一般都是网络问题导致的,自行排查然后解决。
Q:Failed create storage in database: UNIQUE constraint failed: x_storages.mount_path (出现在挂载驱动时
A:要挂载到的路径,它是唯一的,不能重复
Q:Key: 'Storage.MountPath' Error:Field validation for 'MountPath' failed on the 'required' tag(出现在挂载驱动时
A:挂载路径是必填选项,填写一下
Q:UNIQUE constraint failed: x_meta.path(出现在添加元信息时
A:添加元信息时路径只能有一个,不可以重复
Q:Key: 'Meta.Path' Error:Field validation for 'Path' failed on the 'required' tag(出现在添加元信息时
A:添加元信息时,路径是必须要填写的
Q:Failed load storage: failed init storage: the site does not allow mounted
A:对方的AList站点不允许挂载,查看详细说明
Q:failed get objs: failed to list objs: Sorry, sharing is not available in the current region(PikPak/分享
Q:failed get objs: failed to list objs: terabox is not yet available in this are(Terabox
A:国内不支持访问,如果你是在本地搭建的可以查看一下这个参考方案open in new window
  • 例如 Google、Mega、Terabox 等这些需要代理才能访问的都可以通过这样的方法使用

Q:Search not available(出现在构建索引时
A搜索索引选项没有选择,无法构建使用,不知道选择哪个搜索索引好?点我查看
Q:only chinese and english, numbers and underscores are supported, and the length is no more than 50(出现在一刻相册文件改名时
A:一刻相册文件夹改名时最大50长度
Q:failed get objs: failed to list objs: NotFound.FileId:The resource file_id cannot be found. file_id:634e704cefa78f92fefd4c779f7422d820082d041(添加阿里云盘open
A:添加阿里云盘open存储时,根文件夹ID错误上述最后哪个ID就是错误的ID去获取正确的替换即可
Q:System error: SyntaxError: Invalid regular expression: /?/: Nothing to repeat
A:你的油猴答题插件冲突了,关闭了即可详情查看点击查看open in new window
Q:Too many unsuccessful sign-in attempts have been made using an incorrect username or password, Try again later.
A:连续登录输入6次密码错误就会锁定,重启AList即可重置。
Q:Failed get storage: please add a storage first. (添加离线下载内容时
A:添加离线下载文件时,你需要进入你想把离线下载的文件下载到哪个云盘然后就进入哪个文件夹,而不是在首页添加 完整使用说明
Q:failed get objs: failed to list objs: Unable to retrieve user's mysite URL(添加onedrive_app时
A:新建的 OneDrive用户账号不是实时生效,会延时生效等待几小时后试试看 案例open in new window
Q:failed to start: listen tcp 0.0.0.0:5244: bind: address already in use (启动AList程序时
A:5244端口号已经被使用,排查是否被占用(一般来说你已经启动了一个5244端口的AList导致的),或者修改AList启动的端口号,如何修改
QAList上传文件时提示:Request failed with status code 413
A:Nginx配置的文件大小所限制,修改Nginx的client_max_body_size就可以,如果你是宝塔搭建的去宝塔页面修改示例open in new window

暂时就这些,如果还有可以留言,或者按照格式添加(为了统一直观)