• 1
  • 新人请关照

宝塔面板安装七牛云存储 4.9无法备份

报错日志:

From cffi callback <function _verify_callback at 0x7f76fe174de8>:

★开始备份[2020-11-17 11:00:04]

|-备份数据库:www_zepengweb_c
|-数据库大小:17.02 MB
|-数据库字符集:utf8
|-分区/可用磁盘空间为:13.79 GB,可用Inode为:1190345
|-开始导出数据库:2020-11-17 11:00:04
|-数据库备份完成,耗时0.36秒,压缩包大小:529.12 KB
|-正在上传到七牛云存储,请稍候...
|-正在上传到 bt_backup/database/www_zepengweb_c/db_www_zepengweb_c_20201117_110004.sql.gz...
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/OpenSSL/SSL.py", line 309, in wrapper

_lib.X509_up_ref(x509)

AttributeError: 'module' object has no attribute 'X509_up_ref'
Traceback (most recent call last):
File "/www/server/panel/plugin/qiniu/qiniu_main.py", line 1254, in resumable_upload

progress_handler=progress_callback)

File "/usr/lib/python2.7/site-packages/qiniu/services/storage/uploader.py", line 79, in put_file

modify_time=modify_time, keep_last_modified=keep_last_modified)

File "/usr/lib/python2.7/site-packages/qiniu/services/storage/uploader.py", line 98, in _form_put

url = config.get_default('default_zone').get_up_host_by_token(up_token)

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 35, in get_up_host_by_token

up_hosts = self.get_up_host(ak, bucket)

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 55, in get_up_host

bucket_hosts = self.get_bucket_hosts(ak, bucket)

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 101, in get_bucket_hosts

hosts = compat.json.loads(self.bucket_hosts(ak, bucket))

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 159, in bucket_hosts

ret = requests.get(url)

File "/root/.local/lib/python2.7/site-packages/requests/api.py", line 75, in get

return request('get', url, params=params, **kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/api.py", line 60, in request

return session.request(method=method, url=url, **kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request

resp = self.send(prep, **send_kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send

r = adapter.send(request, **kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/adapters.py", line 514, in send

raise SSLError(e, request=request)

SSLError: HTTPSConnectionPool(host='uc.qbox.me', port=443): Max retries exceeded with url: /v1/query?ak=9ODIoH4WRKVD893fEoP1cn9BZBOH4_RzBShn5g5U&bucket=zepengweb (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
From cffi callback <function _verify_callback at 0x7f76fcffe488>:
文件上传出现错误:
重试上传文件....
|-正在上传到 bt_backup/database/www_zepengweb_c/db_www_zepengweb_c_20201117_110004.sql.gz...
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/OpenSSL/SSL.py", line 309, in wrapper

_lib.X509_up_ref(x509)

AttributeError: 'module' object has no attribute 'X509_up_ref'
Traceback (most recent call last):
File "/www/server/panel/plugin/qiniu/qiniu_main.py", line 1254, in resumable_upload

progress_handler=progress_callback)

File "/usr/lib/python2.7/site-packages/qiniu/services/storage/uploader.py", line 79, in put_file

modify_time=modify_time, keep_last_modified=keep_last_modified)

File "/usr/lib/python2.7/site-packages/qiniu/services/storage/uploader.py", line 98, in _form_put

url = config.get_default('default_zone').get_up_host_by_token(up_token)

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 35, in get_up_host_by_token

up_hosts = self.get_up_host(ak, bucket)

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 55, in get_up_host

bucket_hosts = self.get_bucket_hosts(ak, bucket)

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 101, in get_bucket_hosts

hosts = compat.json.loads(self.bucket_hosts(ak, bucket))

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 159, in bucket_hosts

ret = requests.get(url)

File "/root/.local/lib/python2.7/site-packages/requests/api.py", line 75, in get

return request('get', url, params=params, **kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/api.py", line 60, in request

return session.request(method=method, url=url, **kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request

resp = self.send(prep, **send_kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send

r = adapter.send(request, **kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/adapters.py", line 514, in send

raise SSLError(e, request=request)

SSLError: HTTPSConnectionPool(host='uc.qbox.me', port=443): Max retries exceeded with url: /v1/query?ak=9ODIoH4WRKVD893fEoP1cn9BZBOH4_RzBShn5g5U&bucket=zepengweb (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))
From cffi callback <function _verify_callback at 0x7f76fcffe668>:
文件上传出现错误:
重试上传文件....
|-正在上传到 bt_backup/database/www_zepengweb_c/db_www_zepengweb_c_20201117_110004.sql.gz...
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/OpenSSL/SSL.py", line 309, in wrapper

_lib.X509_up_ref(x509)

AttributeError: 'module' object has no attribute 'X509_up_ref'
Traceback (most recent call last):
File "/www/server/panel/plugin/qiniu/qiniu_main.py", line 1254, in resumable_upload

progress_handler=progress_callback)

File "/usr/lib/python2.7/site-packages/qiniu/services/storage/uploader.py", line 79, in put_file

modify_time=modify_time, keep_last_modified=keep_last_modified)

File "/usr/lib/python2.7/site-packages/qiniu/services/storage/uploader.py", line 98, in _form_put

url = config.get_default('default_zone').get_up_host_by_token(up_token)

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 35, in get_up_host_by_token

up_hosts = self.get_up_host(ak, bucket)

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 55, in get_up_host

bucket_hosts = self.get_bucket_hosts(ak, bucket)

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 101, in get_bucket_hosts

hosts = compat.json.loads(self.bucket_hosts(ak, bucket))

File "/usr/lib/python2.7/site-packages/qiniu/region.py", line 159, in bucket_hosts

ret = requests.get(url)

File "/root/.local/lib/python2.7/site-packages/requests/api.py", line 75, in get

return request('get', url, params=params, **kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/api.py", line 60, in request

return session.request(method=method, url=url, **kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/sessions.py", line 533, in request

resp = self.send(prep, **send_kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/sessions.py", line 646, in send

r = adapter.send(request, **kwargs)

File "/root/.local/lib/python2.7/site-packages/requests/adapters.py", line 514, in send

raise SSLError(e, request=request)

SSLError: HTTPSConnectionPool(host='uc.qbox.me', port=443): Max retries exceeded with url: /v1/query?ak=9ODIoH4WRKVD893fEoP1cn9BZBOH4_RzBShn5g5U&bucket=zepengweb (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')],)",),))

文件上传出现错误:

|-错误:错误:文件上传失败,跳过本次备份!

阅读 59
评论
    0 个回答
    撰写回答

    登录后参与交流、获取后续更新提醒

    相似问题
    七牛云问答
    合作问答

    七牛云 联合 SegmentFault 共同推出技术问答专区,为开发者们提供社区支持和帮助。在这里,你将直接获得...

    推荐文章