Nextcloud AIO: Reset Passphrase

Hi,

Simple question… because I was having issues installing Nextcloud AIO, I installed it several times. I have a passphrase but clearly forgot to update it on my last install so it’s wrong.

Is there any way to update that password given that I haven’t got one right now? I’m trying to do a backup before updating the installation.

Thanks

James

Hi, see How to re-obtain/retreive the Nextcloud AIO passphrase? · nextcloud/all-in-one · Discussion #1786 · GitHub

Maybe I’m doing something wrong but the command…

sudo docker exec nextcloud-aio-mastercontainer grep password /mnt/docker-aio-config/data/configuration.json

… doesn’t work. It’s probably because I’m doing this on Win 11 Pro with WSL2/Ubuntu.

James

… doesn’t work.

Kind of vague, but okay.

It’s probably because I’m doing this on Win 11 Pro with WSL2/Ubuntu.

Indeed. Just drop the sudo.

How to run AIO on Windows?

Or I imagine somewhere on https://docs.docker.com

Unfortunately, I did try that at the time and it’s “docker” (that line) that appears to be the issue however I have now managed to install that command (apt install docker.io). My container is not, apparently, called “nextcloud-aio-mastercontainer” so I need to figure out what it is… I believe the video I was initially working from mentioned how to find that so…

EDIT: Well that’s odd.
Apparently the command to list containers is “docker ps” which I ran and all I got was:

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

Just the headers, no containers at all.

To me that suggests two possibilities, first that I’m in the wrong place (unlikely since the command is responding), second that my Ubuntu distro (which was installed AFTER Nextcloud AIO) somehow can’t see my docker installation.

James