Hello community!
i installed nextcloud-aio via docker-compose:
# ignored options for 'all-in-one'
# --sig-proxy=false
version: "3.3"
services:
all-in-one:
init: true
container_name: nextcloud-aio-mastercontainer
restart: always
ports:
- 8080:8080
environment:
- APACHE_PORT=11000
- APACHE_IP_BINDING=0.0.0.0
- NEXTCLOUD_DATADIR=/mnt/fastplate/nextcloud-data
volumes:
- nextcloud_aio_mastercontainer:/mnt/docker-aio-config
- /var/run/docker.sock:/var/run/docker.sock:ro
- /mnt/fastplate/nextcloud/data:/mnt/fastplate/nextcloud-data
- /mnt/fastplate/nextcloud/backup
image: nextcloud/all-in-one:latest
volumes:
nextcloud_aio_mastercontainer: {}
networks: {}
And now i get the error that borg backups can’t be done because the configuration.json is missing. I already found this entry and i have the same problem that my volume got a different name. As you can see i didn’t change the volume name in my docker-compose, but apparently dockge (the compose webui i use) changed it to:
nextcloud-aio_nextcloud_aio_mastercontainer
see:
"Mounts": [
{
"Type": "volume",
"Name": "nextcloud-aio_nextcloud_aio_mastercontainer",
"Source": "/var/lib/docker/volumes/nextcloud-aio_nextcloud_aio_mastercontainer/_data",
"Destination": "/mnt/docker-aio-config",
"Driver": "local",
"Mode": "z",
"RW": true,
"Propagation": ""
},
Now i was a little bit stupid to be honest and i am willing to admit that. When i installed nextcloud AIO and tried the backup, it failed with that exact cause. I didn’t care too much and proceeded with my setting up of nextcloud and i am using it just fine… but it nags me that i don’t have working backups.
Now, is it somehow possible to correct the volume name so the borg backups work and NOT break the container because now the name is different?
Hopefully someone can help me out here… i am fully aware that this is 100% on me for using nextcloud despite me knowing that backups didn’t work properly.