frappe / nextcloud-integration

Frappe App for NextCloud Integration
MIT License
49 stars 58 forks source link

Backup Upload Failed #18

Closed knudeh closed 3 years ago

knudeh commented 3 years ago

Output of bench version

erpnext 13.x.x-develop
frappe 13.x.x-develop
nextcloud_integration 0.0.1

Steps to reproduce the issue

  1. Install according to Readme
  2. set settings, save
  3. 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.
AfshanKhan commented 3 years ago

This has been fixed. Pull the latest code and checkout.