AIO Backup: configuration.json not present. Cannot perform the backup!

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face: is for home/non-enterprise users. If you’re running a business, paid support can be accessed via where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:


Or for longer, use three backticks above and below the code snippet:


Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): Nextcloud AIO v7.9.0
Operating system and version (eg, Ubuntu 20.04): Fedora Silverblue 39
Apache or nginx version (eg, Apache 2.4.25): Nextcloud AIO v7.9.0
PHP version (eg, 7.4): Nextcloud AIO v7.9.0

The issue you are facing:

Is this the first time you’ve seen this error? (Y/N):

Steps to replicate it:

  1. in AIO config UI, set backup dir to /var/home/powersfamily/Public/nextcloud/backups
  2. Click “Create backup”
  3. Backup fails

The output of your Nextcloud log in Admin > Logging: Nothing borg or backup related

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!): AIO-generated

The output of the backup container log from AIO UI:

configuration.json not present. Cannot perform the backup!
/ line 42: /nextcloud_aio_volumes/nextcloud_aio_mastercontainer/data/backup_archives.list: Permission denied
chmod: /nextcloud_aio_volumes/nextcloud_aio_mastercontainer/data/backup_archives.list: No such file or directory

I suspect this is an SELinux problem

❯ sudo ls -lZ .local/share/containers/storage/volumes/nextcloud_aio_mastercontainer/_data/data
total 12
-rwxrwx---. 1 524320 524320 unconfined_u:object_r:data_home_t:s0   48 Jan  1 18:40 backupsecret
-rwxrwx---. 1 524320 524320 unconfined_u:object_r:data_home_t:s0 1916 Jan  1 20:34 configuration.json
-rwxrwx---. 1 524320 524320 unconfined_u:object_r:data_home_t:s0   10 Jan  1 18:39 session_date_file

Indeed, everyone’s favourite mandatory access control system blocked access

sudo semanage fcontext -a -t container_file_t '/var/home/powersfamily/.local/share/containers/storage/volumes/(.*)/_data(/.*)?'
1 Like

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