AIO Crashed and loop restart

Hi,

I’m having an issue after updating my Docker Nextcloud

Operating system and version : `Ubuntu 22.04.01`
Nextcloud (before update) : version 24.0.6

The command “docker logs nextcloud-aio-mastercontainer” is giving

/mnt/docker-aio-config is not a mountpoint. Cannot proceed!

I have been scouting the forum for now two days and sadly cant find anything helpful for my case… I can’t really delete all the data from the nextcloud, I have important file on it and I have - of course - not made any backup…

Ps : I’m a noob in all of that

Hi, can you run the folowing command on your server and post the output here?

sudo find /var/lib/docker/volumes -name configuration.json

Sure!

/var/lib/docker/volumes/626f76a373a9ce6017f2181d505256de068e293e82f56b863f684fdaa85319df/_data/data/configuration.json
/var/lib/docker/volumes/c19a8381f48c5882d2ba2aee142e569a9cc8b823ca53a0611ed402178b3a401e/_data/data/configuration.json
/var/lib/docker/volumes/c3d61e9a08862cdc79c16974e355374ad6d2a287001711ba6603feb2f6cf900e/_data/data/configuration.json

And the output of

sudo find /var/lib/docker/volumes -name configuration.json -exec grep domain {} \; -exec echo {} \;

Thanks! I delete the comment because it showed sensitive data

1 Like

So this is where the aio data is located:

/var/lib/docker/volumes/c19a8381f48c5882d2ba2aee142e569a9cc8b823ca53a0611ed402178b3a401e/_data/

You should be able to fix this by running:

sudo docker volume create nextcloud_aio_mastercontainer

sudo rsync -a -v /var/lib/docker/volumes/c19a8381f48c5882d2ba2aee142e569a9cc8b823ca53a0611ed402178b3a401e/_data/ /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/

sudo docker stop nextcloud-aio-mastercontainer

sudo docker rm nextcloud-aio-mastercontainer

sudo docker run \
--sig-proxy=false \
--name nextcloud-aio-mastercontainer \
--restart always \
--publish 80:80 \
--publish 8080:8080 \
--publish 8443:8443 \
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
nextcloud/all-in-one:latest
1 Like

Please also make sure to create a backup directly which should allow for an easy restore next time!

I can have access to the AIO thanks a lot! Everything is starting, waiting for it to finish, I’ll update you as soon as everything is back up and running!

Everything works perfectly, thank you for your help and quickness to answer! :pray: