当前位置:论坛首页 > BUG提交 > Linux面板

谷歌云盘备份失败

发表在 BUG提交4 天前 [复制链接] 0 20

本帖最后由 宝塔用户_gpyrek 于 2020-2-13 12:11 编辑

服务器系统:CentOS 7.7.1908(Py2.7.5)
宝塔版本7.1.0位置在美国加州
日志如下 数据库可以备份,网站无法备份(约200MB)
Start uploadfolder_name: acg.tw.cnparents: 1y0Yv1UP7PPPYypmsNMqzvYQnt-9DfAuzCreate Folder ID: 1njCA4bm4NFzkpUiR60x1ErdP6dyoZu_HTraceback (most recent call last):  File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 542, in <module>    q.backup_site(sys.argv[2], sys.argv[3])  File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 339, in backup_site    self.upload_file(get)  File "/www/server/panel/plugin/gdrive/gdrive_main.py", line 238, in upload_file    file = drive_service.files().create(body=file_metadata, media_body=media, fields='id').execute()  File "/usr/lib/python2.7/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper    return wrapped(*args, **kwargs)  File "/usr/lib/python2.7/site-packages/googleapiclient/http.py", line 827, in execute    _, body = self.next_chunk(http=http, num_retries=num_retries)  File "/usr/lib/python2.7/site-packages/googleapiclient/_helpers.py", line 130, in positional_wrapper    return wrapped(*args, **kwargs)  File "/usr/lib/python2.7/site-packages/googleapiclient/http.py", line 988, in next_chunk    headers=headers)  File "/usr/lib/python2.7/site-packages/google_auth_httplib2.py", line 198, in request    uri, method, body=body, headers=request_headers, **kwargs)  File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 2189, in request    cachekey,  File "/usr/lib/python2.7/site-packages/httplib2/__init__.py", line 1884, in _request    content,httplib2.RedirectMissingLocation: Redirected but the response is missing a Location: header.
使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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