Nextcloud

Reset or find out the Nextcloud AIO passphrase

Nextcloud AIO (All-in-One) is a convenient solution for deploying a complete Nextcloud installation with Docker. To access the AIO interface, a passphrase is required. If you have lost it, you can restore it with a simple command. In this article, we explain how to reset or find out the Nextcloud AIO passphrase.

Why is a passphrase required?

The passphrase is required to access the Nextcloud AIO administration interface. Without it, you cannot make any further adjustments or updates via the web interface.

Read out Nextcloud AIO passphrase

If you have forgotten the passphrase, you can find it out with the following Docker command:

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

Step-by-step instructions

  1. Connect to the server:
    • Log in via SSH to the server on which Nextcloud AIO is running.
  2. Execute the command:
    • Copy the above command and paste it into the terminal.
  3. Read passphrase:
    • The command displays the saved passphrase. Make a secure note of it!

Reset Nextcloud AIO passphrase

If you cannot restore the passphrase or want to change it for security reasons, you can reset it:

Step 1: Switch to the configuration folder

If you have direct access to the Nextcloud AIO configuration file, you can edit it manually:

sudo nano /mnt/docker-aio-config/data/configuration.json

Step 2: Edit password field

Search for the entry in the file:

"password": "deine-alte-passphrase"

Replace “your-old-passphrase” with a new, secure password.

Step 3: Restart the Docker container

To apply the changes, restart the Nextcloud AIO container:

sudo docker restart nextcloud-aio-mastercontainer

You can then log into the AIO interface with the new passphrase.

What is Nextcloud AIO?

Nextcloud AIO (All-in-One) is a special version of Nextcloud that was developed as a complete solution for deploying and managing a Nextcloud instance with Docker. This variant offers easy installation and maintenance by providing all required services in separate, preconfigured containers. This makes Nextcloud AIO particularly suitable for users who need an uncomplicated but powerful cloud storage solution.

Conclusion

Resetting or restoring the Nextcloud AIO passphrase is easily done by reading the saved passphrase with a Docker command or manually editing the configuration file. Make sure to save your new passphrase securely to avoid future problems.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top