Try ERPNext Buy Support Partners Foundation

Dropbox Backup Upload Failure

Dear All,

I have successfully setup dropbox integration on the testing database setup and it was working fine for daily backup and now I setup for production database, I drop the testing database and setup dropbox integration from the beginning for production database by following the instruction from https://erpnext.org/docs/user/manual/en/setting-up/integrations/dropbox-backup.

I’m following the Open Source Version Instructions because ERPNext Managed Version Instructions is not working (clicking Allow Dropbox access button doesn’t trigger Login to Dropbox Page)

These are the steps I have done for setting up the dropbox integrations:

  1. Delete app from https://www.dropbox.com/developers/apps (old app from testing database)
  2. Create new dropbox api app
  3. Follow Open Source Version Instructions but on step 9 clicking Allow dropbox access doesn’t trigger Login to Dropbox Page
  4. Push take backup now button and receive backup upload failed email

PS. Email setup is working fine and I have make sure that app key and app secret is correctly entered.

Below is the email content I received from my server indicating backup upload failed:

Backup Upload Failed

Oops, your automated backup to Dropbox failed.

Error message:
F - N
a - o
i -
l - A
e - c
d - c

  • e
    b - s
    a - s
    c -
    k - T
    u - o
    p - k
  • e
    u - n
    p -
    l - e
    o - x
    a - i
    d - s
    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.

Other action i tried apart from instructions: Push generate access token, this action creating backup folder in dropbox but backup upload still failed. I also tried to remove the locks file from this instructions Dropbox Backup Stopped Working but still no luck.

Hi, anybody can help with this???

@hokgt Not able to reproduce the issue at my end. Are you still facing the issue?

@saurabh6790 I’m still facing the dropbox backup issue although the error is different now. I already make sure that the app key and app secret correctly entered and also I’ve also followed this thread Setup dropbox backup [User Manual] and entered the access token but still failed.

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 88, 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 220, in get_dropbox_settings
raise Exception(_(“Please set Dropbox access keys in your site config”))
Exception: Please set Dropbox access keys in your site config
Please contact your system manager for more information.