#362

  Переглядів 105,465

Andreas Spiess

Andreas Spiess

3 роки тому

Synchronizing, saving, and sharing data, emails, and contacts under our control based on open-source software? Securely accessing our home network from everywhere in the world based on the most modern Virtual private Network technology? With just a Raspberry Pi? Yes, we want it!
Today we will install NextCloud and Wireguard on our Raspberry Pi and make it work together. You will save a lot of time using the tricks presented in the next few minutes. And we will use IOTstack.
I am a proud Patreon of @GreatScott! , @ElectroBOOM , @Electronoobs , @EEVblog , and others.
No Microsoft Teams, no Zoom, IKEA
Links:
Raspberry Pi4 US: amzn.to/3pP32HZ
Raspberry Pi4 DE: amzn.to/3avMgaG
IOTstack Discord (for support): / discord
Raspberry Pi4 2G: amzn.to/3lMaulj
Argon Neo case: amzn.to/2UNrL1G
Kingspec SSD: s.click.aliexpress.com/e/_AlELTy
Orico HDD case: s.click.aliexpress.com/e/_AdhP8q
IOTstack project: www.iotstack.org
compose-override.yml (example): drive.google.com/file/d/1ja5G...
Link to commands: www.sensorsiot.org/wireguard-...
The links above usually are affiliate links which support the channel (no additional cost for you).
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
My Patreon Page: / andreasspiess
Discord: / discord
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
My Amazon.com shop: www.amazon.com/shop/andreassp...
For Banggood bit.ly/2jAQEf4
For AliExpress: bit.ly/2B0yTLL
For Amazon.de: amzn.to/2r0ZCYI
For Amazon UK: amzn.to/2mxBaJf
For ebay.com: ebay.to/2DuYXBp
profile.php?...
/ spiessa
www.instructables.com/member/...
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads

