# DietPi NAS setup, advise wanted

**URL:** https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763
**Category:** General Discussion
**Created:** [22 December 2020 11:23 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763 "2020-12-22T11:23:23Z")
**Posts on this page:** 20
**Page:** 2

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [11 April 2021 09:19 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/21 "2021-04-11T09:19:44Z")

</div>

no problem, i was hijacked by work and later with corona  
gladly back up now!

---

<div class="post-metadata">

### Author: ![dori4n](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@dori4n](https://dietpi.com/forum/u/dori4n)
#### Post date: [28 November 2021 19:35 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/22 "2021-11-28T19:35:58Z")

</div>

Hi,

where can I find the guide? I tried to open the link but the page is empty.

Thanks

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [29 November 2021 09:19 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/23 "2021-11-29T09:19:43Z")

</div>

the share has been removed as I did not find time to review the guide.

---

<div class="post-metadata">

### Author: ![ghezzia](https://dietpi.com/forum/user_avatar/dietpi.com/ghezzia/32/1932_2.png) [@ghezzia](https://dietpi.com/forum/u/ghezzia)
#### Post date: [30 November 2021 08:35 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/24 "2021-11-30T08:35:39Z")

</div>

Hi everybody,  
can someone share the NAS setup guide with me too?  
I can’t find anything online.  
Thanks in advance

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [1 December 2021 11:38 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/25 "2021-12-01T11:38:26Z")

</div>

I’m sorry, I’m not going to share the guide as I’m not the author. But I addressed the topic internally. Maybe we will create some blog entry describing such a solution.

---

<div class="post-metadata">

### Author: ![mrbungle](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/m/b487fb/32.png) [@mrbungle](https://dietpi.com/forum/u/mrbungle)
#### Post date: [17 December 2021 18:25 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/26 "2021-12-17T18:25:37Z")

</div>

