2023-07-21 15:34:17,801: WARNING - 902 A backup archive with this name already exists.
2023-07-21 15:34:17,968: DEBUG - + ynh_die '--message=Backup failed, the upgrade process was aborted.'
2023-07-21 15:34:18,080: WARNING - Backup failed, the upgrade process was aborted.
But then i deleted on the backups I had in that server, and still get the same warning.
hmm I was only seeing in the interface...will delete them and try again
Just deleted those two backup files and still got a similar error:
2023-07-22 05:55:16,697: WARNING - OSError: [Errno 5] Input/output error
2023-07-22 05:55:16,776: DEBUG - 26458 The operation ‘Create a backup archive’ could not be completed. Please share the full log of this operation using the command ‘yunohost log share 20230722-045451-backup_create’ to get help
2023-07-22 05:55:16,794: DEBUG - 26476 action [31230.1] executed in 25.817s
2023-07-22 05:55:16,795: WARNING - 26477 Could not create the backup archive
2023-07-22 05:55:17,012: DEBUG - + ynh_die ‘–message=Backup failed, the upgrade process was aborted.’
2023-07-22 05:55:17,055: WARNING - Backup failed, the upgrade process was aborted.
How to upgrade ignoring the previously create of a backup?
2023-07-31 06:58:25,685: Error: Could not add the files '/var/www/nextcloud' (named in the archive 'apps/nextcloud/backup/var/www/nextcloud') to be backed up into the compressed archive '/home/yunohost.backup/archives/20230731-093212.tar'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yunohost/backup.py", line 1964, in backup
tar.add(path["source"], arcname=path["dest"])
File "/usr/lib/python3.9/tarfile.py", line 1985, in add
self.add(os.path.join(name, f), os.path.join(arcname, f),
File "/usr/lib/python3.9/tarfile.py", line 1985, in add
self.add(os.path.join(name, f), os.path.join(arcname, f),
File "/usr/lib/python3.9/tarfile.py", line 1985, in add
self.add(os.path.join(name, f), os.path.join(arcname, f),
[Previous line repeated 5 more times]
File "/usr/lib/python3.9/tarfile.py", line 1979, in add
self.addfile(tarinfo, f)
File "/usr/lib/python3.9/tarfile.py", line 2007, in addfile
copyfileobj(fileobj, self.fileobj, tarinfo.size, bufsize=bufsize)
File "/usr/lib/python3.9/tarfile.py", line 247, in copyfileobj
buf = src.read(bufsize)
OSError: [Errno 5] Input/output error