2025 Guide to your own cloud on a Raspberry Pi 5!

preview_player
Показать описание
Today we're going to review how to install NextCloud on a Raspberry Pi on a Docker container with the help of Portainer. Similar to Google Drive, Nextcloud is way to host your personal files, pictures, documents but without having to pay a monthly fee!
Nextcloud is open source, with several add on application for office suits, media management, email access, and many more!

Timestamps:
0:00 Introduction
0:23 Next vs Open Media Vault
0:56 The RPI Case and NVME drive I'm using
1:25 Using RPI Connect and plan of action
1:49 Updating RPI OS and installing Docker
3:30 Testing Docker install
4:30 Installing protainer
7:11 Launching and configuring portainer
9:31 Reviewing App Templates and issues with V2 templates
11:00 Adding App template with NextCloud and configuring Container
12:56 Lauching Nextcloud's admin and the server configuration page
14:45 Launching Nextcloud UR and conducting brief walkthrough
16:19 Conclusion

Installation Steps:

Docker:

2) ‘sudo usermod -aG docker $USER’
3) *reboot the pi - ‘sudo reboot’
4) Check your docker installation : Type in ‘groups’ and hit enter to make sure the user was added to ‘docker’ group.
5) Check docker install is working and active: ’docker run hello-world’

Portainer:

1) ‘docker pull portainer/portainer-ce:latest’
2) ‘docker volume create portainer_data’

*This line will open port ‘9443’ for use with portainer, and the restart will be sure that docker will restart each time you start the pi and the last bit tells is we’re using the portainer image we just pulled.

4) Check Raspberry pi address: ‘ifconfig’

NextCloud:

1) Set up your portainer admin user name and password, make sure to write them down!
2) When logged in, click ‘settings’ in the lower left hand side.
4) Click 'Save'
5) Don’t worry, the default app template url is still listed on the page about the URL box!
6) Click on ‘Templates’ on the left hand side and type ‘Next’ in the search area.
7) Click Nextcloud, which will add its container. Next click on ‘TZ’ and enter your timezone. Enter your time zone format is ‘Country/City’ i.e ‘England/London.
8) Select a password for the database and one for the Sql/Mariadb, write them down!
9) The database user is ‘nextcloud' and the database is ‘nextcloud_db’.
10) Select a port number other than 9443, and type it under ‘port’. Consider port 5443?
8) Next click ‘Deploy this stack’.

Next Cloud admin account and configuring the server:

1) Select an admin user name and password, write them down!
2) Make sure to select ‘MySql/MariaDB’ for your database (Not Sqllite).
3) Database Account : ’nextcloud’
4) Password: Type the password you setup in portainer
5) For Database name enter: ‘nextcloud_db’
6) For Database host enter: ‘next cloud_db:3306’
7) Click ‘install’.
*After ‘install’, you should be greeted by the NextCloud ‘Welcome’ screen!

Websites:

Article on App Templates and portainer:

Find me online:

#docker #nextcloud #raspberrypi #portainer
#cloud
Рекомендации по теме
Комментарии
Автор

Amazing tutorial. It finally worked. Why are both portainer and nextcloud marked as not secure by the browser?

atps
Автор

Great tutorial, thank you! Can you please release a video where you explain how to add an external HDD drive to Nextcloud container using Portainer? I've tried adding the path where my HDD is mounted to the Volumes parameter in the Nextcloud Stack, but when I reload the container I get DB errors. I'm suspecting that I need to grant some permissions to before anything.

rquttro
Автор

If you could do a video on building your agon one V3 please!

robcork
Автор

I’m trying to do own cloud, but I was using docker I got everything in but what I want to put in my IP address and port 8080 on cloud will not show up. I tried different port numbers and nothing worked. I don’t have access to my router because it’s a spectrum cable router do you have any suggestions?

BadKarma
Автор

I got this error on nextcloud

Configuration was not read or initialized correctly, not overwriting

Any idea to fix it?

Thanks

glnn-learninghowtodiyan
welcome to shbcf.ru