I followed [https://www.ricmedia.com/build-raspberry-pi3-raid-nas-server/](https://www.ricmedia.com/build-raspberry-pi3-raid-nas-server/). Just make sure to use /mnt/nas1 or something instead of just /mnt.

Super happy with it. Hardware is a Flirc case, two Startech SATA to USB adapters and two WD Red SSDs in RAID 1.

Then followed [https://www.cloudsavvyit.com/577/how-to-sync-files-from-linux-to-amazon-s3/](https://www.cloudsavvyit.com/577/how-to-sync-files-from-linux-to-amazon-s3/) to backup up daily to S3 Glacier.

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [20 December 2021 20:43 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/27 "2021-12-20T20:43:23Z")

</div>

Hi Joulinar

finally found some time last weekend to Flash DietPi and run it on the RockPro64.

After the standard setup, I changed the two default passwords  
I installed Nextcloud

But now I cannot login with \<local\_IP\>\nextcloud using ‘admin’ and the personal password as the FAQ says!?

[https://dietpi.com/docs/software/cloud/#nextcloud](https://dietpi.com/docs/software/cloud/#nextcloud)

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [21 December 2021 11:22 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/28 "2021-12-21T11:22:26Z")

</div>

did you changed the password before installing NextCloud or afterwards?

Anyway you could try following [https://docs.nextcloud.com/server/21/admin\_manual/configuration\_user/reset\_admin\_password.html](https://docs.nextcloud.com/server/21/admin_manual/configuration_user/reset_admin_password.html)

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [21 December 2021 15:26 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/29 "2021-12-21T15:26:47Z")

</div>

Thx, will have look toninght.

Changed the passwords directy after flashing / first boot of Dietpi

After this I installed Nextcloud by ID Selection

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [21 December 2021 15:37 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/30 "2021-12-21T15:37:58Z")

</div>

Do you use any special characters inside your password?

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [21 December 2021 19:41 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/31 "2021-12-21T19:41:23Z")

</div>

> [@](#):
>
> Do you use any special characters inside your password?

small and capital letters, numbers and a @

an @ is not that special i gues?

after installing nextcloud I suspected to get a setup screen, to setup email, login, domain, etc, but there wasnt

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [21 December 2021 19:58 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/32 "2021-12-21T19:58:12Z")

</div>

Nextcloud is preconfigured with the admin user. Usually you simply login and can configure it to your needs.

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [21 December 2021 21:16 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/33 "2021-12-21T21:16:13Z")

</div>

```nohighlight
$ sudo -u www-data php /var/www/nextcloud/occ user:resetpassword admin
sudo

```

gives me the result

```nohighlight
Successfully reset password for admin

```

But the WebIf (via my laptop) still gives me the error ‘Wrong username or password.’

Now I was looking into the keyboard configuration of Dietpi, it was set to ‘GB - Generic 105-key PC (intl.)’.

Maybe this keyboard has a different layout then a normal QWERTY layout, so @ is at another location?

Now I set it to 'Microsoft Office - English (US) - Default keyboard layout

Again reset the nextcloud password, now I can login at the WebIf via my Laptop

And changed the general DietPi password with the new keyboard layout too

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [21 December 2021 21:18 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/34 "2021-12-21T21:18:25Z")

</div>

probably, you could have tried typing into normal command line to see what characters it has.

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [21 December 2021 21:38 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/35 "2021-12-21T21:38:51Z")

</div>

yes, the @ was actually "

---

<div class="post-metadata">

### Author: ![Revo\_Fx](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@Revo\_Fx](https://dietpi.com/forum/u/Revo_Fx)
#### Post date: [28 January 2022 09:11 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/36 "2022-01-28T09:11:28Z")

</div>

hemertje Can I have a quick look at your manual as well please? I am struggling with setting up my PiNas as I am not able to transfer more data than the size of my SD to my USB3-HDD for some reason… Perhaps I can find out what I did wrong using your manual as I cannot find my answer online

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [28 January 2022 09:18 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/37 "2022-01-28T09:18:42Z")

</div>

are you sure the target directory is located on your USB HDD? Probably the target is located on SD card still

---

<div class="post-metadata">

### Author: ![Revo\_Fx](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@Revo\_Fx](https://dietpi.com/forum/u/Revo_Fx)
#### Post date: [28 January 2022 09:51 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/38 "2022-01-28T09:51:22Z")

</div>

Found the solution in a general rpi board:  
Instead of having the samba mount /mnt i needed to replace this to /mnt/USBHDD

nevertheless still interested in that manual 😉

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [28 January 2022 09:55 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/39 "2022-01-28T09:55:24Z")

</div>

we have a small docs section on SAMABA. As well how to change target directory on SAMBA conf

[https://dietpi.com/docs/software/file\_servers/#samba](https://dietpi.com/docs/software/file_servers/#samba)

---

<div class="post-metadata">

### Author: ![hemertje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/h/cdc98d/32.png) [@hemertje](https://dietpi.com/forum/u/hemertje)
#### Post date: [27 December 2022 15:53 UTC](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763/40 "2022-12-27T15:53:10Z")

</div>

Hi guys,

back again to pick this NAS hobby project back alive 😉

Flashed the Rockpro64 with the latest DietPi v8.12 firmware 👊

I want to start from scratch with the latest software versions to build my NAS with the RockPro64:

• NZBGet   
• Fail2Ban  
• Pi-hole   
• Samba   
• OpenVPN  
• Dropbear  
• Firewall  
• Ubiquiti Unifi Controller   
• ACME.sh Let’sEncrypt SSL  
• DDNS updater (Gandi)  
• Monitoring Stack, Influxdb + Grafana  
• Full logging system with Logrotate  
• Nextcloud  
• Anti-Virus  
• Backup to a Synology system

Can I standard install from Dietpi-software  
• Nextcloud with Fail2Ban

Or use the extended Debian Nextcloud manual from

> **[Nextcloud Installationsanleitung - Carsten Rieger IT-Services](https://www.c-rieger.de/nextcloud-installationsanleitung/)**
>
> Nextcloud Installationsanleitung für Ubuntu 20.04 focal, 22.04 jammy oder Debian 11 bullseye mit nginx, MariaDB, PHP8, LetsEncrypt, redis, ufw

or installationscript:

> **[Nextcloud Installationsskript zero.sh - Carsten Rieger IT-Services](https://www.c-rieger.de/nextcloud-installation-mit-nur-einem-skript-zero-sh/)**
>
> Nextcloud Installationsskript zero.sh auf Ubuntu 22.04, 20.04 und Debian 11 mit nginx, MariaDB, PHP8, Let’s Encrypt, redis, fail2ban und ufw

including the Self-signed // Let’s Encrypt certificates?

> **[Let's Encrypt Zertifikate (RSA 4096 oder EC 521) ohne offene TCP-Ports 80 und...](https://www.c-rieger.de/lets-encrypt-zertifikate-ohne-tcp-ports-80-und-443/)**
>
> Let's Encrypt Zertifikate ohne offene TCP-Ports 80 und 443 beantragen und erstellen.

What to prefer?

[Previous page](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763.md?page=1)

[Next page](https://dietpi.com/forum/t/dietpi-nas-setup-advise-wanted/4763.md?page=3)
