Jump to content
SpaceInvaderOne

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

16 posts in this topic Last Reply

Recommended Posts

Hi guys. This is a tutorial on how to install Nextcloud as a Docker Container on unRAID. It shows how to set it up using the excellent container by the linuxserver guys.  It shows how to use it with a mariaDB database to greatly improve performance. There will be another video in a few days showing how to use with a reverse proxy. Hope its useful.

 

 

 

 

 

Share this post


Link to post

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.

Share this post


Link to post

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

Share this post


Link to post
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? ?

Share this post


Link to post
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

Share this post


Link to post
17 minutes ago, gridrunner said:

So i guess you tweak the file size on the duplicati end yes?

Not ideally. You just have to make sure the max size in both the reverse proxy and the nextcloud configs are both set higher than the desired chunk size in duplicati.

 

 

Share this post


Link to post
6 hours ago, jonathanm said:

Not ideally. You just have to make sure the max size in both the reverse proxy and the nextcloud configs are both set higher than the desired chunk size in duplicati.

 

 

Ah yeah, I see. Thanks ?

Share this post


Link to post

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?

 

Share this post


Link to post

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

Share this post


Link to post
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

Share this post


Link to post
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!

Share this post


Link to post

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

Share this post


Link to post

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,

Share this post


Link to post
18 minutes ago, JDE375 said:

Is there any advise on how to get this working on my local network?

NAT Loopback, hairpinning, reflection

 

Search those terms along with your specific model of router.

Share this post


Link to post

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

Share this post


Link to post

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.