КОМЕНТАРІ: 521
@paulmilligan3007
@paulmilligan3007 3 роки тому
Thanks Andreas, I appreciate your brevity and links to work that’s already documented.
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@audiblevideo
@audiblevideo 3 роки тому
Thank you guy with the Swiss accent. This exactly what I’m in the middle of trying to set up
@AndreasSpiess
@AndreasSpiess 3 роки тому
Now it should become easier...
@thomasdavenport4371
@thomasdavenport4371 3 роки тому
Andreas, don't ever stop making these videos. They are brilliant.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you. So far I have no plans to stop...
@TimothySmithii
@TimothySmithii 3 роки тому
Unbelievable Andreas, you're so damn good at this. No one else makes videos that are even half as helpful as yours. You have no competition out there, IMO. You are well on your way to million+ subscribers and you will deserve every one of them. Thank you again for sharing all of your hard work and unique talent. I find your videos immensely helpful. I feel like I need to watch five to ten videos from other content producers to get the information you deliver in a single video. Always love hearing that accent too.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for your nice words!
@cloudlessx
@cloudlessx 3 роки тому
Thanks for being to the point, and thanks for not adding background music. Very helpful video.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! I create my videos as if they were made for me ;-)
@grindel80
@grindel80 3 роки тому
Wow! Such powerful information in just 12 Min. GREAT!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you liked it!
@PauloSilva-ll4vs
@PauloSilva-ll4vs 3 роки тому
Hi Andreas, very good content as usual, I followed your instructions and everything went well. Thank you for this wonderful video...
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it worked. Thanks for the feedback!
@rbelward
@rbelward 3 роки тому
Exciting stuff Andreas, well done!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you think so!
@jamesprocter102
@jamesprocter102 3 роки тому
Another Great job you have helped me out so much. Many many thanks
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it helped!
@richard_wenner
@richard_wenner 3 роки тому
Another lovely presentation Andreas, thank you. I was considering, as you spoke, how wonderful and powerful the open source world is. There are some great assets here. What a view from the shoulders of giants! I can't help thinking that your evenings and nights are now no longer available for balloon hunting. All of your time is now going to be spent answering questions from your fans.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Do not forget my new IC-7300 sitting in my newly created "radio room". I already had contacts to more than 50 countries all over the world :-) A lot of side-projects...
@daskasspatzle2396
@daskasspatzle2396 3 роки тому
He probably has hidden the docker container with the answering module ;-)
@JimVanderveen
@JimVanderveen 3 роки тому
What band(s) do you focus on Andreas?
@richard_wenner
@richard_wenner 3 роки тому
@@AndreasSpiess Where do you find the time?
@AndreasSpiess
@AndreasSpiess 3 роки тому
@Jim: Mainly FT8. All "traditional bands (80/40/20/15) @Richard: Good question...
@Luke-san
@Luke-san 3 роки тому
Will come in very handy when Google starts counting the data from the upload of photos on the 1st of June 2021.
@AndreasSpiess
@AndreasSpiess 3 роки тому
This is new to me. Thanks for the alert.
@FikiFirmansyah
@FikiFirmansyah 3 роки тому
Is it real?
@Luke-san
@Luke-san 3 роки тому
@@FikiFirmansyah Multiple sources and I got an email. Google .. google photos 1 June 2021
@MrBie
@MrBie 3 роки тому
@@FikiFirmansyah Yes, asli
@scrapwomblecreatives6944
@scrapwomblecreatives6944 3 роки тому
this is also new to me, its getting a crazy world of greed
@asiw
@asiw 3 роки тому
Finally got this to work after 3 attempts (probably because I missed JoFie 1's comments from 1 month ago), I started with the new menu which did not succeed but using the old menu then adding Wireguard with the docker-compose settings it works fine now (even on a pi3 with just a 16Gb SD card). This is absolutely brilliant. I had several holes in my router before (for my external access) but now just one and with Wireguard encryption it is well worth the effort to set it up. Thank you for showing us how to do this, I love it. Happy New Year Arthur
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good to know that it worked. I think the new menu still has some issues and will take some time. Happy new Year to you, too!
@alexivanov55
@alexivanov55 3 роки тому
Thanks for the helpful video and special thanks for the subtitles.
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@ShaunakDe
@ShaunakDe 3 роки тому
Thanks for sharing details of this project. Although I won't use a Raspberry Pi for this, I do have an old PC I can re-use. This was a very inspiring video that will help me a lot share files between my work and home computers, store photos I don't want to send to google etc.!
@AndreasSpiess
@AndreasSpiess 3 роки тому
It also should work for a PC.
@benmol_
@benmol_ 3 роки тому
Thank you very much ! Have a good day !
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@Dr3x0w
@Dr3x0w 3 роки тому
Thank you very much! Greetings from Austria! :)
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@samvoelkel2046
@samvoelkel2046 3 роки тому
Very nice bundle of useful information. Thanks.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@PhG1961
@PhG1961 3 роки тому
Waw, a very amazing and interesting video. Some of the parts like D.DNS I was already familiar with. But everything else is very nice to start tinkering !
@AndreasSpiess
@AndreasSpiess 3 роки тому
It is really interesting what can be built with this cheap technology!
@atillay.5169
@atillay.5169 3 роки тому
Thank you for your videos!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you like them!
@u.s.1441
@u.s.1441 3 роки тому
Merci vielmals! Das Video ist sehr gut verständlich und hat mich echt weitergebracht!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Sehr gut. Danke für das Feedback.
@DuongTrongHue
@DuongTrongHue 3 роки тому
Very interesting topic. Thanks for video
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@mariuszkrzanowski
@mariuszkrzanowski 3 роки тому
Hi Andreas, the excellent content as usual. One security hint, I hope you already discarded your QR codes presented on You Tube.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right I deleted the whole installation on the Pi ;-) And the DuckDNS domain is also free again for somebody else.
@ricodoninelli8794
@ricodoninelli8794 3 роки тому
Super verständlichi clips! Wiiter so!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Danke!
@tld8102
@tld8102 3 роки тому
This is just what ive been looking for
@AndreasSpiess
@AndreasSpiess 3 роки тому
:-)
@jhoanrivero7885
@jhoanrivero7885 3 роки тому
I'm from Venezuela and I understand you very well. Good English and good videos.
@jhoanrivero7885
@jhoanrivero7885 3 роки тому
And I don't know English very well
@AndreasSpiess
@AndreasSpiess 3 роки тому
It even should have Spanish subtitles.
@jhoanrivero7885
@jhoanrivero7885 3 роки тому
@@AndreasSpiess yes. I did not know
@elbestione7010
@elbestione7010 3 роки тому
Fantastic video
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@McTroyd
@McTroyd 3 роки тому
Constantly amazed how well Docker streamlines things. I tried it shortly after it came out but it was too finicky for me. Perhaps time to revisit!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Docker is only the infrastructure. What people prepare for others is also very important.
@McTroyd
@McTroyd 3 роки тому
@@AndreasSpiess Indeed that. Fortunately the open source community has gotten much better about it in the last few years. Chalk it up to corporate sponsors, perhaps, but I'll take it.
@yahmk3978
@yahmk3978 3 роки тому
Thank you!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome!
@gu1tarman233
@gu1tarman233 3 роки тому
'...in like Flynn'. Just for a second there I thought I was listening to Dave. Thanks Andreas, educational as usual!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Dave was one of the first UKpostsrs I watched, you are right!
@gu1tarman233
@gu1tarman233 3 роки тому
@@AndreasSpiess Yeah, and me! I like the sense of community, hearing UKpostsrs mention each other; yourself, BigClive, Dave, Jonathan Oxer from Superhouse (and some I've forgotten to mention) - you've all been my mentors and helped me with a lot of Home Automation (and other) stuff. Thanks guys!!
@marius3959
@marius3959 3 роки тому
Very good video as always, Andreas. I've similar setup, but I run on DockSTARTer. Better support and easy to maintain in my opinion. Also Wireguard is blazing fast and secure. Love QR code feature. Take care.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Never heard of dockstar. Thanks for the link. Looks very similar, you are right. It looks like it is more flexible and less predefined.
@jedandecko5585
@jedandecko5585 3 роки тому
Thank you on this one :)
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@alcabellog
@alcabellog 3 роки тому
Las week I was thinking about it ... maybe google drive new terms and conditions have helped us to think the same. Good video in the best channel ....
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for your nice words!
@Eagleoneradiogod
@Eagleoneradiogod 3 роки тому
I watch this video about 6 times over. Cause iam learning about dmr , VoIP, zoiper and echo link for ham radio, this is along the same Avenue as ham radio and device communication, as to weather or not you want your content to be accessible by the big guys like google and microsoft or if you want a secure acess tunnel aka portal. That only select devices or peers can acess. Agin iam no expert, I really enjoy watching you videos. This is right in line with ham radio and internet platform radio to radio connections via the internet and routing software such as pi star or braidmeister. I probabley got some things wrong. But I really enjoy these videos. It gives me a better understanding as to how devices communicate. Cause most of the world uses computers and sdr phones aka androids and iPhones. But most people have no idea what is going on underneath there touch screens, anyways I really enjoy your videos.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I often listen on the Redit DMR Talkgroup (HB9BLA)
@Eagleoneradiogod
@Eagleoneradiogod 3 роки тому
@@AndreasSpiess cool. I use to talk on the 147.435 repeater on Santiago peak in california witch was a naughty repeater. Now that I live in kingman az. Iam waiting for my first dmr radio from bridge comm, even though I have been a ham sence 2006. Cause there was a plethora of repeaters in california. Iam learning as much as I can about sdr/rtl and other radio platforms and I have a long long way to go. Just so I can get back on the winsystem or the papa system. Or link up to one of the many dmr talk groups , I also want to build an allstar VoIP witch i know is older analog but i like the clear sound of analog. Iam taking notes on hex codes decoded through frame rates and etc and learning about emmerse- satsatellites. Agin i have a lot of note taking to go, memorizing and learning to go before I feel confident about my capabilities.
@Eagleoneradiogod
@Eagleoneradiogod 3 роки тому
@@AndreasSpiess I just realized that was your callsign. I looked you up on qrz.com. iam such a dunce.
@Eagleoneradiogod
@Eagleoneradiogod 3 роки тому
@@AndreasSpiess iam waiting on my new callsign to show up in the fcc url. So I can get a dmr I'd. My old callsign was ki6gvx. I let my licence elapse. So I had to retake the element 2.
@AndreasSpiess
@AndreasSpiess 3 роки тому
DMR and Brandmeister currently are a good way to go. With an Anytone radio or so. I use a Hotspot in my basement.
@benkluwe6373
@benkluwe6373 3 роки тому
couple of things: 1. webdav sync 2. accessibility through the internet 3. nextcloud performance 4. big files: You don't really need a raspberry pi client, you can use curl to do file operations or even create a linux webdav mount (docs.nextcloud.com/server/16/user_manual/files/access_webdav.html). Locally, you can (php occ mainentance:mode --on) manipulate files directly into nextclouds data//files directory and run php occ files:scan to scan for these changes (php occ mainentance:mode --off). The analytics plugin creates RESt api endpoints for you to upload data from, for example, iot devices like weather stations, detailed instructions on uploading via api are here: github.com/rello/analytics/wiki/API. I imagine you have already tried this but: to connect your pi to the internet you just need one change: port-forward the appropriate port on your router and then access it using http(s)://: on your browser or sync client. I personally run nextcloud directly on linux with nginx + php-fpm and only have a SD card and HDD. To increase performance, I mounted nextcloud directly onto the HDD using /etc/fstab. To get more performance, add php opcache if not already done. On my instance website loading speeds went from multiple seconds down to a second or less. For more info on server tuning, see docs.nextcloud.com/server/latest/admin_manual/installation/server_tuning.html. Additionally, check how nextcloud is running it's cron.php (settings -> basic settings). If it is using ajax, loading times might be affected depending on whether or not the cron needs to do something. I'd switch to crontab where possible. To be able to upload bigger files (>100's MB), I needed to increase php's max execution time. The nextcloud pc sync client will upload the file in chunks of approx. 10M and then re-combine the file in one command. The recombining step was taking so long on my pi that php was timing out.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for your tips! A few of the tips are probably more for the builder of the NextCloud container. At least I would expect that they optimize the setup. The speed with my Pi4 and an SSD was ok for me. I can imagine that the USB2 of the older models can create a bottleneck.
@FonsKnaapen
@FonsKnaapen 3 роки тому
Very nice video again, as I'm used to from you, Andreas :-) From a security perspective wireguard should be running on a dedicated pi with a hardened OS. This can be a pi2 or pi3, even a pi0. Having more softwares than wireguard on the pi increases the attack surface for attackers and it increases the risk of a breach by zero day vulnerabilities. This is increased by the fact that many ISP provided routers don't have the option to forward just one port, but only an option for a DMZ.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are for sure right about the number of software running on the VPN server. Of course you can run the Wireguard machine in the DMZ if you know how to set it up. If I believe some stories (cameras, etc.) what people do, the solution presented here is already quite safe compared to just opening ports. I also ask myself: Why would somebody attach an ordinary household with a zero-day vulnerability. I would assume there are more rewarding targets. My standard router seems to have the possibility to only forward one port. I also read "DMZ" somewhere. Maybe I investigate a little in this direction.
@FonsKnaapen
@FonsKnaapen 3 роки тому
@@AndreasSpiess I agree that this solution is relatively safe. The threat is real though. Cyber criminals are just looking for resources. If your devices are compromised they can become part of a botnet which are often used to hold companies for ransom with DDOS attacks. Also, it is not someone targeting you. Cyber criminals use automation to find vulnerabilities around the world, for various purposes. Think of it as scouts, software bots that go looking for openings. Depending on what is found and reported back, specific actions will be taken. No human is directly involved. Zero days simply mean it is not a matter if you will be compromised, but when.
@genkiferal7178
@genkiferal7178 2 роки тому
On NC, there is an icon of a link, so you can share certain files (and maybe folders) with others. I think the Collabora function may work in a larger scale way.
@AndreasSpiess
@AndreasSpiess 2 роки тому
Maybe. I decided to stay in the cloud with my collaborations because of security.
@TOMTOM-nh3nl
@TOMTOM-nh3nl 3 роки тому
Thank You
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome
@Coderion
@Coderion 3 роки тому
Just use WebDAV on the Pis for connecting them to the Nextcloud Instance. For external access, you can forward Port 80 and 433 of the router to the Nextcloud-Pi and when you got external Access you can just create file sharing links for each file ^^
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for the info!
@horizon42q
@horizon42q 3 роки тому
Excellent
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@chuxxsss
@chuxxsss 3 роки тому
What lockdown Andreas, We don't have on now in Victoria Australia. Caravaning go on lol. Now Docker is a very good idea. I see why I need a pi. or a old laptop to do the work. Have a great week. Only saw this Tuesday here in Australia.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You have other things to do now in you nice weather... Here it is quite cold and long nights.
@mcgamingproyt
@mcgamingproyt 3 роки тому
Great video as always Andreas! Will the pi 4 be able to handle this stack along with some home automation containers from last time?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Yes
@klassichd10
@klassichd10 3 роки тому
Around 2004, when a 128MByte (Mega, not Giga) USAB-Stick was a huge one, I started my VPN experience using "Unslung"-FW and OpenVPN. Some years later, I was happy to migrate to the stock VPN of my router. Today the most routers provide VPN out of the box. No port forwarding, no additional raspi, no hazzle. And I have access to my complete home network incl. my ioBroker data set, Synology NAS und much more. Appropriate for a private person. Do the Swiss routers not provide VPN? Many iot systems as e.g. ioBroker also offer cloud access and provide "European" cloud solutions. But up to now I prefer my home network with VPN access and try to avoid cloud solutions.
@AndreasSpiess
@AndreasSpiess 3 роки тому
My router provided by the ISP does not offer VPN. But I cannot speak of all other ISPs here. Using the router is of course also a good way to get secure access. For sure it is easier. As you mention, I also wanted to avoid the cloud. But for the moment it seems it is easier to keep it for file sharing.
@TheOnlyEpsilonAlpha
@TheOnlyEpsilonAlpha 3 роки тому
Sharing with others, speaking outside of your home network is a difficult task. Especially if the whole purpose was in first place, to keep your storage private. I guess google drive or dropbox is a welcome solution to that on a file per file basis. My QNAP NAS offers a good mix of both: Local, private storage with offering the option of sharing a file or a whole folder with others like a dropbox. It’s a very good solution but properitary to QNAP NAS’ses (i guess Synology has that as well)
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are right. I decided to continue to use dropbox and google for that purpose. As a UKpostsr I feel a little less secure :-(
@ThierryVorms
@ThierryVorms 3 роки тому
Hi Andreas, as habit, many thanks for your excellent video. Just a question why you choose docker and not snap for software installation ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not know snap. Docker is very good for such porposes.
@roaridse
@roaridse 3 роки тому
For syncronizing between rpi's and other devices, syncthing is a great piece of software. Then, a question: are there any chance of getting an implementation of wireguard on ESP32? It is supposed to be quite small compared to other VPN's, so why not?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the link to syncthing! Concerning the ESP32: I prefer to secure the net where my ESP32s are connected to. I do not think the whole key handling and stuff is simple for a IOT device.
@paulmaydaynight9925
@paulmaydaynight9925 2 роки тому
2021 WireGuard-ESP32 Communication WireGuard implementation for Arduino ESP32 Author: Kenta Ida Maintainer: Kenta Ida
@paulmaydaynight9925
@paulmaydaynight9925 2 роки тому
@@AndreasSpiess -i just like simplicity, not associated with them- regarding getting a useable public connection its best to use an *unlimited data* ,fixed speed vpn with their generic debian10 +docker instance like ovhcloud vps '1 vCore,2 GB ,40 GB SSD NVMe ,250 Mbps *unmetered* for cheap rather than any of those American limited fixed data @ variable speeds corps. you can docker your remote WireGuard server there & just connect to/from your local WireGuard as you please + other dockers over there too. [yt keep deleting this post]
@EnUsUserScreenname
@EnUsUserScreenname 3 роки тому
Cool and good. Again.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@ronm6585
@ronm6585 3 роки тому
Thanks.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome
@pierreruwet8479
@pierreruwet8479 3 роки тому
Thanks Andreas for this video that shows better how to combine iostack, nextcloud and show the details how to make it working. I begun last week the configuration of my raspberry 4 based on your videos 295 and 352 but I got problem with usb boot when installing wire guard . 3 questions 1) Do you use the last stable firmware ( November) for USB boot or critical version of September ? 2)Is wireguard running in a container or is it installed on the host from PI VPN project? 3) what about power supply regarding RPI when connecting one SSD and one USB HDD together? Do you use external power supply for HDD?
@AndreasSpiess
@AndreasSpiess 3 роки тому
They seem to have changed the EEPROM quite a lot and recently created some problems. I used the version which was actual during the making of the video and used the script to install Nextcloud. Maybe you try to get a stable boot situation without any IOTstack first to separate the two problems. And go to the Discord channel if you need additional support
@bobbydigital9323
@bobbydigital9323 3 роки тому
Hi. I am using nginx proxy manager with cloudflare. Could I just open that one port?
@MrSpikegee
@MrSpikegee 3 роки тому
Nice. With a raid 0 the solution would be complete - maybe the external enclosure used provides hardware raid 0 ? Also what would have been interesting would be some figures regarding transfer rate to see how it compares with much pricier options.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I had the transfer rate test in an earlier video about SSD boot.
@janmatthiaswurst
@janmatthiaswurst Рік тому
Danke!
@AndreasSpiess
@AndreasSpiess Рік тому
Thank you for your support and welcome to the channel!
@systemsadministrator3124
@systemsadministrator3124 3 роки тому
Awesomeness
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@pieterjdw
@pieterjdw 3 роки тому
You rock Andreas! Super interesting and useful. Did you know that there is a duck dns container. Maybe more elegant then crontab. Also nice to add swag container for reverse proxy
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the tip. The team on discord always do some improvements. Maybe they will add also the duckdns container.
@philippekoenig6506
@philippekoenig6506 3 роки тому
Hi Andreas, did you try Rclone for the raspberry pi sync ?. It can also be used with docker if you need. Nice videos, as usual ... Best regards
@AndreasSpiess
@AndreasSpiess 3 роки тому
I will have a look at it. Thanks.
@tonybell1597
@tonybell1597 3 роки тому
Excellent stuff Andreas. Silly question: if I already have the whole docker install you prescribed a week or so ago, can I simply install the extra containers and go from there ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
You should be able to run Menu.sh again with the new selection.
@joelimbergamo639
@joelimbergamo639 3 роки тому
Thanks a lot, I was just thinking on doing that and you appeared! Only one question, even if it's not perfect would it run ok in a 1G raspberrypi 4?
@AndreasSpiess
@AndreasSpiess 3 роки тому
It runs. Maybe you have a look at the size of the swap file with htop.
@joelimbergamo639
@joelimbergamo639 3 роки тому
@@AndreasSpiess OK great! Thank you a lot, I'm gonna try next week or during Chrismas!
@sandroc1455
@sandroc1455 3 роки тому
Dear Andreas, I watched your perfect videos every now and then for a year now, and you are definitely the best that I could find during many many queries. Regarding pi4 and nextcloud, I would have a desire: run a raid10 (2 disks + 2 disks, as you may know much better than me) so to take advantage of the 4 usb ports and, well, so to keep all the data in my hands only. I am keen to use also 4 flash drives, in case that this would help for the electric current draw. Would you be able to "teach us" how to do that, as an expansion and in conjunction to this perfect project of yours?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I am no specialist on raid systems. So somebody else has to do that. Pls. keep in mind that the Pi4 only has 2 USB3 connectors.
@sandroc1455
@sandroc1455 3 роки тому
@@AndreasSpiess Thank you. I have read that there is a software called "mdadm" that helps in defining the disks, but I would find myself today unable to "add" that part into your project. It steps into "defining labels" so to recognise the logical disks and the physical disks. I don't even know how to use dockers, for the moment. For the speed I would love to imagine that even having usb 2.0 would make me satisfied for a very modest home user only. Most importantly, thank you again.
@bryanmiranda236
@bryanmiranda236 3 роки тому
If you want to share outside your network you can use Hamachi, i have the same configuration but with owncloud, and I can share my files with other people outside my network
@AndreasSpiess
@AndreasSpiess 3 роки тому
They do not need a VPN tunnel? Just a link as with google or dropbox?
@bryanmiranda236
@bryanmiranda236 3 роки тому
@@AndreasSpiess yes, they only need the link like dropbox
@fabnavigator
@fabnavigator 3 роки тому
Thank you for this. Would you know which wireguard docker repository you are using? There seem to be quite a few.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe you go to the discord channel of the project for your question?
@andrejsersen59
@andrejsersen59 3 роки тому
Hey! Thans for a great video and presentation...as well as for all your other videos and tutorials, I found them very helpful since I am from another profession 🤭. I wanted to ask you: I have HA installed and running on Rpi4 with ssd usb (boot) disk. Is it possible to install nextcloud and wireguard on the same machine? Thank you and keep up the good work!!!
@AndreasSpiess
@AndreasSpiess 3 роки тому
It should be possible. However I m no HA specialist.
@chrisgelso1321
@chrisgelso1321 3 роки тому
Thanks Andreas... how about using syncthing to synchronize your files across RPi? I have it running on containers on all my machines....
@AndreasSpiess
@AndreasSpiess 3 роки тому
I never tried it, but quite a few viewers suggested the same. So I think, I have to try it once...
@vesajokinen6888
@vesajokinen6888 3 роки тому
I have been running Nextcloud on Pi for 4 years now. First on 3 and now on 4. To make it visible to Internet I bought a domain name and DynDNS-service from No-IP , which costs me around 30$ a year. From Let's Encrypt I got the SSL certificate for free. 2016 there were no free DynDNS services that supported also Let's Encrypt. At least I didn't find any. The data is stored on external usb double dock with 2 drives and raid1. System has been working without problems. With Pi 3 the max. speed through internet was around 10-12 MB/s, with Pi 4 it is double that.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Interesting. I have domain name with a webhoster. How do I have to go from there?
@vesajokinen6888
@vesajokinen6888 3 роки тому
@@AndreasSpiess To run a internet server at home your ISP and your router must support port forwarding. Especially ports 80 and 443. To run your own server at home with your own domain name, you'll need a dynamic DNS service. Your ISP changes your home IP address from time to time so you need dynamic dns service to keep track of your home IP address. DynDNS service provider will direct the internet trafic intended to your server to your current home IP address. No-IP is one of them but there are others too. They offer also a service to turn your domain name from your current web hotel to the dynamic dns providers servers so you can run your own server with your own domain name at home. Your server must be running the dynamic dns service provider's client program to keep their servers up to date with your current IP address at home. To get the Let's Encrypt SSL sertificate you must registrate your domain name to them, then load certbot program to your linux machine and run it. Of course before you can install the cerficate you must have a working http server running on your computer. I really recommend using Apache but there are instruction for other servers also. So the order of things to run your own Nextcloud server at home but also visible to internet 1. get a domain name or prepare to transfer your current domain name from web hotel to dyndns provider's servers. Check your current contracts about the web hotel and domain name. So that there are no nasty or expensive suprises from the web hotel when transferring the domain name. 2. choose a dynamic dns provider . No-IP as mine dyndns provider was more or less a random process. Today I would prefer a European provider. But I'm too lazy to change mine while it's working. 3. check that your chosen dyndns provider supports Let's Ecrypt. And vice versa. That Let's Encrypt supports chosen dyndns. 4. choose another dyndns provider until the terms are satisfied... 5. make a fresh linux installation 6. make your router settings. Port forward 80 and 443 to your newly installed linux computer. Set in the router a static local IP address to your linux computer's MAC address 7. install apache, php with needed additions and dyndns client program. Do not install Nextcloud at this point 8. registrate to Let's Encrypt 9. install certbot and run it with Let's Encrypt credentials to get a valid SSL certificate 10. backup your SSL certificate files to a safe place and media 11. install Nextcloud 12. start Nextcloud for the first time and make the settings. And fix the things it is complaining about. When you have everything running properly, for extra safety you can change your web servers ports to 5 number ports. If you do that, certbot won't be able to renew itself because it uses the defaults port numbers, so you must change the ports back to normal numbers in every second month to renew the certificate manually. For that I have two batch files. First to return the normal port numbers and reboot computer. Second to renew the certificate and change the ports back to long numbers and reboot. Not really a method for production environment but for me its working good enough. Unwanted visits to my http server ended. You must also make port forwards in the router for those long number ports. In Nextcloud client programs you give your server address followed with :portnumber (for example www.myownnextcloud.com:54321) For maintenance I have also a ssh connection to the Nextcloud server. Ssh is configured so that the port number is changed to a long number and you can login only with ssh keys. Also that port is forwarded in the router. But don't do that if you don't have to do maintenance over internet. PS. Four years ago it was not possible to get a free dyndns domain name that also works with Let's Encrypt. Maybe the situation is changed now. Someone else will know it better than me. If that is possible you can have a new domain name for your nextcloud server and keep the old one where it is.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you very much for your writeup. It seems to be not easy, but possible...
@vesajokinen6888
@vesajokinen6888 3 роки тому
@@AndreasSpiess Getting a Let's Encrypt's SSL certificate to work with a free dyndns domain name started to intrique me and I started digging the matter. Nowadays there are several free dyndns providers which domain names works with Let's Encrypt. So I decided to test it with a domain name from duckdns.org. And it worked. Easily. If you have your http server running properly and it is installed to use the domain name you have got from duckdns.org, you just load certbot and run it. It asks your e-mail address and your domain name and installs the certificate. More instructions of installing certbot from certbot.eff.org You have to run certbot once in every second month to renew the certificate. For installing and renewing the certificate you must have port 80 forwarded from the router to your server. For normal https trafic you must have port 443 forwarded. More instructions how to install duckdns update client from here www.duckdns.org/install.jsp
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the clarification. After your and a few other comments I decided to not open my home network. It seems too dangerous for me because of my hobby. I fear somebody would want to prove he is better than me ;-)
@stahelpeter
@stahelpeter 3 роки тому
Hi Andreas, thank you for this video and the instructions. I can mount an external HD in my PI4 and enable the external storage app in nextclound but fail to add the external HD with /Disk1 in nextcloud (get a red dot in front of the entry). I have installed smbclient eventhough I get this warning in nextcloud. Any idea what the problem could be? thank you in advance.
@AndreasSpiess
@AndreasSpiess 3 роки тому
There is a discord server for support of this project. You find the link in the video description.
@orchardheadstudio1023
@orchardheadstudio1023 3 роки тому
Thanks for sharing such a great resource. Do I need to create a fixed IP for my pi within my network for this to work? I had thought that my router can randomly assign or change a device's IP within the home network, and if that is true, does that affect the duckdns ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I always assign fixed IP addresses for servers.
@orchardheadstudio1023
@orchardheadstudio1023 3 роки тому
@@AndreasSpiess Thanks for your reply.
@azatecas
@azatecas 3 роки тому
Im recently installed NextCloudPi on a raspberry pi 3, and although its slow due to the slow ethernet and usb interface, its awesome. I did not use docker or wireguard im wondering if theres an advantage to using docker over a normal install. Also with NextCloudPi im able to share files with people outside the network. Im going to get a raspberry pi 4 and deploy it like you did since it seems more secured with wireguard
@AndreasSpiess
@AndreasSpiess 3 роки тому
I like docker because the install of the software including dependencies in the containers is done by knowledgeable people and you easy can get the newest version. In addition you can restart and shutdown each container in seconds. And if you delete it it is gone with all its dependencies.
@azatecas
@azatecas 3 роки тому
@@AndreasSpiess docker seems awesome, im just very new to the concept of containers
@pieterjdw
@pieterjdw 3 роки тому
Superb video! I have an Older version of portainer installed. Can I select the new one or should I remove the old one first?
@AndreasSpiess
@AndreasSpiess 3 роки тому
You do not need to remove containers. If you talk about Portainer and portainer-CE: They use different ports. Usually, you only have to select one.
@pieterjdw
@pieterjdw 3 роки тому
@@AndreasSpiess I removed and freed port 9000 so i could use it for portainer CE; works! Thanks!!
@dinoivid3185
@dinoivid3185 3 роки тому
Dear Andreas, thank for this video. I had troubles with my raspberry pi 4 on a ssd and the IOTstack. He lost the Wlan Connection all the time. It was in relation with the docker containers. Now I found the issue in the DHCP. If someone have the issue check: sudo service dhcpcd status. The error there is: route socket overflowed - learning interface state. The solution is to edit the: /etc/dhcpcd.conf and add this in the first line: denyinterfaces veth*
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for sharing this iinfo. Can be valuable!
@TheRowie75
@TheRowie75 3 роки тому
Hi andreas, i use another container called swag (linuxserver/swag) in my stack for accessing from the outside. it works as cert endpoint with letsencrypt and reverse proxy. dns cnames (dyn IP @home) do the rest. let me know if you need more information! the configuration is verry simple
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe it would be interesting to add it to the IOTstack project?
@janprejzek4706
@janprejzek4706 3 роки тому
Hello, nicely maded as always. Question - it is offtopic but i cant resist. What videoediting tool are you yousing to create these painting animations, arrows etc. ? Thank you.
@AndreasSpiess
@AndreasSpiess 3 роки тому
PowerPoint
@janprejzek4706
@janprejzek4706 3 роки тому
@@AndreasSpiess First i was thinking its joke ! :) .It isnt ! Your time management skills are awesome, how you can even have time to answer ppl, and make these cool videos. You are awesome, thank you !
@AndreasSpiess
@AndreasSpiess 3 роки тому
By using the same tool for my work as for UKposts, for example (Powerpoint) ;-)
@rachidyekini1898
@rachidyekini1898 2 роки тому
Thanks this is really very informative video, can we use a SSD for Pi OS and a HDD for nextcloud contents at the same time, does RPI4 gives enough power to operate both without issues?
@AndreasSpiess
@AndreasSpiess 2 роки тому
HDDs often need too much power (and sometimes even 12 volts. Maybe you will need an additional adapter for the HDD
@mvadu
@mvadu 3 роки тому
If you own a domain and can port it to NameCheap.com as your registrar they provide scripts that you can run to update your A record. So anytime your ISP changes the IP you get it updated so that your domain always comes to your home.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for the tip!
@MikeNewham
@MikeNewham 3 роки тому
3:52 Do I really need 'SSD Boot enabled' on RPi? Can I just use a good SD Card for boot/OS - and separate to this - a large SSD over USB 3.0 for storage??
@AndreasSpiess
@AndreasSpiess 3 роки тому
You can do that of course if you intend to use a second disk. No problem. I just would not use it for data storage.
@SuperTorggler
@SuperTorggler 2 роки тому
Yet another fascinating and informative video. Thank you, I have learned so much from your videos which are mostly very clear - even for a relative beginner. However I must have missed something here. At 5.41 you suddenly introduce a new file (compose-override.yml). All I see is an incomplete edit screen. What does this file do? Is a listing available somewhere?
@AndreasSpiess
@AndreasSpiess 2 роки тому
You find its description in the Wiki of the project.
@simfoo
@simfoo 3 роки тому
If you don't want to expose your RPi to the whole internet there's another possibility: TailScale. This is a free service that manages Wireguard for you and also traverses NAT/router boundaries transparently. I have it installed on my RPi as well as my phone and laptop, so I have a multi-device VPN that works everywhere. You can also configure IP routing on the RPi so that you expose all other devices in your home network to the VPN. This is how I can access my home NAS from my devices. Quite nice and easy to setup.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Looks interesting! It probably solves problems I do not have with my home network. But for companies, this seems to be cool. But you do not have to go through any hassle. One thing I probably would not like is the single user in the free plan, even if you can use several devices. But maybe this limitation does not apply if my wife also uses the same user.
@simfoo
@simfoo 3 роки тому
@@AndreasSpiess Yes the single user requirement is a bit cumbersome. I use a dedicated Google account that is shared across devices.
@bogorad
@bogorad 3 роки тому
Using Tailscale for everything - I've got a dozen computers, phones, raspberries etc. Works very well and allows not to expose a single port to the internet! Even my hosted machine doesn't have a single port open, even for ssh - Tailscale allows it.
@wassfila
@wassfila 3 роки тому
Excellent video Andreas, this is exactly the sort of content that is useful and demanded I think. I wish such sw gets packed in a ready to use product so that anyone can use it even those not familiar with sw installs. I personally use 2 pipelined routers, the second has open vpn server. VPN is a reasonable approach to guarantee security as opening a direct app to the internet is risky, as a workaround, each app can also have its own proxy service running on an external server to solve this dns access issue. I hope one day OSS gets as good and easy to install as any other commercial service so that people can finally own their data :)
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you like such content. Indeed, it took me some time to get the "glue". Most other videos just show the normal stuff. Fortunately, I had the help of one of the maintainers of IOTstack to create the compose-override file. It makes things much easier... to put the VPN server in a DMZ for sure is more secure.
@PilotAtInception
@PilotAtInception 3 роки тому
@@AndreasSpiess would a DMZ be something like running WireGuard on a GL.iNet MUDI router?
@ramoncv
@ramoncv 3 роки тому
Andreas thanks a lot from Mexico, but I have a question!, Could I use this setup installation as a NAS and server phone system? Any suggestions o options! I appreciate your comments!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Raspberry Pi is not very fast. But they are Linux systems and you can do what you can do with other Linux systems.
@jimford8108
@jimford8108 3 роки тому
Hi Andreas. When updates to NextCloud become available, will the update be pushed to users, or will we have to update manually eg via Portainer?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Usually, Docker searches for the latest version when you restart the Yaml file. If not a specific version is mentioned. You have to check your yaml file or ask in the discord channel of the project. You can also update the container via Portainer.
@jimford8108
@jimford8108 3 роки тому
Excellent tutorial Andreas! I followed it through almost to the end, but fell at the last post when installing Wireguard on my Android mobile! At 'Connection request' selecting OK does nothing and when cancelled results in "Error bringing up tunnel: VPN service not authorized by user", I've downloaded the log, but it doesn't mean much to me at the moment. Jim
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe you go to the Discord channel of the project for support.
@jimford8108
@jimford8108 3 роки тому
The problem turned out to be the particular 'phone. I was using an Xioami Redmi Note 4. I then dug out an old Motorola Model G from 2014 and Wireguard works fine. Many thanks for the tutorial Andreas!
@peter.stimpel
@peter.stimpel 3 роки тому
For the question how to share files with people outside your network: There are 2 obvious ways. One is to bring the guests into your network using Wireguard. I find this very inconvinient, since I don't wanna bring those guys into my private network. The other one is to open a tcp port on your router, to share the html of nextcloud to the outside. This is a security risk, but a small one. However, from an IT point of view, You would have to create kind of a safer network environment, with several stages like a DMZ, and I would never ever run Wireguard, Maria DB and Nextcloud on the same machine. Conclusion: tough decisions to make. For private installations, one has to check convinience, security and effort against each other. Nice video, I like the output provided by the project around IOT stack
@AndreasSpiess
@AndreasSpiess 3 роки тому
That is what I thought, too. I hoped somebody has a "silver bullet"... Solution 1 is obviously a no-go. And if I have to have a Pi in my DMZ I probably stay with Google or Dropbox. So it seem to be a good thing for a family or a small company.
@peter.stimpel
@peter.stimpel 3 роки тому
@@AndreasSpiess I rent a server to run my own nextcloud. This puts my local network to low risk, but costs some bucks...
@AndreasSpiess
@AndreasSpiess 3 роки тому
A good possibility. I hoped to be able to use it for community projects because the free google service does not allow for permission schemes. If I have to pay for NextCloud hosting I probalyy can also pay for a Google plan. What was your reasoning for Nextcloud on a paid server instead of cloud solution?
@peter.stimpel
@peter.stimpel 3 роки тому
​@@AndreasSpiess That private server runs several other stuff I need, so the server costs for nextcloud are very minor. And, it was an advantage in terms of privacy. I try to avoid cloud services when possible. Yes, me writing on UKposts, I know.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Understood. I am very pragmatic with cloud services. Many problems can be easily solved with such services. I try to optimize my time. It gets more precious every year because I get closer to my death day...
@kocokan
@kocokan 3 роки тому
Never imagined a guy with swiss accent would save the internet
@AndreasSpiess
@AndreasSpiess 3 роки тому
:-))
@mikewurlitzer5217
@mikewurlitzer5217 3 роки тому
Fantastic! Thank you. One question. If I understood this correctly, there is no client for Raspberry Pi. I have a Pi 3 running Node Red which runs my home automation with a mix of Sonoffs and Shellys all flashed with Tasmota. Does this mean, I cannot use my existing User Interface on my phone to tunnel into my Home Automation Raspberry Pi?
@AndreasSpiess
@AndreasSpiess 3 роки тому
You should see your node-red page on your mobile if you created a Wireguard tunnel.
@mikewurlitzer5217
@mikewurlitzer5217 3 роки тому
@@AndreasSpiess Thank you very much for the prompt reply.
@johnderix1947
@johnderix1947 3 роки тому
Every time when I did a docker-compose down my NextCloud ended up with an internal server error. Seems that in the compose-override for me a - ./volumes/nextcloud_db/config:/config folder was missing at the nextcloud_db service. After adding this line NextCloud kept his config after down the servers and bringing them up again. I was wondering if more people experienced this problem or that I did something wrong at 1st setup?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe you go to their discord channel for support?
@g.torriani-jones5069
@g.torriani-jones5069 3 роки тому
Why is it that, when I start my containers, it kills my network interface on the RP4 and how can I prevent this?
@mcsarge
@mcsarge 3 роки тому
How do I gain access to the other computers in my Lan through wireguard? I read there is a setting to route traffic, but i am not sure where to set that.
@AndreasSpiess
@AndreasSpiess 3 роки тому
In my case I had access to other computers without doing anything.
@MichalKottman
@MichalKottman 3 роки тому
You don't need to "install a Raspberry Pi client", it's usually already supported. The keyword is WebDAV and all you need is to connect the RPi to the NextCloud server using WebDAV. It's also supported on Windows.
@timballam3675
@timballam3675 3 роки тому
rsync
@AndreasSpiess
@AndreasSpiess 3 роки тому
@Michael: Does webdav synchronize my Raspberry directories with Nextcloud? @Tim: So I would use rsync to synchronize my "Nextcloud" directories on my Pi with Nextcloud?
@AdriIdzwanMansor
@AdriIdzwanMansor 3 роки тому
@@AndreasSpiess think webdav as something like smb, except that it also works over the net
@ManfredBrauchle
@ManfredBrauchle 3 роки тому
@@AndreasSpiess have a look at Syncthing
@DarrenDignam
@DarrenDignam 3 роки тому
WebDAV has been really hit or miss for me in the past. Reading a directory with lots of images will time out on the client, and trying to upload large files will also fail. Then you get into weeds trying to configure the Apache proxy if that's the NC image you used, or the PHP.ini files. Then the problem might be the WebDAV client is not fully compatible. I really wanted all devices on my home network to use WebDAV with NC but in the end, used SMB shares to a mounted HDD. I do have NC but use it for syncing images from all smartphones. Using the iOS and Android apps. The windows client app is annoying as it tries to sync a local PC folder with NC so if you assign it to your images folder, it will back then all up to an images folder on NC - great - but then start deleting those images on windows and the client software will delete them on NC too. Which is fine if there was some options to change the behaviour, but there isn't. I use duck DNS to port forward to my NC docker image so I can access NC from anywhere for the images to upload. Using let's encrypt to manage SSL automatically
@OmarMekkawy
@OmarMekkawy 3 роки тому
Thank you for this video. I have installed the containers for NodeRed, Grafana, InfluxDB ( after that the wifi doesn't work at all except when I restart the dhcpcd service and it crashes due to errors ). Also I had a backup from the containers on my google drive ( when the Pi's Wifi crashed, I tried to reinstall the OS and then restore all the containers and it doesn't work for me ). Could you help me ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe you go to discord for support?
@OmarMekkawy
@OmarMekkawy 3 роки тому
@@AndreasSpiess Support for IOTStack ? or your discord channel ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
The discord of IOTstack
@mysomervda
@mysomervda 3 роки тому
Excellent video - as usual. BTW: I was trying to get the Wireguard service working on PI and IOTstack last week and went through most of the same steps as you. I could never get a windows laptop to route via the VPN to my internal network. However your video made me try using the Wireguard client on an iPad, now that all worked, and I could see all my internal devices - which is a bit weird. Do you know if there is a problem with the windows Wireguard client, have you tried a windows10 client?
@AndreasSpiess
@AndreasSpiess 3 роки тому
So far I did not try the Windows client.
@mysomervda
@mysomervda 3 роки тому
@@AndreasSpiess Quick update - I managed to get the windows client working using the TunSafe tunsafe.com/ VPN client. It looks like the Wireguard version of the windows client has problems working on the latest windows update (20H2 for me).
@OsmioGonzalez
@OsmioGonzalez 3 роки тому
Thanks for introduce everybody with this tools I realy apreciate that información. I hope there is a way yo share files between raspberrys or yo access data for iot purpuses. Maybe as you say someone could help us to do that. Thanks for the video, esa really good. (And sorry for my bad english).
@AndreasSpiess
@AndreasSpiess 3 роки тому
No problem. Your English is understandable. You are welcome!
@karlakunze9823
@karlakunze9823 2 роки тому
@@AndreasSpiess you can always access the Nextcloud from your RaspberryPi via so called WebDAV protocol. There is support for the so called davfs in the Linux Kernel as a filesystem. Here are several instructional Links to get you started: ajclarkson.co.uk/blog/auto-mount-webdav-raspberry-pi/ heinz-otto.blogspot.com/2018/01/webdav-auf-dem-raspberry.html blog.piandpython.net/add-nextcloud-to-your-raspberry-pi/ Apart from that you may be able to simply install the Nextcloud Desktop Client (there is an AppImage here github.com/nextcloud/desktop/releases/download/v3.3.0/Nextcloud-3.3.0-x86_64.AppImage that acts as a Sync daemon) under Raspberry too ? I usually simply connect to the Server as a WebDAV resource in my File Browser under the Linux Desktop Environment. The general WebDAV Path should be something like davfs://nextcloud-user@nextcloud-server.tld/nextcloud/remote.php/webdav and is described in their manual docs.nextcloud.com/server/20/user_manual/en/files/access_webdav.html Cheers Karla
@bitosdelaplaya
@bitosdelaplaya 3 роки тому
Hi Andreas. Can we use raps 3B+ to make this or it is to low in capacity (mem/cpu) ??? Thanks
@AndreasSpiess
@AndreasSpiess 3 роки тому
It should work with a Pi3. But USB2 is very slow.
@bitosdelaplaya
@bitosdelaplaya 3 роки тому
@@AndreasSpiess Thanks Andreas. The speed is not important. Thanks for your work and this video 👍👍👍👍
@dgeordgy21
@dgeordgy21 3 роки тому
Adieu! (in swiss french) For internet access of your nextcloud, you should user jlesage/nginx-proxy-manager. Then in next cloud, you should able to share folder like dropbox. Hope it's help
@PilotAtInception
@PilotAtInception 3 роки тому
Is there an online guide to which you could point us for that?
@dgeordgy21
@dgeordgy21 3 роки тому
@@PilotAtInception ukposts.info/have/v-deo/moGVpZxsr3eqtp8.html
@PilotAtInception
@PilotAtInception 3 роки тому
@@dgeordgy21 thanks! I missed that one!
@manmeetkaku12
@manmeetkaku12 3 роки тому
Hey mate, I followed your guide for wireguard setup. It worked flawlessly but one day later it said could not establish handshake. The only change I made to the IOTstack was to add pihole and then I changed my wifi dns on my laptop to connect to pihole. As soon as i did that wireguard stopped responding and even after changing my dns back to normal it still is not running. Do you know what may be causing this ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe you go to their discord channel for support.
@vaclavsisl175
@vaclavsisl175 3 роки тому
Thank you for another inspiring video! Would you please share with us the docker compose file (its part) created by IOTStack for the wireguard service? The reason I would like to see that is that I'm using DockSTARTer which does a similar job as IOTStack and I don't want to install IOTStack next to DockSTARTer. Thanks a lot!
@AndreasSpiess
@AndreasSpiess 3 роки тому
IOTstack only installs a few directories. After running menu. Sh you can delete it. Nothing is left if you do not start docker
@vaclavsisl175
@vaclavsisl175 3 роки тому
@@AndreasSpiess I went on and installed IOTstack. However, I don't see wireguard in the list of available services (# ./menu.sh -> Build Stack). The documentation (sensorsiot.github.io/IOTstack/Containers/WireGuard/#setup) doesn't mention anything special. Am I missing something?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I think so. Did you use the repo from my link (sensorsiot)?
@vaclavsisl175
@vaclavsisl175 3 роки тому
@@AndreasSpiess That was it! thanks
@pablom695
@pablom695 2 роки тому
Wow, amazing, thanks so much for sharing! +1 subscriber here! Can I ask you, would it be possible to have this together with a NAS server? I did a search on the IOTstack wiki but did not find anything on it. Thanks!
@AndreasSpiess
@AndreasSpiess 2 роки тому
Welcome aboard the channel! This project is focused on the Raspberry and I assume you would create all sorts of problems if you use it in a different environment. But you can ask on their Discord channel.
@syong5865
@syong5865 3 роки тому
Thank you for the video, great stuff. I can sync the data to the pi usb memory, but not to the hard drive attached to the pi, I can see the hard drive using fdisk. Set up a file on the external drive as per your instruction ( got a green check mark), but can not sync to it even the sync folder is on the external hard drive, any suggestion? How and where I can access the files that nextcloud stored? can not find in using file manger. Thanks for the help.
@AndreasSpiess
@AndreasSpiess 3 роки тому
They have a discord channel for support.
@syong5865
@syong5865 3 роки тому
@@AndreasSpiess cannot find anything there with regard to my questions. any suggestions?
@AndreasSpiess
@AndreasSpiess 3 роки тому
You can ask your question there.
@henripihet536
@henripihet536 3 роки тому
Amazing thank you! Will add bitwarden too ;)
@VipinKNarayanan
@VipinKNarayanan 3 роки тому
Not sure if this has been answered, you can easily share files like dropbox or google drive with others by just providing link, you can even set password and expiration date for it, the user doesnt need an account to download the files, similarly with next cloud you can create an upload link (secure drop) where user can upload files. Please also try out syncthing its much easier to setup than NC
@AndreasSpiess
@AndreasSpiess 3 роки тому
I use sharing on dropbox and google and, as you describe, it works fine. I will have a look at Syncthing
@VipinKNarayanan
@VipinKNarayanan 3 роки тому
@@AndreasSpiess sorry I think I didnt make it clear in my previous reply, I meant just like Dropbox and Google drive you can share files in Next cloud. You can do it from the webinterface and through the next cloud client as well. I switched from Google drive and Dropbox a long time ago to Next Cloud.
@therishabhpatel
@therishabhpatel 3 роки тому
Hi, Can you also upload the data transfer rate from outside your local network to your local network?
@AndreasSpiess
@AndreasSpiess 3 роки тому
This depends on the contract you have with your internet provider.
@therishabhpatel
@therishabhpatel 3 роки тому
@@AndreasSpiess I have gigbit internet on VPS side and 300 MBPS upload and download speed at home. Still when i test the tranfer speed with iperf3 it shows max 110 mbits/second. Do you know what might be the problem to this?
@matneu27
@matneu27 3 роки тому
Also you can sync your adressbook and calendar with nextcloud by installing davX5 on your phone. A bit tricky, but you find manuals online. Also nextcloud can sync notes with the carnet app. Android users can find many nextcloud related apps by installing fdroid, a opensource "app store" Anyway those are another stepp to free the phone from Google services. Finally I want to say thank you for this video, it gave me good inspiration for a new cloud setup 👍
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for the additional info
@bepstein111
@bepstein111 3 роки тому
I use syncthing instead of nextcloud, its got clients for just about every platform out there.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for the tip!
@flyingmonkey3822
@flyingmonkey3822 3 роки тому
Is there a list of alternate time zones for compose-override? Is it the standard wpa supplicant ones?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not know. Please ask the developers on discord.
How to Homelab: 3 awesome apps to run on your Raspberry Pi
19:31
Learn Linux TV
Переглядів 40 тис.
Rutgers University Confirmed: Meshtastic and LoRa are dangerous
13:27
Andreas Spiess
Переглядів 716 тис.
когда одна дома // EVA mash
00:51
EVA mash
Переглядів 4,5 млн
Сын Расстроился Из-за Новой Стрижки Папы 😂
00:21
Глеб Рандалайнен
Переглядів 1,9 млн
I PUT MY ARMOR ON (Creeper) (PG Version)
00:19
Sam Green
Переглядів 4,9 млн
DON'T Use Raspberry Pis for Servers! (Use THIS)
16:23
Hardware Haven
Переглядів 947 тис.
Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Переглядів 190 тис.
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 146 тис.
Pi-Hosted : Reviewing Stats on 25+ containers on my Raspberry Pi
13:05
Novaspirit Tech
Переглядів 24 тис.
Set Up Your Own VPN at Home With Raspberry Pi! (noob-friendly)
18:16
Wolfgang's Channel
Переглядів 653 тис.
Raspberry Pi 4 Home Automation Server with IOTStack
8:29
OneMarcFifty
Переглядів 23 тис.
HOME VPN USING WIREGUARD DOCKER ON A RASPBERRY PI 4 - EPISODE 28
30:39
addicted2tech
Переглядів 16 тис.
Pi-Hosted: Beginners Guide to WireGuard Docker and Installing Pi-OS 64bit
12:48
ownCloud Vs Nextcloud
12:23
Pro Tech Show
Переглядів 192 тис.
Build A Raspberry Pi NAS For $35 Using All New Parts
11:24
Michael Klements
Переглядів 628 тис.
СКОЛЬКО ЕЩЕ БУДЕТ АКТУАЛЕН IPHONE 13?
14:10
DimaViper Live
Переглядів 52 тис.
Я Создал Новый Айфон!
0:59
FLV
Переглядів 1,3 млн
I Was Never Meant to Have This Prototype CPU
21:53
Linus Tech Tips
Переглядів 990 тис.