Hi community I’m having this error while doing a backup, any help really appreciated
ERPNext: v11.0.3-beta.32 () (staging)
Frappe Framework: v11.0.3-beta.45 () (staging)
Backup Upload Failed
Oops, your automated backup to Dropbox failed.
Error message:
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py", line 47, in take_backup_to_dropbox
did_not_upload, error_log = backup_to_dropbox(upload_db_backup)
File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py", line 96, in backup_to_dropbox
dropbox_settings = get_dropbox_settings()
File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py", line 238, in get_dropbox_settings
'file_backup':settings.file_backup
AttributeError: 'DropboxSettings' object has no attribute 'file_backup'
Please contact your system manager for more information.
i have a similar error after upgrading to v11
Oops, your automated backup to Dropbox failed.
Error message:
./erpnext.itmasr.net/private/files/Maged__Passport_7-3-2024.pdf - Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 158, in upload_from_folder
upload_file_to_dropbox(filepath, dropbox_folder, dropbox_client)
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 179, in upload_file_to_dropbox
dropbox_client.files_upload(f.read(), path, mode)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/base.py”, line 2277, in files_upload
f,
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 274, in request
timeout=timeout)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 365, in request_json_string_with_retry
timeout=timeout)
File “/home/frappe/frappe-bench/env/local/lib/python2.7/site-packages/dropbox/dropbox.py”, line 454, in request_json_string
raise InternalServerError(request_id, r.status_code, r.text)
InternalServerError: InternalServerError(‘58d745f14d2a058e22ea8d13aab00433’, 503, u’')
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 48, in take_backup_to_dropbox
if did_not_upload: raise Exception
Exception
Please contact your system manager for more information.
The dropbox functionality has stopped working since V12. Can someone help resolve it. I cannot even customise the dropbox form.
{‘event’: None, ‘kwargs’: {}, ‘method’: <function take_backup_to_dropbox at 0x7fc9591c77b8>, ‘job_name’: ‘frappe.integrations.doctype.dropbox_settings.dropbox_settings.take_backup_to_dropbox’, ‘retry’: 0, ‘user’: ‘Administrator’, ‘site’: ‘site1.local’, ‘method_name’: ‘frappe.integrations.doctype.dropbox_settings.dropbox_settings.take_backup_to_dropbox’, ‘log’: <function log at 0x7fc959d21620>, ‘is_async’: True}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 52, in take_backup_to_dropbox
if did_not_upload: raise Exception
Exception