Please note images are 64 bits currently. If you have 32 bits hardware like rpi2 and lower, the image will not boot. You can still try the curl installer or use the docker version.
From the Terminal (GNU/Linux & macOS)
# 1) Download the file, in this case NextCloudPi_LXD_arm64_v1.52.0.tar.gz wget -O ./NextCloudPi_LXD_arm64_v1.52.0.tar.gz https://github.com/nextcloud/nextcloudpi/releases/download/v1.52.0/NextCloudPi_LXD_arm64_v1.52.0.tar.gz # Verify the checksum, 2 examples # I) Using a here-doc md5sum --check <<EOF 4866e0f96a1f65e9e380682c3bd894bc NextCloudPi_LXD_arm64_v1.52.0.tar.gz EOF # Output: NextCloudPi_LXD_arm64_v1.52.0.tar.gz: OK # II.1) By saving to a file in the same directory echo '4866e0f96a1f65e9e380682c3bd894bc NextCloudPi_LXD_arm64_v1.52.0.tar.gz' > checksum # II.2) Then verifying the checksum md5sum --check ./checksum # Output: NextCloudPi_LXD_arm64_v1.52.0.tar.gz: OK
A new checksum file can be generated on Windows using the Command Prompt & the command
certutil -hashfile MD5
You can run NextcloudPi from a microSD card or directly from a USB HDD/SSD connected via USB-cable if you have a supported device and bootloader. (Recommended is an SSD with USB3.0 in an enclosure so it has its own power supply)
- Check if your computer has a port for an SD or microSD card, if you have an SD card port you can use an adapter to flash the image to a microSD card.
A microSD slot, due to its size, can easily go unnoticed or be forgotten that it’s there so it doesn’t hurt to check if you’re unsure.
- Use a card reader via USB-cable.
- Download NextcloudPi from GitHub releases:
- Double-click the downloaded file and then select “Extract”
- Click “Show the files”
- Download Etcher from their website
4.1. Double-click the
4.2. Double-click the
4.3. Click “Select Image” in the Window that just opened, find the extracted
.imgfile and click on “Open”.
- Etcher should automatically detect the microSD card, remember to verify it’s the one you want the image to be installed on, all data will be removed on the device you select when flashing to it.
- Click “Flash” in Etcher.
Open a terminal and run the following commands.
cd $HOME/Downloads(or any other folder you’ve saved the files to).
Check the file for corruption (optional).
Run the command
$ARCHIVE_FILEis the name of the downloaded archive file including the file-type extension in the name (.tar.gz, .zip), and compare it with the hash in file
md5sumwhich you can find on the releases page.
tar -xvf $ARCHIVE_FILEto extract the image, where
ARCHIVE_FILEis the filename of the downloaded archive file, including the file-type extension in the name. (.tar.gz, .zip)
sudo dd bs=4M if=NextcloudPi_XX-XX-XX.img of=/dev/sdx, where
/dev/sdxis the device mount name of your microSD card, check with
Install Etcher from their website
Install 7-Zip from their website
Run 7-Zip manager, find your downloaded file, right click and choose “Extract here”, there should now be an
Run Etcher and click on “Select Image”.
4.1 Find the
.img file extracted earlier and click on “Open”.
Etcher automatically detects the SD card, but verify that is the one you want the image to be installed on.
Click “Flash” in Etcher.
/boot partition on microSD card and
/ partition on external USB HDD/SSD)
This will limit the media errors that usually happen when running from the microSD card, but one downside if using a USB HDD is it will be spinning up more often when the device performs read/write operations, an SSD will be quiet & faster but not as durable over the same long period of time as the HDD. Something to take into consideration if you’re planning long-term use, as in many years.
After the Option 1 steps you can move the root partition to HD or SSD, on Armbian based images you may install a tool to do this:
apt install armbian-config.
- If you are using a Raspberry Pi 4 or any of the supported devices linked above, and have updated the bootloader to the latest version, you can flash the image directly to any USB media (mass-storage like a hdd/ssd or a flash drive) and boot from it.
:: NOTE ::
Help needed to explain the required steps on other platforms, if you are taking this path, please consider editing this wiki.
- Follow step by step instructions here: Berryboot - Install NextcloudPi on an external drive
- Remove the microSD card and insert it into the card reader port of the Raspberry Pi.
- Connect the Raspberry Pi to your home router with an ethernet cable
- Connect the Raspberry Pi to power and it should turn on
Or turn it on if you have a switch on the power cable
Almost up and running now, it can take a while when booting for the first time, continue to the next steps by reading: How to access NextcloudPi for Activation
We hope this doc was helpful, if you encounter any issues please reach out to the community.
These docs are written by volunteers, please consider becoming one of them.
Contact the wiki team at Matrix or Telegram