Getting started with NextCloud on Raspberry Pi (Step-by-step)
Getting started with NextCloud on Raspberry Pi (Step-by-step)
BEGINNER COURSE
START HERE
RECOMMENDED PRODUCTS
If you want to keep your data safe, and not hosted by someone else, NextCloud is a great app to try.
In this post I’ll show you what is NextCloud and how to install it on your Raspberry Pi.
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 1/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
After a short introduction about the NextCloud features, I’ll give you the step-by-step installation guide
for both versions.
This way you can follow the one that fit the best your needs.
Finally, I’ll give you a few tips to start with NextCloud.
I will get back to this later, but to store your files, I recommend keeping them on a USB drive rather than
an SD card. Personally, I like a giant USB key because it’s very convenient for the Raspberry Pi (look at
this one on Amazon), but any cheap external hard drive will be better than a SD card (I’m using this one
for my backups).
NextCloud introduction
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 2/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
x
Download the Pi Glossary!
If you are lost in all these new words and abbreviations, request my free Raspberry Pi
glossary here (PDF format)!
Name Email DOWNLOAD IT NOW
What is NextCloud?
x
You probably know Dropbox or Google Drive.
Basically, the goal of NextCloud is to offer the same thing, but keeping the control of data on your
server.
And it’s free!
You may also know OwnCloud, it’s the same thing (it’s even the same developer).
You can install NextCloud on many platforms, including Linux and therefore the Raspberry Pi.
NextCloud features
NextCloud offer many features as soon as you install it:
Main features:
Files hosting
Pictures manager
Contacts
Calendar
Notes
Tasks manager
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 3/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
For example, I’m using the “Passwords” extension to store my passwords safely on my network.
To check the apps available before installing NextCloud, you can check the NextCloud Apps store here.
NextCloud technology
As many of the open-source apps out there, NextCloud code is available on GitHub.
They are using web languages like PHP and JavaScript, so it’s easy to install on any device.
On the official website, you can also find appliances for specific needs : Virtual Machine, Docker image
or Snap package.
For Raspberry Pi, we’ll use the source code and the NextCloudPi image, a custom Raspbian image to
simplify the NextCloud installation.
Docker can also be another solution if you want to try (docker pull NextCloud), I didn’t test it.
NextCloud installation
What is NextCloudPi?
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 4/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
NextCloudPi is a custom image of Raspbian Lite, with NextCloud and all the dependencies preinstalled
on it.
So it’s easy to get started with NextCloudPi.
You can check the NextCloudPi website here for more information.
It’s the perfect method of you want to try NextCloud or use a Raspberry Pi mainly for this.
You can always install other things after, as it’s a classic Raspbian Lite distribution.
Download NextCloudPi
The first thing to do is to download the latest version of NextCloudPi for the installation :
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 5/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Now that you have downloaded the image, we can flash it on a new SD card:
Raspberry Pi Bootcamp
Sale: 10% off today.
Take it to the next level.
I'm here to help you get started on Raspberry Pi.
Learn all the skills you need in the correct order.
WATCH NOW!
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 6/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Login: pi
Password: raspberry
Then go into Network options > Wi-Fi and follow the setup wizard
Finally, I recommend starting the SSH service and use it to finish the installation:
x
Connect via SSH
On Windows, you’ll need to install a software like Putty
On Linux/macOS it’s available directly: ssh pi@IP
Login and password are the same as above
Configure NextCloud
NextCloudPi web interface
NextCloudPi is available through a web interface that you can use to configure it.
I’ll show you how to enable it, but you can absolutely use the text configuration tool directly if you want.
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 8/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Click on “CONFIG” x
Apache restarts and the web interface is now available at: https://<RASPBERRY_IP>:4443
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 9/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
This is just the NextCloudPi configuration page, not the NextCloud page.
Activate NextCloud
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 10/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Both usernames are “ncp” but you need to note the two passwords for the following steps
The first one is the NextCloudPi password, to configure NextCloudPi
The second one is the NextCloud password, to access NextCloud
Then click on “Activate”
The NextCloud activation starts
In my first test it took 15min, and the second one it was instant
So wait if needed, but I probably had an issue in my first install
Finally, you get the success message, NextCloud is ready to use
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 11/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Enter the login (ncp) and the second password you noted in the previous steps.
Then click Log in.
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 12/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Update NextCloudPi
One last thing you can do before starting to use NextCloud is to update NextCloudPi.
On the login screen we had a warning saying that NextCloudPi is outdated.
Now that NextCloud is configured, you can do this update (I was unable to do it before that).
If you’re happy with this installation method you can skip the following part and read the last one about
the NextCloud usage.
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 13/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Also, if you already have Raspbian and Apache/PHP, you can quickly test NextCloud by extracting files x
in your /var/www folder, and remove it immediately if NextCloud is not for you.
Install Raspberry Pi OS
If you don’t have Raspbian yet, you need to start here.
Follow this Raspbian installation guide if you need help in doing this.
NextCloud prerequisites
Before installing NextCloud, there are a few prerequisites to have on your system.
NextCloud needs a web server with Apache, MySQL (MariaDB) and PHP
And it also needs a few PHP modules.
Wait a few minutes for the installation to finish, and you’re now ready to install NextCloud.
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 14/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Notice: At the time I write these lines, the latest version of NextCloud needs PHP 7.1, and Raspbian only x
have PHP 7.0 available in the repository.
I made the choice to take an older version of NextCloud, compatible with PHP 7.0.
But you can also try to install PHP 7.1 from sources if you absolutely want the latest version
NextCloud installation
Download NextCloud
x
You now need to download and extract the NextCloud archive:
I’m showing you with the zip file as it’s easier to extract, but you can also get the .tar.bz2 archive from
the NextCloud website
As we use root to extract files, we need to change the folder permissions to allow Apache to access
it:
sudo chmod 750 nextcloud -R
sudo chown www-data:www-data nextcloud -R
NextCloud is almost ready to use, but we firstly need to create a MySQL database to store its data.
MySQL configuration
After the MariaDB server installation, it creates a root user you can use only from the command line.
For NextCloud, I recommend creating a new user and a dedicated database:
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 15/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
NextCloud configuration
You can now access the NextCloud configuration page and finish the setup:
All the other apps can be enabled from the NextCloud app store (Calendar, Contacts, …).
NextCloud usage
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 17/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
In this part, I’ll give you a little more details about the NextCloud interface. x
So you can start quickly to use it, and discover everything in a few minutes.
Web interface
The main interface is intuitive, and you’ll probably find what you are looking for without more
explanations.
As I already said, NextCloud use apps to provide features, like on your phone.
In the top bar, you’ll find the main menu, to switch to another App.
Each app has a custom design, with or without left menu to access more subsections.
In the following sections I will introduce the three main submenus of the administration panel.
To access it, click on the icon at the extreme right in the top bar (your avatar, probably the first letter of
the username for now).
In the menu, you’ll get mainly 3 options:
Settings: to configure everything on NextCloud, from your personal profile to the server
configuration
Apps: to see which apps are already installed, remove some or install new features
Users: NextCloud can manage multiple users to have a personal storage for all the family members
or employees
Settings
In the “Settings” submenu, you can configure many things, with two categories:
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 18/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
For each sub category, you get an intuitive interface with often a short explanation about the page, so I
don’t think you’ll need more from me.
If you have any question about the configuration, you can check the NextCloud administrator manual, or
ask your question in the comments.
x
Apps
The second menu is more interesting, with the apps catalog.
In the “Your apps” section, you can check in a few clicks which apps you are using and which ones are
installed but disabled.
Then, the next entries are here to find and install new apps, with one submenu by category:
Customization, Files, Games, Integration, …
For each app, you can check directly if it’s an official app, and install it easily by clicking on “Download
and enable”.
Generally, the new app will appear directly in the top bar of NextCloud.
Users
Finally, you can also manage users and groups on NextCloud.
In the “Users” menu, you can create as many users and groups that you need, and flag it as
administrator or not.
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 19/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
It’s also possible to import users from an LDAP or other sources like Linux users.
You’ll need to install the corresponding app to use these features.
Desktop apps
From the official website, you can download NextCloud for desktop.
It’s available for Windows, macOS and Linux.
The goal of this desktop app is to synchronize your files between your computer and the NextCloud
server (like with Dropbox for example).
During the installation, enter the server address (something like http://IP/nextcloud, or http://IP for
NextcloudPi).
Then log into your account and grant access to the app.
The last step is to configure how the app handles synchronization:
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 20/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
The first sync will start, and you’ll keep a NextCloud companion in the system tray to check the
synchronization status.
As soon as you add a new file in your folder, NextCloud synchronize files instantly.
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 21/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Remote access
As it’s supposed to be a cloud server, you’ll probably want to forward a port on your Internet router to x
access the NextCloud server.
It’s possible with your domain name or a service like NoIP if you have a dynamic IP address (detailed
tutorial here).
In this case, I highly recommend installing an SSL certificate (Let’s Encrypt) and maybe use a two-factor
authentication app to block brute force attacks.
You’ll find the documentation about SSL and Apache configuration to do this in the Installation on Linux
manual.
Additional storage
The main interest in NextCloud is to have an unlimited storage space, as you are the host.
But on Raspberry Pi you’re limited by the SD card size.
Even if you can easily get more space than with free providers, it’s often not enough to compete with
their premium offers.
If you want to store large files, it’s possible to add an external storage to your Raspberry Pi, a USB disk (I
love the mini USB keys like this one on Amazon to do this) for example or even a remote storage
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 22/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Backups
As for any storage idea on Raspberry Pi, remember that the Raspberry Pi SD card is not the safest
storage method.
If your SD card crash, you can lose everything on NextCloud.
So remember to make regular backups to another storage (another Pi, a NAS, a USB disk, …). x
Support me: Join the community on Patreon to show your support, get behind-the-scenes content and
other awesome perks!
Video
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 23/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
x
Get My Cheat Sheet!
Grab your free PDF file with all the commands you need to know on Raspberry Pi!
Name Email DOWNLOAD IT NOW
RaspberryTips
YouTube
Conclusion
That’s it, I think we have seen a good overview of what NextCloud can do on your Raspberry Pi, and how
to install it by two different methods.
I’ll probably try to keep it installed on one of my Raspberry Pi and see with a more intense usage how it
works.
This tutorial doesn't work anymore? Report the issue here, so that I can update it!
0
Article Rating
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 24/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
x
SAMSUNG 32GB EVO Plus Class 10 Raspberry Pi 3 Model B Board SAMSUNG (MB-ME128GA/AM) 128GB
Micro SDHC with Adapter 80mb/s (MB-… 100MB/s (U3) MicroSDXC EVO Select…
Ads by Amazon
Patrick Fromaget
I'm the lead author and owner of RaspberryTips.com. My goal is to help you with your Raspberry Pi
problems using detailed guides and tutorials. In real life, I'm a Linux system administrator with a web
developer experience.
Subscribe Login
{} [+]
17 COMMENTS Oldest
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 25/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
x
Jochem
2 years ago
In the installation of Nextcloud on Raspbian, please include the following step before
installing apache2 and the php libraries.
sudo apt update
sudo apt upgrade
Or else mysql wont work x
0 Reply
Hi Jochem,
Thanks for your feedback
I wrote it at the beginning, so I think it’s ok, no?
0 Reply
Kat
2 years ago
Hi Patrick,
When I get to this step:
Give all permissions to the new user on this database
GRANT ALL PRIVILEGES ON nextcloud.* TO ‘nextcloud’@localhost IDENTIFIED BY ‘XXX’;
Same thing here, just replace XXX with the previous password
I get an error saying “you have an error in your syntax – check your version of MariaDB’s
manuals.” I’ve copy-pasted the command exactly except to change the XXX to the password
I chose. I did not remove the single quote marks. Unfortunately I’m not familiar with MariaDB
and although I did consult their manuals, I haven’t yet figured it out. I also tried IDENTIFIED
BY PASSWORD and that didn’t work either.
0 Reply
Gregb
Reply to Kat 1 year ago
It is the semicolon at the end of the line that is causing the issue. Just remove ;
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 26/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
0 Reply x
Patrick Fromaget
Author 2 years ago
Hello Kat,
Could you try with `instead of ‘ ?
0 Reply x
Thagaste
2 years ago
Hi, everything worked out for me until I tried to boot from the [512 GB] SD card (OK:
download NextCloudPi for SD, OK checksum, OK flashing to SD card with etcher) – all on
Ubuntu Linux 18.04 LTS.
The boot process ends after a second with a “kernel panic”. Journal cannot be found and
VFS cannot be installed.
I have a Raspberry Pi 2. I only found one discussion on this issue with someone who
encountered the same problem: he succeeded by booting without screen and then
connecting via ssh. But he never really figured out what the problem was.
Any ideas what to do? Thanks in advance!
0 Reply
adrian
2 years ago
Luis
Reply to adrian 2 years ago
I had the same problem and solved it by setting a root password to mysql root, exit
mysql and then log in with the mysql -u root -p, when prompter enter the password,
drop the user created in the first step and type the statement instead of copy and
paste it into mysql. It worked fine for me after that.
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 27/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
0 Reply x
Joshua
2 years ago
If I’d like to install the latest NC on my Rpi 4, how do I download the latest PHP and its
modules?
0 Reply
x
Luis
Reply to Joshua 2 years ago
Ken Hansen
1 year ago
Joe
1 year ago
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 28/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
x
In “The custom method: install it on Raspbian” add tutorial how to enable HTTPS in
Apache2.
0 Reply
shadowaero
1 year ago
chris
1 year ago
0 Reply
micsinger
1 year ago
Thank you very much for this detailed and nice explanation! But how do I get the Nextcloud
Documents and Media-Files to the external HDD or USB-Drive? Is there a special Boot/
Partition configuration needed as explained in this article? x
https://docs.nextcloudpi.com/en/how-to-install-nextcloudpi/
Should we set and mount the linux home folder to a separate drive (other than sd card)?
Or is the place of the installation independent from the Nextcloud Home Folder?
These are probably very stupid questions…
By the way…-Which file system do you recommend for a hard drive?
Thanks a lot!
0 Reply
Alan
Reply to micsinger 1 year ago
I’ve pihole & pivpn on my current setup, will nextcloud cause any conflict to the
system? Thanks.
0 Reply
I haven’t tested but Pi-Hole and Nextcloud are using the default HTTP port,
so it might be an issue.
The only way to know is to test 🙂
Maybe you can use a different port or folder for one of them if it doesn’t
work.
0 Reply
Recent Posts
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 30/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 31/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
x
report this ad
Welcome
Hi, I'm Patrick. I am a Linux system administrator, and I am passionate about the Raspberry Pi and all
projects on this topic.
I created this site to share with you what I learned about it.
ABOUT PAGE
Raspberry Pi Course
WATCH NOW
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 32/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Support Me On Patreon x
Get early access to my content, ad-free browsing, behind-the-scenes content and more by supportingx
me on Patreon.
MORE DETAILS
report this ad
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 33/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 34/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 35/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 36/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 37/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 38/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 39/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 40/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 41/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 42/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 43/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 44/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 45/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 46/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 47/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 48/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 49/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 50/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 51/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 52/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 53/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 54/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 55/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 56/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 57/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 58/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 59/60
4/12/22, 5:00 PM Getting started with NextCloud on Raspberry Pi (Step-by-step)
Become a Patron!
This site is owned and operated by Patrick Fromaget. RaspberryTips.com is a participant in the Amazon Services LLC Associates Program,
an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.
This site also participates in other affiliate programs and is compensated for referring traffic and business to these companies.
Raspberry Pi is a trademark of the Raspberry Pi Foundation
https://raspberrytips.com/install-nextcloud-raspberry-pi/ 60/60