当前位置:论坛首页 > Linux面板 > 求助

【已解决】阿里云OSS 无法使用

发表在 Linux面板2024-12-2 16:22 [复制链接] 4 191

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:

宝塔面板9.2, 阿里云OSS6.8
系统版本:

CentOS  7.6.1810 x86_64(Py3.7.9)
问题描述:

阿里云OSS 无法使用
相关截图(日志、错误):

多次修复 及重新安装都是样
555.png
005.png
使用道具 举报 只看该作者 回复
发表于 2024-12-2 16:30:02 | 显示全部楼层
您好,您到服务器 SSH 终端里执行
  1. bash /www/server/panel/plugin/alioss/install.sh install
复制代码

预期结果如下:
  1. [root@IqlPlM1037441 ~]# bash /www/server/panel/plugin/alioss/install.sh install
  2. 正在安装...
  3. Found existing installation: pycryptodome 3.9.7
  4. Uninstalling pycryptodome-3.9.7:
  5.   Successfully uninstalled pycryptodome-3.9.7
  6. Looking in indexes: https://mirrors.aliyun.com/pypi/simple
  7. Collecting pycryptodome==3.9.7
  8.   Using cached https://mirrors.aliyun.com/pypi/packages/1b/79/f2a9bb60abd1ccd34006bab9a6ebbe03abe8c660366d20be390b85277fb1/pycryptodome-3.9.7-cp37-cp37m-manylinux1_x86_64.whl (13.7 MB)
  9. Installing collected packages: pycryptodome
  10. Successfully installed pycryptodome-3.9.7
  11. WARNING: You are using pip version 20.3.3; however, version 24.0 is available.
  12. You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command.
  13. Looking in indexes: https://mirrors.aliyun.com/pypi/simple
  14. Requirement already satisfied: oss2==2.18.3 in /www/server/panel/pyenv/lib/python3.7/site-packages (2.18.3)
  15. Requirement already satisfied: aliyun-python-sdk-core>=2.13.12 in /www/server/panel/pyenv/lib/python3.7/site-packages (from oss2==2.18.3) (2.13.30)
  16. Requirement already satisfied: crcmod>=1.7 in /www/server/panel/pyenv/lib/python3.7/site-packages (from oss2==2.18.3) (1.7)
  17. Requirement already satisfied: six in /www/server/panel/pyenv/lib/python3.7/site-packages (from oss2==2.18.3) (1.15.0)
  18. Requirement already satisfied: requests!=2.9.0 in /www/server/panel/pyenv/lib/python3.7/site-packages (from oss2==2.18.3) (2.25.1)
  19. Requirement already satisfied: pycryptodome>=3.4.7 in /www/server/panel/pyenv/lib/python3.7/site-packages (from oss2==2.18.3) (3.9.7)
  20. Requirement already satisfied: aliyun-python-sdk-kms>=2.4.1 in /www/server/panel/pyenv/lib/python3.7/site-packages (from oss2==2.18.3) (2.14.0)
  21. Requirement already satisfied: jmespath<1.0.0,>=0.9.3 in /www/server/panel/pyenv/lib/python3.7/site-packages (from aliyun-python-sdk-core>=2.13.12->oss2==2.18.3) (0.10.0)
  22. Requirement already satisfied: cryptography<3.3,>=2.9.2 in /www/server/panel/pyenv/lib/python3.7/site-packages (from aliyun-python-sdk-core>=2.13.12->oss2==2.18.3) (3.2.1)
  23. Requirement already satisfied: cffi!=1.11.3,>=1.8 in /www/server/panel/pyenv/lib/python3.7/site-packages (from cryptography<3.3,>=2.9.2->aliyun-python-sdk-core>=2.13.12->oss2==2.18.3) (1.15.1)
  24. Requirement already satisfied: pycparser in /www/server/panel/pyenv/lib/python3.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography<3.3,>=2.9.2->aliyun-python-sdk-core>=2.13.12->oss2==2.18.3) (2.21)
  25. Requirement already satisfied: urllib3<1.27,>=1.21.1 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.9.0->oss2==2.18.3) (1.26.2)
  26. Requirement already satisfied: chardet<5,>=3.0.2 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.9.0->oss2==2.18.3) (4.0.0)
  27. Requirement already satisfied: certifi>=2017.4.17 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.9.0->oss2==2.18.3) (2020.12.5)
  28. Requirement already satisfied: idna<3,>=2.5 in /www/server/panel/pyenv/lib/python3.7/site-packages (from requests!=2.9.0->oss2==2.18.3) (2.10)
  29. WARNING: You are using pip version 20.3.3; however, version 24.0 is available.
  30. You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command.
  31. Looking in indexes: https://mirrors.aliyun.com/pypi/simple
  32. Requirement already satisfied: PyMySQL==0.9.3 in /www/server/panel/pyenv/lib/python3.7/site-packages (0.9.3)
  33. WARNING: You are using pip version 20.3.3; however, version 24.0 is available.
  34. You should consider upgrading via the '/www/server/panel/pyenv/bin/python3.7 -m pip install --upgrade pip' command.
  35. curl: (3) <url> malformed
  36. ================================================
  37. 安装完成
  38. Successify
复制代码


如果安装失败,请把显示的信息截图发出来看看
使用道具 举报 回复 支持 反对
发表于 2024-12-2 16:43:19 | 显示全部楼层
大炮运维V587 发表于 2024-12-2 16:30
您好,您到服务器 SSH 终端里执行

预期结果如下:

最后是提示安装完成  还是这样
使用道具 举报 回复 支持 反对
发表于 2024-12-2 16:46:38 | 显示全部楼层
重启了下面板,正常了
使用道具 举报 回复 支持 反对
发表于 2024-12-2 17:12:59 | 显示全部楼层
七粉打扮 发表于 2024-12-2 16:46
重启了下面板,正常了

问题解决就好。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表