This is actually good to see. I’m brand new to Yunohost and have tried installing Nextcloud a few times but am receiving the same error and message on the logs. I was convinced it was something I was doing wrong.
Edit: ah, thanks to the commenter below, I see where mine is breaking and it is indeed a different issue. Onward!
This is what causes the update to fail
2023-08-01 21:36:59,288: DEBUG - App “Mail” cannot be installed because it is not compatible with this version of the server.
You need to deactivate the mail app in nextcloud, perform the update, then reactivate it.
I have the same problem, but don’t have app mail installed in nextcloud, what could it be?
Actually I get something in the logs that i don’t understand what’s the problem:
2023-08-02 15:36:57,230: DEBUG - 1406 processing action [387166.1]: yunohost.backup.create with args={'name': 'nextcloud-pre-upgrade2', 'description': None, 'output_directory': None, 'methods': None, 'system': None, 'apps': ['nextcloud'], 'dry_run': False}
2023-08-02 15:36:57,280: DEBUG - 1457 action [387166.1] executed in 0.050s
2023-08-02 15:36:57,281: WARNING - 1457 A backup archive with this name already exists.
2023-08-02 15:36:57,441: DEBUG - + ynh_die '--message=Backup failed, the upgrade process was aborted.'
But then I tried creating a backup from terminal and I get:
# yunohost backup create --apps nextcloud
Info: Collecting files to be backed up for nextcloud...
Info: Loading installation settings...
Info: Declaring files to be backed up...
Info: Backing up the MySQL database...
Info: Backing up data directory...
Info: Backup script completed for nextcloud. (YunoHost will then actually copy those files to the archive).
Info: Creating a backup archive from the collected files...
Info: The archive will contain about 25.1GB of data.
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/20230802-144008.tar'
Info: The operation 'Create a backup archive' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20230802-144008-backup_create' to get help
Error: Could not create the backup archive