Drop box backup issue

Backup Upload Failed

Oops, your automated backup to Dropbox failed.

Error message:

Traceback (most recent call last):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 45, in take_backup_to_dropbox
did_not_upload, error_log = backup_to_dropbox()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 98, in backup_to_dropbox
upload_file_to_dropbox(filename, “/database”, dropbox_client)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 149, in upload_file_to_dropbox
file_size = os.path.getsize(encode(filename))
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/env/lib/python2.7/genericpath.py”, line 57, in getsize
return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: ‘./erpnext/private/backups/20171011_121632-erpnext-database.sql.gz’

Have you confirmed no file there - have you backup enabled?

If you are on bitnami be aware Bitnami Stack does not work properly

A ‘backup upload failed’ forum search has ideas and pointers for you to try.