We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto_backup 16.0
This bug is the same than pull request #2902 in 12.0 branch but recent changes 3d39f2b has reintroduced it in 16.0 branch.
Trying to make a backup in a remote sftp server, throws this error:
Odoo Server 16.0:odoo:ERROR:odoo.addons.auto_backup.models.db_backup:Database backup failed: sftp://[email protected]:22 Traceback (most recent call last): File "/opt/odoo/addons-oca/auto_backup/models/db_backup.py", line 215, in backup_log yield File "/opt/odoo/addons-oca/auto_backup/models/db_backup.py", line 189, in action_backup remote.makedirs(rec.folder, exist_ok=True) TypeError: Connection.makedirs() got an unexpected keyword argument 'exist_ok'
and it does not complete the backup transfer.
Affected versions: Only 16.0,
Steps to reproduce the behavior:
Additional context Pysftp method makedirs() it does not have any argument, it's different than the os.makedirs method. https://pysftp.readthedocs.io/en/release_0.2.9/cookbook.html#pysftp-connection-makedirs Removing "exist_ok" on line 189 solves the error.
server-tools/auto_backup/models/db_backup.py
Line 189 in 6e7e03d
Regards.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Module
auto_backup 16.0
Describe the bug
This bug is the same than pull request #2902 in 12.0 branch but recent changes 3d39f2b has reintroduced it in 16.0 branch.
Trying to make a backup in a remote sftp server, throws this error:
and it does not complete the backup transfer.
To Reproduce
Affected versions: Only 16.0,
Steps to reproduce the behavior:
Additional context
Pysftp method makedirs() it does not have any argument, it's different than the os.makedirs method.
https://pysftp.readthedocs.io/en/release_0.2.9/cookbook.html#pysftp-connection-makedirs
Removing "exist_ok" on line 189 solves the error.
server-tools/auto_backup/models/db_backup.py
Line 189 in 6e7e03d
Regards.
The text was updated successfully, but these errors were encountered: