**VIDEO GUIDE ** How to Setup Nextcloud to Make Your Own personal Cloud Storage **


Recommended Posts

Very cool!

 

I have a suggestion for this series. After you get LE reverse proxy in place, how about a tutorial for connecting remote duplicati instances to use Nextcloud behind the proxy as a backup destination? I currently have this combo set up as a replacement for the defunct peer to peer crashplan, and after tweaking the file size it works quite well.

  • Like 2
Link to comment

next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! 

  • Like 2
Link to comment
On 7/30/2018 at 11:53 AM, jonathanm said:

Very cool!

 

I have a suggestion for this series. After you get LE reverse proxy in place, how about a tutorial for connecting remote duplicati instances to use Nextcloud behind the proxy as a backup destination? I currently have this combo set up as a replacement for the defunct peer to peer crashplan, and after tweaking the file size it works quite well.

Thanks @jonathanm

Yeah that's a good idea. I will check that out. So i guess you tweak the file size on the duplicati end yes? Any tips? ?

Link to comment
14 hours ago, 1812 said:

next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! 

lol ?

ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! ok soon ! soon ! ok soon !  soon !  ok soon ! soon ! ok soon !  soon ! 

Edited by gridrunner
  • Like 2
  • Haha 1
Link to comment
  • 3 weeks later...

Thanks for the great tutorial and for all of the others you make. They really make it easy to get the most out of our unRaid boxes.

 

I have a question regarding an error that I am getting when trying to back up photos/videos from my daughters iPhone to my server using NextCloud. Everything works well except for larger video files which wont upload and give a 413 error (request entity too large). I did some Googling and found this page  https://github.com/nextcloud/docker/issues/261 which has a final post by @bhansley stating;

 

"For anyone else who run across this issue, in addition to setting upload size in the Nextcloud UI, I had to tweak my upstream Nginx proxy to allow bigger uploads."

client_max_body_size        10G;
client_body_buffer_size     400M;

 

Could someone direct me to where this upstream Nginx proxy config setting should go?

 

Link to comment
  • 2 weeks later...

image.png.df18c765dd131feb9547d38b11192e7d.png

 

What am i doing wrong here then?

 

Got it working, I guess trying to do anything whilst one of your HDD is rebuilding is never a good idea.

 

Only issue now is that i cannot get the reverse proxy to work, I have my own domain and have created the CNAME entries that are needed, when i try to navigate to https://Nexcloud.mwserver.co.uk i get the cloud flare 502 error come up, saying that my server is not responding.

I have opened port 1446 (443) and port 90 (80) on my router and they work.

if i try any of my other sub domains for example server.myserver.co.uk i am routed to the logon prompt of my unraid server.

any ideas?

Edited by matto2494
Link to comment
  • 2 weeks later...
On 8/21/2018 at 11:29 AM, jude said:

Thanks for the great tutorial and for all of the others you make. They really make it easy to get the most out of our unRaid boxes.

 

I have a question regarding an error that I am getting when trying to back up photos/videos from my daughters iPhone to my server using NextCloud. Everything works well except for larger video files which wont upload and give a 413 error (request entity too large). I did some Googling and found this page  https://github.com/nextcloud/docker/issues/261 which has a final post by @bhansley stating;

 

"For anyone else who run across this issue, in addition to setting upload size in the Nextcloud UI, I had to tweak my upstream Nginx proxy to allow bigger uploads."


client_max_body_size        10G;
client_body_buffer_size     400M;

 

Could someone direct me to where this upstream Nginx proxy config setting should go?

 

Same issue here.

The client_max_body_size is located in the  /appdata/letsencrypt/nginx/nginx.conf file but the value is set to zero that means no size limit.

I did set the value to 10G and the same in the nexcloud GUI but still getting the 413 error.

 

More info

Edited by soana
added link
Link to comment
On 8/30/2018 at 8:28 AM, matto2494 said:

image.png.df18c765dd131feb9547d38b11192e7d.png

 

What am i doing wrong here then?

 

