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

【已解决】宝塔面板自动备份网站失败。。。

发表在 Linux面板2020-4-4 17:48 [复制链接] 1 2397

本帖最后由 谢花郎 于 2020-4-7 17:52 编辑

备份所有网站,但是只成功了一个网站,其他网站备份失败,而且发现日志也报错了。
QQ截图20200404174530.png
  1. Start upload
  2. Upload Success ,File ID: 1s3GQmCz7YnK4JSziLtsuAODyJK0Q81-7
  3. ★[2020/04/04 17:39:43] The website [driver.xxxx.net] has been successfully backed up to Google Drive, using [8.78] seconds
  4. |---Keep the latest [4] backups
  5. |---File name:Web_driver.xxxx.net_20200404_173942_4HySkzpO.tar.gz
  6. Start upload
  7. Traceback (most recent call last):
  8.   File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 540, in <module>
  9.     q.backup_all_site( sys.argv[3])
  10.   File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 517, in backup_all_site
  11.     self.backup_site(site['name'], save)
  12.   File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 339, in backup_site
  13.     self.upload_file(get)
  14.   File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 238, in upload_file
  15.     file = drive_service.files().create(body=file_metadata, media_body=media, fields='id').execute()
  16.   File "/usr/lib/python2.7/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
  17.     return wrapped(*args, **kwargs)
  18.   File "/usr/lib/python2.7/site-packages/googleapiclient/http.py", line 827, in execute
  19.     _, body = self.next_chunk(http=http, num_retries=num_retries)
  20.   File "/usr/lib/python2.7/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper
  21.     return wrapped(*args, **kwargs)
  22.   File "/usr/lib/python2.7/site-packages/googleapiclient/http.py", line 988, in next_chunk
  23.     headers=headers)
  24.   File "/usr/lib/python2.7/site-packages/google_auth_httplib2.py", line 198, in request
  25.     uri, method, body=body, headers=request_headers, **kwargs)
  26.   File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 2189, in request
  27.     cachekey,
  28.   File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1884, in _request
  29.     content,
  30. httplib2.RedirectMissingLocation: Redirected but the response is missing a Location: header.
复制代码

使用道具 举报 只看该作者 回复
发表于 2020-4-4 18:19:04 | 显示全部楼层
修复面板后解决
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术分析

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

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