Dropbox Backup question - UnicodeDecodeError arabic locale

I am using dropbox backup integration with no problems, but what it is backing up is the database and files, but not private files folder, while it is urgent to backup private files folder i cannot do it with dropbox, any suggestions how to enable it with dropbox?
Thank you

Dropbox connector should backup your db file, public folder as well as private folder. Do you see any error logs?

{‘retry’: 0, ‘log’: <function log at 0x7fbc56187578>, ‘site’: u’XXXXXX’, ‘event’: u’daily_long’, ‘method_name’: u’frappe.integrations.doctype.dropbox_settings.dropbox_settings.take_backups_daily’, ‘method’: <function take_backups_daily at 0x7fbc5565e938>, ‘user’: u’Administrator’, ‘kwargs’: {}, ‘async’: True, ‘job_name’: u’frappe.integrations.doctype.dropbox_settings.dropbox_settings.take_backups_daily’}
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/background_jobs.py”, line 97, in execute_job
method(**kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 34, in take_backups_daily
take_backups_if(“Daily”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 41, in take_backups_if
take_backup_to_dropbox()
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 55, in take_backup_to_dropbox
send_email(False, “Dropbox”, error_message)
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py”, line 78, in send_email
frappe.sendmail(recipients=recipients, subject=subject, message=message)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 436, in sendmail
inline_images=inline_images, header=header, print_letterhead=print_letterhead)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/queue.py”, line 70, in send
email_account = get_outgoing_email_account(True, append_to=reference_doctype, sender=sender)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/smtp.py”, line 70, in get_outgoing_email_account
frappe.OutgoingEmailError)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 323, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 309, in msgprint
_raise_exception()
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 282, in _raise_exception
raise raise_exception(encode(msg))
OutgoingEmailError: Please setup default Email Account from Setup > Email > Email Account

this is the error i found, hope it would help

“OutgoingEmailError: Please setup default Email Account from Setup > Email > Email Account”

It seems Dropbox is confused - maybe delete and reenter your Dropbox settings?
https://erpnext.org/docs/user/manual/en/setting-up/integrations/dropbox-backup

I tried to reset dropbox settings but still the same error with private folder not being backed up,

Guys, any help regarding my backup problem?

I suggest you respond and contribute what you yourself have found, tried or done to resolve this?

Is there any error log?

@clarkej i did as u menstioned and reset dropbox settings, but still the same error i posted before, nothing has changed

You mean still this error!?

“OutgoingEmailError: Please setup default Email Account from Setup > Email > Email Account”

yes, and still does not backup private folder
i just did not setup email account for now,

Have you checked that the directory exists with the correct unix user, group, and file permissions?

For eg my case

frappe@erpnext:~/frappe-bench$ ls -al sites/erpnext.vm/private/files/*.png
-rw-r--r-- 1 frappe frappe   8204 Nov 22  2016 sites/erpnext.vm/private/files/GK.png

Sorry for Delay regarding updates,
First i setup email for notifications, now i get this error which seems to be the same error i get when i tried to install Bench manager

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()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py", line 109, in backup_to_dropbox
    upload_from_folder(get_files_path(is_private=1), "/private/files", dropbox_client, did_not_upload, error_log)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/dropbox_settings/dropbox_settings.py", line 128, in upload_from_folder
    for root, directory, files in os.walk(path):
  File "/home/frappe/frappe-bench/env/lib/python2.7/os.py", line 286, in walk
    if isdir(join(top, name)):
  File "/home/frappe/frappe-bench/env/lib/python2.7/posixpath.py", line 73, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd8 in position 1: ordinal not in range(128)

I read another topic regarding this error, but i cant seem to understand how to find that ascii codec that is giving me this error

"
First i setup email for notifications, now i get this error which seems to be the same error i get when i tried to install Bench manager
"
Good so you setup you email as prompted, that hid this traceback of the problem you seek.

The traceback says a filename in your /private/files has a character that causes the upload to Dropbox to fail. So inspect the filenames there, to identify the problem filename. You may need rename it

Which version of frappe you are using. We have fixed this issue. If you are on latest version, please let us know.

i am on 10.1.29 frappe and erpnext on 10.1.30

i have file names that has arabic letters in it, but it never was a problem before in earlier versions, it used to backup filenames with arabic letters normally to dropbox

We will check into this and update you soon,

any new info regarding my problem?