Nextcloud AIO Interface not accepting admin pass phrase

Tried to log in to the usual web interface, I got a 502 (bad gateway) error.

Tried to log into the “Nextcloud AIO Login” interface on port 8080, but the interface will not accept the admin password (i.e., the generated pass phrase generated when the Docker install was created).

I ran the /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json | grep password command to confirm that I had copied the password(s) correctly - I had.

I stumbled across the " UDP Receive Buffer Size" error, and ran the command to increase that (sysctl -w net.core.rmem_max=2500000), because I had done a great deal of syncing after the initial install, and thought that might be the cause.

Resorted to a server reboot, after which a docker ps shows the master container restarted:

docker ps
CONTAINER ID   IMAGE                         COMMAND                  CREATED      STATUS                    PORTS                                                                   NAMES
94 .. bcc   nextcloud/all-in-one:latest   "/start.sh /usr/bin/…"   3 days ago   Up 19 minutes (healthy)   80/tcp, 8443/tcp, 9000/tcp, 0.0.0.0:8080->8080/tcp, :::8080->8080/tcp   nextcloud-aio-mastercontainer

Admin password still not being accepted.

Please help! :slight_smile:

Hi, can you post the nextcloud-aio-mastercontainer logs here?

Trying to fix docker.sock permissions internally...
Adding internal www-data to group ping
.....+................+.....+...+..........+...+..+...+....+...+......+.....+.......+..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+..+.......+.....+............+...............+.+............+..+.........+.+...+........+..........+...+.........+........+............+...+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
..+...........+...+...+.............+......+.........+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.+..+....+.........+............+........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*......+.....+............+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----
Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443
[21-Jun-2023 14:26:20] NOTICE: fpm is running, pid 102
[21-Jun-2023 14:26:20] NOTICE: ready to handle connections
{"level":"info","ts":1687357580.1869488,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
{"level":"info","ts":1687357580.19842,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details."}
Deleting duplicate sessions
nextcloud-aio-domaincheck
Total reclaimed space: 0B
Total reclaimed space: 0B
Total reclaimed space: 0B
[24-Jun-2023 20:35:47] NOTICE: Terminating ...
[24-Jun-2023 20:35:47] NOTICE: exiting, bye-bye!
Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443
{"level":"info","ts":1687638962.141086,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
[24-Jun-2023 20:36:02] NOTICE: fpm is running, pid 94
[24-Jun-2023 20:36:02] NOTICE: ready to handle connections
{"level":"info","ts":1687638962.1636593,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details."}
[24-Jun-2023 22:01:55] NOTICE: Terminating ...
[24-Jun-2023 22:01:55] NOTICE: exiting, bye-bye!
Initial startup of Nextcloud All-in-One complete!
You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!
E.g. https://internal.ip.of.this.server:8080

If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:
https://your-domain-that-points-to-this-server.tld:8443
{"level":"info","ts":1687644166.8163757,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}
{"level":"info","ts":1687644166.8381798,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Receive-Buffer-Size for details."}
[24-Jun-2023 22:02:46] NOTICE: fpm is running, pid 89
[24-Jun-2023 22:02:46] NOTICE: ready to handle connections

Hm…

What error does it show when you enter the password? Can you post a screenshot of that?

It shows nothing. I get the interstitial revolving ring, then it stays on the same UI, and removes the passphrase.

Are you sure the password that you entered is 100% correct? is there maybe a space at the beginning or end that you’ve falsely entered?

Just ran it though a quick regex check – letters and single spaces, nothing else.

Weird…

Just re-ran the sudo /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json | grep password command, got this:

/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 2: password:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 3: apache_port:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 4: apache_ip_binding:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 5: secrets:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 6: INSTANCE_ID:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 7: NEXTCLOUD_PASSWORD:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 8: BORGBACKUP_PASSWORD:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 9: TURN_SECRET:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 10: SIGNALING_SECRET:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 11: TALK_INTERNAL_SECRET:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 12: DATABASE_PASSWORD:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 13: REDIS_PASSWORD:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 14: ONLYOFFICE_SECRET:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 15: RECORDING_SECRET:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 16: },: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 17: domain:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 18: borg_restore_password:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 19: AIO_URL:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 20: wasStartButtonClicked:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 21: install_latest_major:: not found
/var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json: 22: AIO_TOKEN:: not found

the correct command is: sudo grep password /var/lib/docker/volumes/nextcloud_aio_mastercontainer/_data/data/configuration.json

Yeah, skip that last entry – I forgot thecat:smiley:

However, I copied directly from the (correct) output of the command to the web UI, still no joy.

I have an idea what the problem could be. Can you post the output of sudo df -h ?

I tried your version, same result.

Can you please run this command?

Lol, why is it always the easy answer?!?

 sudo df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           197M  1.4M  196M   1% /run
/dev/vda1        47G   45G     0 100% /
tmpfs           982M     0  982M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
overlay          47G   45G     0 100% /var/lib/docker/overlay2/2a17bda0553c6f1ff426125f62613b64cafb75792180bc26e41363a86af206be/merged
tmpfs           197M  4.0K  197M   1% /run/user/1002

Thanks!

Yes, sometimes it is XD

We spoke too soon…

sudo df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           392M  1.4M  390M   1% /run
/dev/vda1        94G   45G   45G  51% /
tmpfs           2.0G     0  2.0G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
overlay          94G   45G   45G  51% /var/lib/docker/overlay2/2a17bda0553c6f1ff426125f62613b64cafb75792180bc26e41363a86af206be/merged
tmpfs           392M  4.0K  392M   1% /run/user/1002

Still can’t log in, even after reboot… :frowning:

Still the same behaviour for the AIO interface when you attempt to log in?

I thought so at first, but I just needed to be patient. :grin:

So everything works again?

I’m in the same situation. I enter the Nextcloud AIO login password and the screen returns with a blank password field.

df -h yields:

Filesystem Size Used Avail Use% Mounted on
tmpfs 781M 3.8M 778M 1% /run
/dev/sda2 470G 462G 0 100% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sda1 253M 152M 101M 61% /boot/firmware
/dev/sdb2 905G 451G 408G 53% /media
tmpfs 781M 4.0K 781M 1% /run/user/1000

My question is, how do I safely make space in sda2?