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:
- Delete app from https://www.dropbox.com/developers/apps (old app from testing database)
- Create new dropbox api app
- Follow Open Source Version Instructions but on step 9 clicking Allow dropbox access doesn’t trigger Login to Dropbox Page
- 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.
F - N
a - o
l - A
e - c
d - c
b - s
a - s
k - T
u - o
p - k
u - n
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
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.