Nextcloud AIO Datadir change fails

Hi, installed Nextcloud AIO, Installation works.

External SSD is mounted in

/mnt/ncdata

Now tried to change the DATADIR location:

Removed nextcloud-aio-mastercontainer using portainer

Now tried to install masterconrtainer using folling command:

Now I get this message;

docker: invalid reference format

Run ‘docker run --help’ for more information
-bash: ghcr.io/nextcloud-releases/all-in-one:latest: No such file or directory

I dont understand the how to in the official document

Anybody can solve my Problem?

Thanx

your problem has nothing to do with the data dir. or me it looks lik you entered the command somehow wrong and for this reason your server doesn’t recognize the image name as part of docker run command buth rather tries to run the command ghcr.io/nextcloud-releases/all-in-one:latest: which obviously doesn’t exist.

then I would recommend you spend some time studying https://docs.docker.com/get-started/.

1 Like

Best guess without having the literal string to dissect, is that you have a space after the last \. You can sort of see what I mean by looking at the examples here.

2 Likes