Backup Upload Failed
knudeh opened this issue · comments
Output of bench version
erpnext 13.x.x-develop
frappe 13.x.x-develop
nextcloud_integration 0.0.1
Steps to reproduce the issue
- Install according to Readme
- set settings, save
- backup now
Observed result
Got an Email to "Send Notifications To" with back log, see below.
There are no files uploaded/backed up.
Expected result
Successful backup
Stacktrace / full error message
Backup Upload Failed!
Oops, your automated backup to Nextcloud failed.
Error message: Traceback (most recent call last): File "nextcloud_setting/nextcloud_setting.py",
line 26, in start_taking_backup self.backup_to_nextcloud(upload_db_backup) File "nextcloud_setting/nextcloud_setting.py",
line 55, in backup_to_nextcloud self.make_session() File "nextcloud_setting/nextcloud_setting.py",
line 107, in make_session session.auth = (self.email, AttributeError: 'NextcloudSetting' object has no attribute 'email'
Please contact your system manager for more information.
This has been fixed. Pull the latest code and checkout.