SpaceInvaderOne Posted July 30, 2018 Share Posted July 30, 2018 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. 3 3 Quote Link to comment
JonathanM Posted July 30, 2018 Share Posted July 30, 2018 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. 2 Quote Link to comment
1812 Posted July 30, 2018 Share Posted July 30, 2018 next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! next one ! 2 Quote Link to comment
SpaceInvaderOne Posted July 31, 2018 Author Share Posted July 31, 2018 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? ? Quote Link to comment
SpaceInvaderOne Posted July 31, 2018 Author Share Posted July 31, 2018 (edited) 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 July 31, 2018 by gridrunner 2 1 Quote Link to comment
JonathanM Posted July 31, 2018 Share Posted July 31, 2018 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. Quote Link to comment
SpaceInvaderOne Posted July 31, 2018 Author Share Posted July 31, 2018 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 ? Quote Link to comment
jude Posted August 21, 2018 Share Posted August 21, 2018 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? Quote Link to comment
matto2494 Posted August 30, 2018 Share Posted August 30, 2018 (edited) 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 September 3, 2018 by matto2494 Quote Link to comment
soana Posted September 10, 2018 Share Posted September 10, 2018 (edited) 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 September 10, 2018 by soana added link Quote Link to comment
matto2494 Posted September 10, 2018 Share Posted September 10, 2018 On 8/30/2018 at 8:28 AM, matto2494 said: 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! Quote Link to comment
emod Posted July 4, 2019 Share Posted July 4, 2019 (edited) 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 July 4, 2019 by emod Quote Link to comment
JDE375 Posted January 23, 2020 Share Posted January 23, 2020 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, Quote Link to comment
JonathanM Posted January 23, 2020 Share Posted January 23, 2020 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. Quote Link to comment
adgilcan Posted February 17, 2020 Share Posted February 17, 2020 (edited) 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 February 17, 2020 by adgilcan Quote Link to comment
danioj Posted April 22, 2020 Share Posted April 22, 2020 Excellent video AGAIN. Thank you. Quote Link to comment
Mr_Jay84 Posted January 14, 2021 Share Posted January 14, 2021 Is the built in community document sever working yet? Quote Link to comment
thorium220 Posted July 5, 2022 Share Posted July 5, 2022 (edited) 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 July 5, 2022 by thorium220 Quote Link to comment
BVD Posted July 15, 2022 Share Posted July 15, 2022 Is your nginx (swag/nginx-proxy-manager) container listed as a trusted proxy in you config.ini file? That's usually where most people get hung up that make it as far as this. Quote Link to comment
thorium220 Posted September 10, 2022 Share Posted September 10, 2022 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. Quote Link to comment
Recommended Posts
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.