Got it working, I guess trying to do anything whilst one of your HDD is rebuilding is never a good idea.

 

Only issue now is that i cannot get the reverse proxy to work, I have my own domain and have created the CNAME entries that are needed, when i try to navigate to https://Nexcloud.mwserver.co.uk i get the cloud flare 502 error come up, saying that my server is not responding.

I have opened port 1446 (443) and port 90 (80) on my router and they work.

if i try any of my other sub domains for example server.myserver.co.uk i am routed to the logon prompt of my unraid server.

any ideas?

Anyone able to help me. Its racking my brain!

Link to comment
  • 9 months later...

Ok. I need help with this.

I cannot change MariaDB password.

 

MariaDB -> EDIT -> change my root password from 0 to 'mypassword'. Clicked 'Apply'.

MariaDB -> Console -> type in 'mysql -uroot -p', then 'mypassword', I get error message below.

However, when I just lick 'Enter' for my password, I am automatically logged in.

 

I am kind of reluctant leaving my root account unprotected......

 

What seems to be an issue?

 

************CONSOLE************

# mysql -uroot -p
Enter password: 
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
# mysql -uroot -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 10.3.16-MariaDB-1:10.3.16+maria~bionic-log mariadb.org binary distribution

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> 

Edited by emod
Link to comment
  • 6 months later...

Thanks for the very clear video. I followed all the steps, and it works like a charm...

... if I am not on my local network.

I have created an entry on my local DNS te have nextcloud.mydomain.io redirected to the local Nextcloud/Unraid IP-address. But apparently this does not do the trick. Is there any advise on how to get this working on my local network?

 

Thanks in advance,

Link to comment
  • 4 weeks later...

Hi

 

I successfully installed Nextcloud in a docker container but then due to other issues completely deleted the appdata share.  Now that I come to reinstall Nextcloud I cannot either create the admin account using my original username or add it afterwards as a user.  The error I get when trying to add it as a the initial admin account is that "Username is invalid because files already exist for this user" (see attached file) but that user does not appear on any list and, therefore cannot be deleted.  If I try to add the username using the web GUI, I get the error "An error occured during the request. Unable to proceed.  Bad request".  The Mariadb has also been deleted, reinstalled and a new database created.

 

It seems that the original username is stored somewhere even though it is not visible.  Are you able to help me delete it so that it can be used again?

 

Many thanks

 

D

Files already exist for this user.rtf

Edited by adgilcan
Link to comment
  • 2 months later...
  • 8 months later...
  • 1 year later...

I've been following the 2021 version of this guide (sorry if it's got its own thread, I failed to find it), and at timestamp 22:40 I get a "this site can't be reached (refused to connect)".

 

I've double-checked my work. I've found out that I needed to add host overrides into PFSense which I've now done. Now if I try to connect from an external address (connected my laptop to my phone's hotspot) I get a 502 gateway error from nginx but no change to the behaviour from internal locations, so it seems as though the passage through my router is correct, but something's not quite right here and honestly I'm not even sure where to start troubleshooting.

 

I feel like there's a lot of moving parts in this tutorial, so please feel free to let me know where the most likely culprit is and I'll start screenshotting.

Edited by thorium220
Link to comment
  • 2 weeks later...
  • 1 month later...

Yup, that's set.

 

I've attached censored snips of nextcloud's config, swag's nextcloud proxy config and my port forwards in pfsense (just as a hail mary)

 

I've also checked out some of SpaceInvader1's older videos on configuring LetsEncrypt for external access and, aside from some UI changes that have occurred over 4 years, all else seems the same and correct.

 

Checking again from my laptop on my phone hotspot (i.e. outside my network) I'm now getting a failure to connect, not even the 502 I was getting previously. I've attached a snip from cloudflare in case I've got some bad config there too. each censor is colour coded where I've erased the same data over again.

 

I'm very much learning as I'm going here, and probably running before I can walk.

nextcloud config.png

PFSense swap NAT.png

swag proxy conf nextcloud.png

cloudflare config.png

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.