Amazon S3 backup stopped working after V10-v11 upgrade

Our normal offsite backups were working fine on V10, but after the upgrade to V11 I’m now seeing the following error:-

When i Press Take backup now, in V10 the backup would be made and the server would be busy for a while. But with v11 when doing this, there are no backup processes running no tar etc so the backup is not running at all.

When I go to the config within ERPNext, with the details on the screen and press Save even though I have not changed anything I get the following error which indicates there is a problem with specification of the Amazon endpoint URL.

has anyone got this working in V11? Please help if you have

Something went wrong
Did not save
Server Error: Please check your server logs or contact tech support.
Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 260, in save
return self._save(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 296, in _save
self.run_before_save_methods()
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 876, in run_before_save_methods
self.run_method(“validate”)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 772, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 1048, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 1031, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py”, line 766, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/integrations/doctype/s3_backup_settings/s3_backup_settings.py”, line 19, in validate
if not self.endpoint_url:
AttributeError: ‘S3BackupSettings’ object has no attribute ‘endpoint_url’

1 Like

got the same issue,
posted here earlier today. noticed for v11 fresh install it’s working, but for v10-v11 upgrade, its not working

1 Like

@deatram thanks for this. have you raised this as a Github Issue? If not I’m happy to do so.
At least we can confirm that this is broken

1 Like

Hi Julian_Robbibs,
I think we are sharing same problem as from Ditram, could you kindly report the issue to Github for further assistance?

Not I have not, please go ahead and create one

I’ve just raised an issue After V11 Upgrade S3 backup settings 'endpoint_url' not defined, backups stop working · Issue #6929 · frappe/frappe · GitHub. Please follow this.

2 Likes
2 Likes

Thank you @ishanloya