The Ultimate Home File/Media Server Setup on Ubuntu Server

  Рет қаралды 62,289

Drew Howden Tech

Drew Howden Tech

Күн бұрын

Пікірлер: 230
@DrewHowdenTech
@DrewHowdenTech 2 ай бұрын
For anyone having trouble with the Email server portion of the tutorial, at the time I made this video, I didn't realize that most residential ISPs, and even hosting providers, block outbound port 25 (required for sending email). To get around this, you can specify an SMTP server for emails to go through (such as Gmail's), and authenticate using your login name and password on that server.
@bauchspeck8814
@bauchspeck8814 2 ай бұрын
Still giving updates 2 years later, wow
@KubaSzczygielski
@KubaSzczygielski 2 ай бұрын
Finally. No docker, no portainer, just quick and simple setup.
@dixienormus8097
@dixienormus8097 Жыл бұрын
I know it's an old video, but still, it's really good. You explain things very well and not so fast people can't keep up. Great job!
@FarmerRiddick
@FarmerRiddick Жыл бұрын
Agreed! Drew's video eliminated a lot of the "fog and mystic" surrounding a home server build for me. I won't have to sacrifice a goat to the gods of IT on the next full moon anymore! 8)
@isegofficial
@isegofficial 6 ай бұрын
@@FarmerRiddick 😂😂
@have2eat
@have2eat Жыл бұрын
I appreciate how you glance away from the camera. Very cool to see a tuber being humble and normal about a camera pointed at them.
@danchieev
@danchieev 5 ай бұрын
Big ups for the tutorial.The recent released next-cloud version 8 has finally solved the collabora issue. Works out of the box
@KTSpeedruns
@KTSpeedruns 6 ай бұрын
Nice to see a nextcloud tutorial that doesn't start with buying or having a domain name.
@clint3944
@clint3944 Жыл бұрын
Thank you so much, I have been struggling with Collabra integration for few days now!! . The work around you explained fixed it. Great video!!
@mikewest5802
@mikewest5802 2 ай бұрын
Thanks!
@DrewHowdenTech
@DrewHowdenTech 2 ай бұрын
Thank you very much for your support.
@berniesutton7277
@berniesutton7277 6 ай бұрын
Excellent video mate. This is going to be extremely helpful
@mikegriffin7556
@mikegriffin7556 4 ай бұрын
Hi Drew, KZbin recommended your channel and must say I like your style , presentation, and you sharing workarounds to resolve issues. I also appreciate you taking the time to answer content consumers questions. The idea of hosting a local file repository with added features got my attention, though more from a personal hobby and personal interest prospective. I am still working on this installation and configuration, resolving issues one at a time. One I am currently trying to resolve is, NextCloud will not allow me to use my own server, it forces me to use the Built-in CODE options, which appears to work wonder what might prevent me from selecting my own server. I do plan to use this for external file sharing and collaboration. I am sure you can explain why this is happening and have a solution. Many thanks.
@DrewHowdenTech
@DrewHowdenTech 4 ай бұрын
Does the option just not exist anymore, or is it giving you an error message?
@mikegriffin7556
@mikegriffin7556 4 ай бұрын
@@DrewHowdenTech After watching the video again I noticed the same thing happened to you after you click to save on "use you own server" option. Because you experienced the same issue, I will assume this is a non-issue. I did have to correct my server name because I changed it after creating the certificate and therefore would not connect to Nextcloud. Onward to completing the rest of the configuration. thx.
@aqdplayz
@aqdplayz 7 ай бұрын
Note that it has since been fixed for the collbora part where you edit the code is no longer needed
@faustoc4
@faustoc4 4 ай бұрын
Thanks you very much for your work Only you have the fix for the Collabora not loading documents. I could not find it anywhere else, not even the Next Cloud forum
@cloudexecutives4539
@cloudexecutives4539 11 ай бұрын
With this video, you just gave me a business idea
@viraajkonala8181
@viraajkonala8181 3 ай бұрын
hey drew, when setting up the email server, it keeps giving me a error, i have tried different ports and email providers, still dosent work, pls help
@DrewHowdenTech
@DrewHowdenTech 3 ай бұрын
What’s the error message?
@aer0449
@aer0449 2 жыл бұрын
Hey drew I just want to give you a little suggestion please try not to look away from camera .... That sometimes do hinder the connection .... Anyways awesome vid as always :D ..
@DrewHowdenTech
@DrewHowdenTech 2 жыл бұрын
Good suggestion. I try not to do that.
@labaland
@labaland Жыл бұрын
@@DrewHowdenTech be yourself! thx for guide :)
@taylorkellerman5906
@taylorkellerman5906 Жыл бұрын
Neh, I look away when I’m thinking on the spot as well. I wouldn’t worry about it. Great vid.
@IsaacMoore-un9hc
@IsaacMoore-un9hc 10 ай бұрын
Hey! What if I can't find that proxy.php file? I was given the error that richdocumentscode didn't exist? Also, I am unable to connect to the webserver using any other devices, how could I fix this? I am wanting to cloudshare documents. When I try to ssh from my laptop it says connection timed out, and the same thing happens when I try to use the app.
@DrewHowdenTech
@DrewHowdenTech 10 ай бұрын
Apparently Collabora is not installed by default on Nextcloud anymore. You will need to install it from the Nextcloud store. Also, if you are running this off a VM, you will need to set your VM’s network type to “bridged” under the “network” settings of your VM.
@MrLongFingDon
@MrLongFingDon 11 ай бұрын
Good tutorial! Sadly I can't get my Mail Services to work. I have an active dyndns, port forwarding and can access everything from external networks. I tried the non TLS way, it says "mail sent" but nothing ever was sent out i tried various mail providers...
@DrewHowdenTech
@DrewHowdenTech 11 ай бұрын
It’s possible that your ISP is blocking port 25.
@MrLongFingDon
@MrLongFingDon 11 ай бұрын
@@DrewHowdenTech you are right, was throwing my /var/log/mail.log content into chatgpt- gmail etc block such mails with unverified PTR Records. i threw in a disposable mail which i found online and the mail immediately showed up.
@MrLongFingDon
@MrLongFingDon 11 ай бұрын
@@DrewHowdenTech You are right, I threw my /var/log/mail.log content into ChatGPT and found out that most mail providers (also gmail) block mails with bad Reverse-DNS entries- to configure such I d need to upgrade my internet plan. Instead I threw in a random temp mail provider, and received the Mail immediately :)
@riiiidoo
@riiiidoo Жыл бұрын
12:33 In my configuration the directory does not exist How to handle it?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Are you using the Nextcloud snap?
@riiiidoo
@riiiidoo Жыл бұрын
@@DrewHowdenTech yes, The /richdocumentscode directory is not available
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Can you copy & paste the error message that your server is giving you when you run that command?
@SmartSyncIoT
@SmartSyncIoT Жыл бұрын
@@DrewHowdenTech I have the same error. It says "[ Directory '/var/snap/nextcloud/current/nextcloud/extra-apps/richdocumentscode' does not exist ]"
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Apparently Collabora is not installed by default on Nextcloud anymore. You will need to install it from the Nextcloud store.
@theperformancejoe
@theperformancejoe 9 ай бұрын
Thanks so much for this tutorial! I legit watched and attempted to go through 3 other tutorials before finding yours and got hung up every single time! Yours worked PERFECTLY!!!! I do have two questions though - I have Ubuntu Server on an old laptop - Ubuntu is running on a 128GB SSD, I have a 1tb HDD where I want all my files and folders to go(they are currently on an external drive) so my question is how do I point NextCloud to that storage on the server as it's main storage and then what's the best method to add my files and folders from the external? Connect to my desktop PC and just drag and drop over the network or best to do on the server machine? Second question is anything else that needs to be done security wise? I am satisfied just accessing it from my house - dont need to access it from anywhere - but any other security stuff we should do with this? And also - whats a good backup solution to use? Thank you again!
@DrewHowdenTech
@DrewHowdenTech 9 ай бұрын
Reference this GitHub page for instructions on how to change Nextcloud's data directory: github.com/nextcloud-snap/nextcloud-snap/wiki/Change-data-directory-to-use-another-disk-partition Just curious, and I don't mean to be rude, but why didn't you just install Ubuntu Server on the 1 TB HDD to begin with? I feel that installing the OS on a small drive, only to have to remap Nextcloud to a larger one, makes things needlessly complicated post-install. For tips on how to improve your server's security, reference this video that I made on the subject: kzbin.info/www/bejne/Z56wcqBml62hfbs As for a backup solution, since your server only have 1 TB of storage, I would simply copy your Nextcloud data directory to an external drive, and I'm sure 1 TB of cloud storage wouldn't be very expensive in this day and age, so also copy your data to that. Ideally, you want both an on-site, and an off-site backup.
@theperformancejoe
@theperformancejoe 9 ай бұрын
@@DrewHowdenTechThank you very much for your reply! I am pretty new to all this stuff - I had an old laptop not being used and decided well lets try a fun project so I can organize all of my files into one place since currently they are scattered all around many different hard drives and devices. I already had that old laptop setup with a 128GB SSD and a 1TD 5400 RPM drive already installed inside it, so I just figured the best way to make use of what I had was to do it that way. Luckily all I did was follow your tutorial and set it all up so I have yet to put any files onto it yet, maybe I will go back and re-do the entire installation on the 1TD RPM drive, but then what would I do with that extra 128GB SSD laying around inside it? Will checkout the video about improved security once I re-install this weekend on the 1TB drive so thank you again for that reference. Also - best way to put the files from my external drive onto the server once installation is complete? I have about 400GB of files on an external drive I will be transferring - can I plug the drive into ubuntu server and just move the files locally rather than over the network? Lastly - did you by chance make a video on copying the Nextcloud directory for backup? You have been super helpful and your videos were so good so again thank you very much for all your help!
@DrewHowdenTech
@DrewHowdenTech 9 ай бұрын
Uploading it to your server is probably the easiest way, but certainly not the most efficient. To make this go as fast as possible, connect both your PC and your server to your router via ethernet (at least temporarily). If you want to copy data directly (which would be the most efficient way), you will have to mount your drive with "sudo mount /dev/sdXY /mnt" (example: sudo mount /dev/sdb1 /mnt), then copy the data to your Nextcloud data directory with "sudo cp /mnt/* /var/snap/nextcloud/common/nextcloud/data". You can find out what "/dev/sdXY" is by running "lsblk" with your external drive plugged into your server. By the way, you can use this method to back up your server. Just do the "cp" command in reverse.
@obvGamer
@obvGamer 10 ай бұрын
The tutorial is a bit outdated so the part with collabora is broken. When i install it from the app store in nextcloud theres no settings for it and + i cant open any documents it just wants to download them when u click on them
@obvGamer
@obvGamer 10 ай бұрын
these things aside good tutorial
@DrewHowdenTech
@DrewHowdenTech 10 ай бұрын
You also need to install the built-in CODE server (also from the Nextcloud app store).
@joshualaw375
@joshualaw375 Жыл бұрын
Hey Drew, thanks a bunch for the easy-to-understand tutorial! Quick question though, if I wanted to configure my Nextcloud server with separate drives for the OS and my data, would that be possible? Or is it more trouble than it's worth? Just trying to keep my actual stored data off the OS drive if possible. Thanks man!
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Go into your Nextcloud configuration file, and change your data directory to the drive that you want to store your data on.
@joshualaw375
@joshualaw375 Жыл бұрын
@@DrewHowdenTech Perfect, thanks! You’re the man!
@maytronix7201
@maytronix7201 8 ай бұрын
Nice video man
@JumsandRobs
@JumsandRobs 4 ай бұрын
The ip address details you provided in the video didn't work for me
@DrewHowdenTech
@DrewHowdenTech 4 ай бұрын
Go to another device already connected to your network, and look at its IP configuration. The IP configuration shown in this video was just an example.
@JumsandRobs
@JumsandRobs 4 ай бұрын
@@DrewHowdenTech thanks
@TheStevenWhiting
@TheStevenWhiting 5 ай бұрын
Also interesting would be a file server AND print server with Ubuntu that will ONLY server Windows 10/11 machines?
@DrewHowdenTech
@DrewHowdenTech 5 ай бұрын
You can achieve this with Samba (though I’ve never tried the print server portion of it). Though, why would you only want it to be accessible from Windows machines?
@wraynephew6838
@wraynephew6838 3 ай бұрын
by if you do not enable the firewall, is the server open to access from the outside or closed by default. Like if sudo ufw enable is not entered will the server be accessible remotely from within the lan?
@DrewHowdenTech
@DrewHowdenTech 3 ай бұрын
If you do not enable the firewall, all ports will be open, and accessible to the LAN. As for access from the internet, for a port to be open to the outside world, you will need to configure port forwarding on your router.
@greenhoundgaming
@greenhoundgaming Жыл бұрын
Love the vid, couple o questions...strange I know, what is the advantages of doing it this way? Would I be able to mount a USB drive and access the contents? Would you suggest formatting the drive in ext4 over NTFS?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
You can get a Nextcloud app called “External storage support,” which will allow you to access external drives from Nextcloud. Yes, definitely use Ext4 for a Linux server (or some other Linux-native file system like Btrfs)! Don’t use NTFS! It’s dated, proprietary, and frankly, crappy. Any Linux-native file system will be vastly superior in every way (as far as speed, reliability, and efficiency).
@greenhoundgaming
@greenhoundgaming Жыл бұрын
@@DrewHowdenTech Thanks for the reply, I'll check more into it, I was trying just a Samba instance on CentOS Stream 9, I need the drive accessible on Windows, Linux, and Android.
@no.-.name...
@no.-.name... Жыл бұрын
Hi. Please I can't find the proxy.php file. Please help
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Apparently Collabora is not installed by default on Nextcloud anymore. You will need to install it from the Nextcloud store.
@songmichkel3463
@songmichkel3463 10 ай бұрын
your background cool
@lwa.dev74
@lwa.dev74 13 күн бұрын
Thanks for this guide subs btw.. question after following all the steps is it possible to add a domain name of my website? Would i nèed edit on snap nextcloud directory or nextcloud admin settings via web ui or potentially both? Thanks
@DrewHowdenTech
@DrewHowdenTech 12 күн бұрын
All you have to do is forward ports 80 and 443 to your server in your router settings, then point your domain name to your public IP address.
@lwa.dev74
@lwa.dev74 12 күн бұрын
@ thanks for your reply drew I will look into that… merry Xmas 🎄🥳
@lwa.dev74
@lwa.dev74 8 күн бұрын
hey drew, just wanted to ask.. how did you get email server (send test email) to work? i was using outlook but read in docs that it is not supported so, went with gmail but still cant get that to work as demonstrated in your video, I have setup gmail account in the mail section which is working as all email is syncing but just cant get Nextcloud to send me an email error msg: A problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log) any ideas? or what I may need to edit? many thanks 🙂
@DrewHowdenTech
@DrewHowdenTech 3 күн бұрын
At the time I made this video, I didn't realize that most residential ISPs, and VPS providers, block outbound port 25, which is needed for sending email.
@lookitspandatv
@lookitspandatv Жыл бұрын
12:39 mine just keeps saying this - [ Directory '/var/snap/nextcloud/current/nextcloud/extra-apps/richdocumentscode' does not exist ]
@lookitspandatv
@lookitspandatv Жыл бұрын
Nvm, fixed it. I had to go to the office app and download the built-in code server for it to show/work
@SmartSyncIoT
@SmartSyncIoT Жыл бұрын
@@lookitspandatv How? Pls guide me step by step.
@christhersensanon9746
@christhersensanon9746 6 ай бұрын
I keep getting this error every time i try to set up email server "A problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log)" im new to this and im going insane trying to figure this out. help
@DrewHowdenTech
@DrewHowdenTech 6 ай бұрын
Have you installed postfix with "sudo apt install postfix"? How are your email settings configured in Nextcloud? Have you set an email address on your Nextcloud account?
@raymonddelva1125
@raymonddelva1125 6 ай бұрын
Are the files you plan to share supposed to be on the Ubuntu VM or can they be in the Windows Host PC?
@DrewHowdenTech
@DrewHowdenTech 6 ай бұрын
The whole point of Nextcloud is that you have one system that you set up as a server, and you upload files to it from another device on your network (like your PC or your phone). Then you can access these files from any device on your network.
@vishnu3260
@vishnu3260 6 ай бұрын
"A problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log)"- i get this error message when i try setting up my email server any idea why? and since im instlling this in 2024 next cloud had already resolved the problem with opening the document so i don't need to do that too right? and im a noobie to cloud servers so it will be really helpful if anyone could guide me through
@DrewHowdenTech
@DrewHowdenTech 6 ай бұрын
Troubleshooting steps: Make sure you installed postfix with the "sudo apt install postfix command". Make sure encryption is set to "none" in your mail server settings on Nextcloud. Make sure you entered your email address in your profile on Nextcloud.
@ezvvcn
@ezvvcn 8 ай бұрын
do you know why it says port 22 connection timed out? I cant connect with my pc to the server because of this error
@DrewHowdenTech
@DrewHowdenTech 8 ай бұрын
Do you have the right IP address for your server? If you enabled UFW, did you open port 22? Are your server and your PC on the same network?
@makingachange8742
@makingachange8742 9 ай бұрын
My broski, good tutorial! Could we use another port instead of 25 if the port has been blocked by our ISP? If so, how can we do this? Kind regards from the Netherlands!
@DrewHowdenTech
@DrewHowdenTech 9 ай бұрын
Run "sudo nano /etc/postfix/master.cf", find the "smtp inet n - n - - smtpd" line, and replace "smtp" with your desired port number. Don't forget to restart postfix with "sudo systemctl restart postfix" afterward to apply your changes!
@vlogoont
@vlogoont 8 ай бұрын
love the mate but apparently I can't connect to server when login with IP address in web its says there no domain like that
@DrewHowdenTech
@DrewHowdenTech 8 ай бұрын
Are you sure you have the right IP address? Is your PC and your server on the same network? If you enabled UFW, did you open ports 80 and 443?
@vlogoont
@vlogoont 8 ай бұрын
@@DrewHowdenTech I am so sorry for not responding but I did figured it out I didn't command the right for the firewall rule and some sort of port 80 issue that I had to fix.
@vlogoont
@vlogoont 8 ай бұрын
@@DrewHowdenTech when I watched the video again and re entered all the commands correctly I finally set it correctly.
@iamtharunraj
@iamtharunraj 8 ай бұрын
Hi Drew, thank you for this tutorial. I have successfully set up my server and uploaded a few files. But, I shut down my Ubuntu server VM and then when I log into my VM, I'm unable to see my IPv4 address? I don't know what to do here and I'm unable to use my cloud server. Can you help me with this issue? When I run ssh username@address , it says "no route to host". Did I make a mistake? Please let me know because I'm doing this for the first time.
@DrewHowdenTech
@DrewHowdenTech 8 ай бұрын
Run "ip a".
@ColinAverill
@ColinAverill Жыл бұрын
At 16:26, I have an additional warning: "The PHP module "imagick" is not enabled although the theming app is. For favicon generation to work correctly, you need to install and enable this module." I've been searching for the last hour or two (time flies when using linux) trying different things. I came across sites that said to use Apache2, MySQL, etc. I don't know what any of this is. Sorry. I'm pretty new. Do you know what this warning is or if it's worth working through?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
If you don't notice any ill effects, I would honestly say to just leave it alone. The thing that complicates this is that we are using the Nextcloud snap, which basically has everything configured for us. Problem is, most of the help guides and forums for Nextcloud aren't written with this in mind.
@thenoplanchannel
@thenoplanchannel Жыл бұрын
HOW has that document server bug not been fixed?! Thanks for the help!
@prcguy9953
@prcguy9953 Жыл бұрын
Ok Drew, here’s where I stand after 5 re-installs, +\- 11 hours of trying to get it to work & having memorized your video by now 1) Nextcloud office: “You have not configured the allow-list for WOPI requests. users may download restricted files via WOPI requests” Any thoughts? 2) Nextcloud office: once ‘use your own server’ & click save are selected “Could not establish connection to the Collabora Online server.” The default link in the box is ***my IP****/extra-apps/richdocumentscode/proxy.php?req= Also did you say to CHECK or UNCHECK the “disable certificates” box? 3)postfix installed but email would not send. current version of nextcloud requires ‘server address’ & port # plus authentication defaults to login (instead of none).
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
1. If you can view and edit your documents just fine, I wouldn’t worry about it. 2. CHECK the “disable certificates” box. 3. Try “localhost” on port 22. Also, uncheck “authentication required.”
@kychemclass5850
@kychemclass5850 2 жыл бұрын
Aaagh. Missed the live stream :( Thanks for posting the recording though.
@naz2590
@naz2590 Жыл бұрын
In 8:35 what's the's program?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
It’s Terminal.
@nionil
@nionil Жыл бұрын
9:55 enable-https command not working
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
What's the error message that you're getting?
@nionil
@nionil Жыл бұрын
@@DrewHowdenTech nextcloud.enable-https: command not found.
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Are you using the Nextcloud snap? Are you running the command with sudo?
@nionil
@nionil Жыл бұрын
@@DrewHowdenTech I am running command with sudo
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
How did you install Nextcloud?
@kelopyy
@kelopyy Жыл бұрын
I just get connectiln timed out when connecting to the ssh
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Are you typing in the right username/IP address combo? If you have enabled UFW, have you allowed port 22 in your firewall rules?
@mr.pigeon0
@mr.pigeon0 4 ай бұрын
the mail server thingy doesnt work for me D:
@Yongkits
@Yongkits 4 ай бұрын
Same. Did you figure it out?
@DrewHowdenTech
@DrewHowdenTech 4 ай бұрын
Troubleshooting steps: Make sure you installed postfix with the "sudo apt install postfix command". Make sure encryption is set to "none" in your mail server settings on Nextcloud. Make sure you entered your email address in your profile on Nextcloud.
@LordOfWizardurl
@LordOfWizardurl 2 жыл бұрын
Good stuff
@DrewHowdenTech
@DrewHowdenTech 2 жыл бұрын
Glad you liked it.
@ColinAverill
@ColinAverill Жыл бұрын
The email setup did not work for me at all. I tried two different email addresses for myself but neither came through. My server is literally just "media", so I went with "colin" "@media" and set up my correct email address in personal info, but nothing came through to either email I tested with.
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Does Nextcloud give you a message highlighted in green that says "email sent" when you try to send a test email?
@ColinAverill
@ColinAverill Жыл бұрын
@@DrewHowdenTech I believe it did. But upon uninstalling I apparently broke everything so now I'm unable to even get back into Nextcloud using the IP I had previously. I do have the server set to a static IP, so I'm not sure why that is. I will likely reinstall Ubuntu Server from scratch to have a fresh start in the next day or two. Thank you for the responses!
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
How did you uninstall Nextcloud?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Also, did you check your email’s junk/spam folder?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
I just remembered that during testing in preparation for this video, I found that some email services filter out emails from Nextcloud (they don't even go to the spam folder for some reason). I know Gmail can receive these emails just fine (though they do end up in the spam folder), but your mileage with other email services may vary. If you are unable to receive these emails, try using an email address with a different email service.
@panzerofthelake1623
@panzerofthelake1623 Жыл бұрын
Can you still set up a file/media server with ubuntu desktop and if yes are there any caviats?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Yes you can, but having a desktop environment running will unnecessarily take up resources on your server, which could be used for actually running your server.
@donkaur
@donkaur Жыл бұрын
bro I hosted the server on another pc and pc is on the same network did I able to access it or not?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
As long as your PC is on the same network as your server, you should be able to connect to it from your PC no problem. Port forwarding is only required when you need your server to be accessible from the internet (OUTSIDE your network).
@donkaur
@donkaur Жыл бұрын
HI bro I have a question I can't connect to the server through ssh. can you help?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
What command are you typing in? Is OpenSSH installed and running on your server? If you have enabled a firewall on your server, is port 22 allowed through the firewall?
@donkaur
@donkaur Жыл бұрын
@@DrewHowdenTech thanks for the reply. but the problem is solved, my server IP was changed that's why I can't connect.
@200bundi7
@200bundi7 Жыл бұрын
Hi drew, I have a problem with the email server. i cant set it up and its saying "A problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log)" this. is there a solution?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Did you install postfix?
@200bundi7
@200bundi7 Жыл бұрын
@@DrewHowdenTech yes i did, also i cant access nextcloud through another network. should i add something in the linux or router? but i was thinking if i need to add the 80,443 ports to the router then that is not possible for me due to its already is in used by other device.
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Yes, you will need to forward ports 80 and 443 to your Linux server.
@200bundi7
@200bundi7 Жыл бұрын
@@DrewHowdenTech so i did that the way u showed in the video but its still not working outside of my network also ty for helps mate
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Check the WAN IP address of your router, and compare it with what shows up on whatismyipaddress.com. Are they the same?
@donkaur
@donkaur Жыл бұрын
Bro, I can't find the group folders app and also it's not searching
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Did you install it from the Nextcloud app centre?
@donkaur
@donkaur Жыл бұрын
@@DrewHowdenTech I searched it but I can't see the option
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Try looking under the "featured" section of the Nextcloud app centre.
@NicoSama
@NicoSama 10 ай бұрын
thank you so much
@loganaurora
@loganaurora Жыл бұрын
Hey great video I got everything set up except for email server for some reason it keeps telling me "A problem occured while sending the email. Please revise your settings.(Error. Email could not be sent. Check your mail server log)
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Did you install postfix?
@loganaurora
@loganaurora Жыл бұрын
@@DrewHowdenTech yes
@loganaurora
@loganaurora Жыл бұрын
@@DrewHowdenTech is it possible I need to uninstall it and reinstall?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
You can try that.
@__-ct9sx
@__-ct9sx Жыл бұрын
@@DrewHowdenTech I'm having the same problem. Tried reinstalling, and still get the same error message of "Jan 4 13:25:59 serveralexis postfix/postfix-script[248615]: starting the Postfix mail system Jan 4 13:25:59 serveralexis postfix/master[248617]: daemon started -- version 3.6.4, configuration /etc/postfix Jan 4 13:26:40 serveralexis postfix/smtpd[248787]: connect from localhost[127.0.0.1] Jan 4 13:26:40 serveralexis postfix/smtpd[248787]: lost connection after STARTTLS from localhost[127.0.0.1] Jan 4 13:26:40 serveralexis postfix/smtpd[248787]: disconnect from localhost[127.0.0.1] ehlo=1 starttls=1 commands=2" I now have a fresh install after reinstalling, and before that I tried to change certain settings in /etc/postfix/main.cf, which didn't change anything either. What could be the problem?
@donkaur
@donkaur Жыл бұрын
bro Did we log in as user and admin at the same time is it possible?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
The user that you create when you install Nextcloud will automatically be an admin.
@alancabrales7949
@alancabrales7949 2 жыл бұрын
Drew, got error about WOPI. What my mistake here?
@DrewHowdenTech
@DrewHowdenTech 2 жыл бұрын
At what point in the process are you getting this error?
@Yongkits
@Yongkits 5 ай бұрын
I have successfully installed the Nextcloud using Ubuntu, but my concern is that other devices connected to the same network can't access the link of the Nextcloud server. Does the legend reply? Kindly help
@DrewHowdenTech
@DrewHowdenTech 5 ай бұрын
If you’ve set this up in a virtual machine, you will need to change the network type to “bridged” in your virtual machine settings.
@Yongkits
@Yongkits 5 ай бұрын
@@DrewHowdenTech thank you so much, sir! What my concern right now is that if I try to click the copy link icon when sharing a folder, nothing happens. It can't be clicked. Any idea how to fix it?
@DrewHowdenTech
@DrewHowdenTech 5 ай бұрын
Try ‘sudo snap revert nextcloud’.
@Yongkits
@Yongkits 5 ай бұрын
@@DrewHowdenTech it says error: cannot revert "nextcloud": no revision to revert to. I created 2 servers from this step neither of which had the icon of "copy link" working.
@DrewHowdenTech
@DrewHowdenTech 5 ай бұрын
Try right clicking on the copy link icon, and copying the link that way.
@manojheartthrob
@manojheartthrob 11 ай бұрын
Finally the ultimate video on mext cloud installation. I just stucked on mail server setting. I didn't changed the server name during installation of postfix, and kept as it is. My server name has multiple hyphens (my-server-home-1) Now, when i set up smtp as you shown and put this server name on the email server, its showing error. (Erroe: email could not be sent. Check your mail server log). Is it because of the server name has multiple hyphen on it? If so, then how to change it from terminal? Can you plz guide me?
@DrewHowdenTech
@DrewHowdenTech 11 ай бұрын
Encryption has to be set to “none.”
@manojheartthrob
@manojheartthrob 11 ай бұрын
@@DrewHowdenTech yes, its already set to none. But still getting error
@DrewHowdenTech
@DrewHowdenTech 11 ай бұрын
What about authentication method? Also, did you put your email address in the “personal info” settings?
@manojheartthrob
@manojheartthrob 11 ай бұрын
@@DrewHowdenTech Yes, I did fill the email address and authentication tequired box kept unchecked. Basically i have followed exactly what you have shown the processes throughout the video. Its weird for me that everything worked, except the mail..
@DrewHowdenTech
@DrewHowdenTech 11 ай бұрын
It’s possible that your ISP is blocking the Mail server port (25). In that case, there’s nothing you can do about it.
@marcelojorge9741
@marcelojorge9741 10 ай бұрын
dude, you're my savior
@meprix366
@meprix366 10 ай бұрын
Hey ! The video is very good and usefull. But I have a problem, when I write : sudo nextcloud.enable-https self-signed, the Output is : sudo: nextcloud.enable-https: command not found. Did I made mistake before ? There is, maybe a solution ?
@meprix366
@meprix366 10 ай бұрын
I work on a Windows 10 computer with cmd
@DrewHowdenTech
@DrewHowdenTech 10 ай бұрын
How did you install Nextcloud?
@meprix366
@meprix366 10 ай бұрын
I install nextcloud in the installation of ubuntu
@DrewHowdenTech
@DrewHowdenTech 10 ай бұрын
Try rebooting your server. Just to confirm, you used the same method used in this video, correct?
@meprix366
@meprix366 10 ай бұрын
⁠@@DrewHowdenTechTo be sure I just try to re install Ubuntu and on the reboot when I have to wait for the nextcloud installation it's write : cloud-init[1427]: ERROR: End run command: exit(1) this output is just after the line cloud-init[1427]: Begin run command: snap install --channel=stable nextcloud
@veroxsity2336
@veroxsity2336 Жыл бұрын
Its not working for me. It wont go to my ip online
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
In order to access your server from outside your network, you need to set up port forwarding on your router. I made a video on how to do that here: kzbin.info/www/bejne/hpO5aZqGnsSFidE
@veroxsity2336
@veroxsity2336 Жыл бұрын
@Drew Howden Tech it's not that. It goes to the apache thing but doesn't come up with the installation screen
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
How did you install Nextcloud?
@veroxsity2336
@veroxsity2336 Жыл бұрын
@Drew Howden Tech by following your tutorial. I just gave up and installed owncloud, I'm not sure what's different. You should do a tutorial on it, I really like it and others might too
@rammsteinfen1
@rammsteinfen1 Жыл бұрын
How to set up next nextcloud on ubuntu server and use NAS server for storage?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
You don’t. You simply install Nextcloud directly on your NAS.
@ColinAverill
@ColinAverill Жыл бұрын
I also cannot do not have an "admin" option "Media" "groups" at 18:26. And at 20:03 I do not have a folder for "Media". I'm removing Nextcloud from my server. I'm hoping I'll get helpful responses from you or others here, but until either that happens or I find a different tutorial that's actually helpful for myself, I'm giving up on Nextcloud. I'm sure this has been helpful for others, and more than likely it's just some lack of knowledge on my end, or Nextcloud having changed something on their end. Nonetheless, thank you for the video.
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
You have to create a group folder called "Media" (or whatever name you want) under the Group folders extension. Same goes for the "media" group. Though the "admin" group should exist by default.
@ColinAverill
@ColinAverill Жыл бұрын
@@DrewHowdenTech I had done those things, but yes, while it ought to have auto populated the "admin" group, for some reason it wasn't allowing me to select it. It did, however, recognize me as admin. It simply wasn't an option in the drop down menu. I'll try again in the next few days.
@mushyhiccup7653
@mushyhiccup7653 Жыл бұрын
also have the missing admin option. you ever find a fix?
@abdullah61830
@abdullah61830 Жыл бұрын
great video. i want to know that how much storage will i get after doing all of this
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
However much storage you have on your server’s drive, minus the small amount of space taken up by Ubuntu Server and Nextcloud itself.
@vazzhh
@vazzhh 2 ай бұрын
no entendi ni mierda
@zUltra3D
@zUltra3D 10 ай бұрын
I like how when I added the phone region thing, my entire Nextcloud server broke lmao
@DrewHowdenTech
@DrewHowdenTech 10 ай бұрын
What did you type into your Nextcloud configuration file?
@guitaristmarko
@guitaristmarko Жыл бұрын
I had an existing install of Ubuntu and this process did not work for me. Everything I went to localhost the site wouldn't load. This tutorial worked for me: kzbin.info/www/bejne/iKCXh2eZq66caq8
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
So sorry to hear that. What point in the video did you get hung up on. Please let me know what exact command(s) is are causing trouble for you, and paste their outputs (if applicable).
@guitaristmarko
@guitaristmarko Жыл бұрын
To be completely honest, your video is great post installation. Anyone who watches this video will have an easy time of their system is a fresh install. Mine wasn’t, because I was messing with my server as web hosting server prior. And honestly it was probably more me than anything. I installed Apache and changed some configs prior to messing with NextCloud to show this hello world index.html file and for some reason when I tried installing nextcloud it wouldn’t update Apache and wouldn’t direct localhost to Nextcloud. I did a fresh install of Ubuntu like you did and it worked smoothly. So technically this video is valid. Me problem. Great vid. Hopefully no one else has the issue I did. I was just frustrated because I had to reinstall Ubuntu but not your fault.
@seldomReader
@seldomReader 7 ай бұрын
the way you say "ubuntu" sounds like an insult towards someone
@aqdplayz
@aqdplayz 7 ай бұрын
i have a prolem loading into the website after u do the sudo nextcloud.enable-https self but could it be because im on the version 24.04 LTS
@DrewHowdenTech
@DrewHowdenTech 7 ай бұрын
What error message is it giving you?
@aqdplayz
@aqdplayz 7 ай бұрын
@@DrewHowdenTech I put the ip address in and it doesn't load it says took too long to load
@aqdplayz
@aqdplayz 7 ай бұрын
@@DrewHowdenTech do you think i shoul downgrade
@aqdplayz
@aqdplayz 7 ай бұрын
@@DrewHowdenTech alos when i put the command: sudo ufw allow 80.443/tcp . it give error msg :bad port
@aqdplayz
@aqdplayz 7 ай бұрын
@@DrewHowdenTech also i do want to make the laptop a storge server
@ermazargw3908
@ermazargw3908 5 ай бұрын
im totally new to this, is port forwarding safe?
@DrewHowdenTech
@DrewHowdenTech 5 ай бұрын
As long as your server is kept up-to-date and you're not opening up what you don't need opened up, you should be fine. I would also set your server's local IP as reserved in your router settings, which will exclude it from being handed out by DHCP (to prevent ports from being forwarded to devices you don't intend).
@donotreplynospam2272
@donotreplynospam2272 Жыл бұрын
Thanks for the guide. I used an old laptop and found instructions to disable the lid suspend mode. After updates, I disabled cloud-init when it appeared to have a problem. Mail did not work but isn't needed (I hope). I have the DuckDNS client installed on a local Windows PC and was wondering if there is an easy way to install the client on the server. Thanks for your time. Edit: With a free no-ip hostname, editing config.php to modify the trusted_domains entry and opening ports 80, 443 on my router it appears that I can access Nextcloud without being on the network. I don't believe that this is a secure connection, though. Is there a way to make it more secure?
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Are you able to connect over HTTPS?
@donotreplynospam2272
@donotreplynospam2272 Жыл бұрын
Yes! I am using duckdns on a Windows pc to skip the no-ip $1.99 monthly fee. Https was available and tested by closing port 80 and logging on with the https duckdns address. Uing the Windows Nextcloud client my file transfer is about 1MB/sec through a second wifi router to the LAN (LAN router wifi doesn't work) I am looking into usb transfer of files to the server which would have been more convenient to start. Thanks again for the guide, you brought an old 2005 laptop back to life with an SSD.
@DrewHowdenTech
@DrewHowdenTech Жыл бұрын
Then your connection is secure. It’s just that your server’s certificate is not “trusted” by your browser. By the way, if you connect your server and both your routers over Ethernet, you might get much better speed. Especially considering that you are using a 2005 laptop. That laptop probably only has an 802.11g Wi-Fi card, which is an old and much slower Wi-Fi standard.
@dodgel5532
@dodgel5532 9 ай бұрын
TY so much
Incredible Budget Home Server! (Minecraft, Plex, Home Assistant, NAS)
16:38
Hardware Haven
Рет қаралды 2,1 МЛН
Turning Proxmox Into a Pretty Good NAS
18:31
apalrd's adventures
Рет қаралды 271 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 22 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
What's on my Home Server?? MUST HAVE Services 2023!
27:29
TechHut
Рет қаралды 896 М.
What's the BEST home server operating system?
17:35
Christian Lempa
Рет қаралды 720 М.
NAS vs. Home Server - What's the difference?
7:31
Wolfgang's Channel
Рет қаралды 453 М.
How to create your own cloud storage from old hard drives
16:09
build your own cloud
47:13
NetworkChuck
Рет қаралды 2,1 МЛН
Turn your OLD PC into your NEW HOME SERVER
20:23
Raid Owl
Рет қаралды 81 М.
How to Setup a Dedicated Home File Server Using Ubuntu Linux
22:19
Frank's Helpdesk
Рет қаралды 265 М.
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 18 МЛН