Open knudeh opened 3 years ago
@knudeh I just ran this on v12 and it works. I will try it on v13 soon and let you know if I had a similar problem.
It's also not working here.
Output of bench version
ERPNext: v13.0.2 (version-13)
Frappe Framework: v13.0.3 (version-13)
Nextcloud Integration: v0.0.1 (HEAD)
Error message: ./xxxx.frappe.cloud/private/backups/20210422_121022-xxxx_frappe_cloud-database.sql.gz - Failed while uploading Site Config ./xxxx.frappe.cloud/private/backups/20210422_121022-werock1_frappe_cloud-site_config_backup.json - Failed while uploading DB Traceback (most recent call last): File "/home/frappe/frappe-bench/apps/nextcloud_integration/nextcloud_integration/nextcloud_integration/doctype/nextcloud_setting/nextcloud_setting.py", line 28, in start_taking_backup raise Exception Exception
Installed via Frappcloud
Follow-up:
moved nextcloud to a differnet server, might be unrelated
some bench update inbetween
got a differnet error:
File "/home/erpnext/erpnext-test/apps/frappe/frappe/utils/backups.py", line 443, in take_dump frappe.utils.execute_in_shell(command, low_priority=True) TypeError: execute_in_shell() got an unexpected keyword argument 'low_priority'
Removed ", low_priority=True" and got successful backup
Checked "Backup Files"
File "/home/erpnext/erpnext-test/apps/frappe/frappe/utils/backups.py", line 329, in backup_files frappe.utils.execute_in_shell( TypeError: execute_in_shell() got an unexpected keyword argument 'low_priority'
and backup failed again
frappe/frappe/utils/init.py
310 def execute_in_shell(cmd, verbose=0, low_priority=False):
any updates??
I repaired the nextcloud long time ago for my version 13 installation, can you try my version?
Output of
bench version
Steps to reproduce the issue
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
Might be related: https://stackoverflow.com/questions/43165341/python3-requests-connectionerror-connection-aborted-oserror104-econnr