Sunday, April 13, 2025

NextcloudPI Install



We need

RaspberryPi 4 (4 GB Ram)

SSD 500Gb external USB drive with min USB
3.0

MyBook WD 1TB disk space External Drive

 

 

Install NextCloudPI

Download NextCloudPI:

href="https://github.com/nextcloud/nextcloudpi/releases">https://github.com/nextcloud/nextcloudpi/releases
or

Direct link for RaspberriPI4:

href="https://github.com/nextcloud/nextcloudpi/releases/download/v1.55.3/NextcloudPi_RaspberryPi4_v1.55.3.zip">https://github.com/nextcloud/nextcloudpi/releases/download/v1.55.3/NextcloudPi_RaspberryPi4_v1.55.3.zip

Extracts zip file

Download BalenaEtcher from:

https://etcher.balena.io/

Direct link:

https://etcher.balena.io/#download-etcher

 

Select file
NextcloudPi_RaspberryPi4_v1.55.3.img or newer. Confirm Open. Then click Start
or Run.

Select external disk SSD.

image001.gif

image002.gif

And click Flash.

Alternative Download Rufus Portable:

https://rufus.ie/downloads/
or

 

We will also need WD MyBook Externa Usb
drive with separated power supply for backup and big storage. Configure WD
MyBook Externa Usb drive sleep time to 30min. WD elements it is not good; it
has no sleep setting and it will never go to sleep (Hight power consumption and
short lifespan). You need to run WD Drive Utilities and go to settings. Set On
button and set 30 minutes delay to sleep. So, the drive won’t run all the time.

Rename disk label from »My Book« to
»MyBook« without space. On disk you wil need format partition to set exFat file
system (NTFS filesystem is not fully supported on pi image and Linux). Be
careful, backup yopur data on disk. All data will be losed on disk if formatted:

image003.gif

image004.gif

 

 

Connect SSD externa drive to RaspberryPI
via USB 3.1 (Blue color connector). This drive we will use for main and fast
storage. Connect My Book to second blue USB 3.1 connector.

Connect network cable Rj45 from router to
RasberriPi.

Now connect power cable to RaspberryPI and
wait more minutes. Open favorite browser in computer and go to page: href="https://nextcloudpi/">https://nextcloudpi/ wait to load.

 

If you see on browser this:

Forbidden

You don’t have permission to access this
resource.

 

you have to wait more time you have
probably problem with IPv6 enabled on router. I suggest you to disable it.

image005.gif

Click Print and Activate button and wait.

 

Now you can login to panel with password
you have saved or printed on paper of pdf.

 

Go to Configure Panel:

https://nextcloudpi:4443/
on your favorite browser.

Go to Updates -> nc-updates click Apply and
wait few minutes

image006.gif

image007.gif

 

Go to Updates -> nc-updates-nextcloud
click Apply and wait few minutes

 

image008.gif

image009.gif

Go to Updates -> nc-autoupdate-nc check
Active and click Apply

 

image010.gif

 

image011.gif

Go to Updates -> nc-autoupdate-ncp check
Active and click Apply

 

image012.gif

image013.gif

Go to Updates -> nc-update-nc-apps-auto
check Active and click Apply

 

image014.gif

image015.gif

Go to Updates -> unattended-upgrades
check Active, Autoreboot and click Apply

 

image016.gif

image017.gif

Go to System -> nc-automount check
Active and click Apply

 

image018.gif

image019.gif

 

Securing Next Cloud

Go to Config -> nc-admin: Set password
for Next Cloud admin user:

image020.gif

image021.gif

Go to Config -> nc-password: Set
password for this panel:

image022.gif

image023.gif

Generating thumbnail or image previews

Go to Config -> nc-previews-auto

image024.gif

image025.gif

Go to Config -> nc-prettyURL

image026.gif

image027.gif

Do periodic backups to MyBook Wd:

image028.gif

image029.gif

Expose to internet.

This do on your own risk:

image030.gif

image031.gif

image032.gif

image033.gif

 

Expert Optional:

image034.gif

image035.gif

 

 

 

Configure NextCloud

https://nextcloudpi/

Right click on most top right icon circle
and click Apps

image036.gif

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Click Your Apps:

image037.gif

clear=all>

Install and enable two factor Authorization
plugins:

image038.gif

image039.gif

Enable Two factor Authenticator via Android
phone Google App Authenticator

href="https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=en">https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=en

On Next Cloud page Enable TOTP. Scan QR
code with phone Google Authenticator. An Enter code displayed on phone to the
browser to confirm.

image040.gif

 

Add users via NextCloud:

 

image041.gif

Click to add new account:

 

image042.gif

 

Now we need to go back to href="https://nextcloudpi:4443/">https://nextcloudpi:4443/

 

Finally, after we create users on NextCloud
we can can create samba users (always we have do this task after user creation):

image043.gif

image044.gif

Now we can copy external files to samba
users via Windows Explorer:

image045.gif

 

Next step if we copy external files
(photos) to our Next cloud directory via samba we need fix permissions (always
we copy files to samba we need do this task).

image046.gif

image047.gif

 

We need to click nc-scan to become files
and images visible on Next Cloud portal(always we copy files to samba we need
do this task):

image048.gif

image049.gif


Add comment

Fill out the form below to add your own comments


Admin

Categories

Archives

Subscribe

  • RSS Atom