After Update Hub 9 (Nextcloud-AIO) Borgbackup failed - missing .ocdata and datadir still mounted?

Hi everyone,

I recently upgraded to Nextcloud Hub 9 (30.0.0) and I’m encountering some issues with BorgBackup. I checked the last backup using borg list, and it shows the last successful backup was on Saturday (before the upgrade). This backup works; I tried extracting the data!

Additionally, I noticed the following message in my logs:

2024-09-16T05:36:59.363583305Z The .ocdata file is missing in Nextcloud datadir which means it is invalid!
2024-09-16T05:36:59.363646866Z Is the drive where the datadir is located on still mounted?

The .ocdata file seems to be missing, which might be affecting data integrity. I created the file with the following steps:

sudo docker exec --user www-data -it nextcloud-aio-nextcloud bash
cd data
touch .ocdata

I then tried to manually trigger a BorgBackup, but it was unsuccessful - same failure same message

Has anyone else experienced this issue after upgrading to Hub 9, and how can I resolve it to ensure BorgBackup works correctly with the most current data?

Thanks in advance for any help!

Please try

sudo docker exec --user www-data -it nextcloud-aio-nextcloud bash
cd /mnt/ncdata
touch .ocdata
1 Like

Also see NC30: backup failes · Issue #5256 · nextcloud/all-in-one · GitHub

thanks for the reply, now it works :slight_smile:

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.