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

【已解决】计划任务无法备份网站和备份数据

发表在 Linux面板2021-3-30 09:14 [复制链接] 2 1354

使用计划任务备份网站和备份数据,无法执行
宝塔版本号:7.5.2

计划任务设置如下:
微信截图_20210330091312.png 微信截图_20210330091246.png



报错日志如下:


  1. <pre class="crontab-log" 微软雅黑""="" style="box-sizing: border-box; overflow: auto; font-family: Menlo, Monaco, Consolas, &quot;Courier New&quot;, monospace; font-size: 13px; padding: 15px; line-height: 23px; color: rgb(241, 241, 241); word-break: break-all; background-color: rgb(51, 51, 51); border: 0px none; border-radius: 0px; white-space: pre-wrap; height: 405px;">/usr/lib64/python2.7/site-packages/OpenSSL/crypto.py:12: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
  2.   from cryptography import x509
  3. global name 'myfunction2' is not defined</pre>
复制代码



使用道具 举报 只看该作者 回复
发表于 2021-3-30 09:53:07 | 显示全部楼层
  1. curl http://download.bt.cn/install/update_panel.sh|bash
复制代码

您好,您到服务器上执行下这个命令,升级到独立python环境下的面板,重新安装下阿里云存储(更新也行),然后添加计划任务是否正常,还不行的话在下面留言
使用道具 举报 回复 支持 反对
发表于 2021-3-30 10:13:03 | 显示全部楼层
大炮运维V587 发表于 2021-3-30 09:53
您好,您到服务器上执行下这个命令,升级到独立python环境下的面板,重新安装下阿里云存储(更新也行), ...

已解决,重新安装阿里云oss插件就好了
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

工作时间:09:00至18:30

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