Worked perfectly, i forwarded ports on my router 80 443 to my local IP. Disabled ipv6 in grub (dont ask me why I did this). That last module you added was not needed as it was depreciated by the time I installed it. Plus the only tutorial that covered what you need to do from start to finish. Hats off to you good sir. Appreciate it.
Great tutorial. I used CasaOS and installed NextCloud as a container from their "app store" then access it from outside the network via Tailscale. It was a lot easier and within my scope plus no domain name needed. Without a guide like yours I would be completely lost trying to install NC as a standalone. I always learn something new from your videos, thanks!
I've been looking for a simple solution to this very issue - how on earth do I access Nextcloud from outside my home network. And since there are tons of different guides and whatnot, I quickly got confused. If you happen to know the answer to this question, I'd be very grateful. So, in the Nextcloud there's an app called Talk. What should I do to simply create a Talk room, set it so only guests with a link I give them can enter, then simply get the link to that room and send it to my friends? Thanks in advance!
@@vivinandrews4769 I recently moved away from CasaOS and NextCloud, it was overkill for my needs. Now I just run TrueNAS with smb shares, Immich for photos and Jellyfin for videos. I've not had any issues with file size limits personally.
I also want a video to how to update nextcloud and keep all the dependencies and php and all that updated and up to standard, would love a video on that. I am getting some update issues on my nextcloud which i followed by watching your 22.04 video and now I am starting again from scratch with this video.
This is great tutorial, Jay. If you don't mind, I would like to request another chapter. Can you make a tutorial on how to automate this process with Ansible and/or Terraform? So that you can build immutable artefact and deploy it to the cloud provider?
Excellent video. It's not so often that I can follow a tutorial to install a piece of software, and exactly replicate on my machine. NOTE: ignore from 33:21 to 33:45 ('chown' command missing, but fixed right after). NOTE2: at 41:20, the occ command will fail (it does not show in the video). But the fix is right after.
When we're on Ubuntu spree, refreshed MAAS setup would be awesome! Plus, would be great to show alternative to manual setup - using snap package. I use it personally at home and works great. It automatically sets up Nextcloud, MySQL, Redis etc.
@Learn Linux TV I love your content and have been learning a lot from you over the past year. Thank you for the content you make. I would love to see a video or instructional on how to upgrade my Server's PHP module to a newer supported version on an existing Nextcloud Server (As 8.1 is now deprecated), Bare Metal running Ubuntu 22.04. Again, Thank you for all you do for this community.
Docker is a great technology of our time. Literally, you can deploy Nextcloud in less than 5 minutes just with a simple Docker Compose file or command.
Nice tutorial. But you can save a ton of time writing "sudo snap install nextcloud" to the Ubuntu server terminal and you have basically the same in a few minutes. And not only that, you probably don't need to solve dependencies after some time, just set it and forget it...
Great guide! I installed mine on Debian Sid. FYI: The link to the commands and configuration is broken. Anyone else using Nextcloud on Debian Sid? Share your tips!
An excellent tutorial, as usual! I rarely find tutorials on YT as detailed and well explained. Curious what you recommend for background jobs. I changed the owner of config.php to root like you did, but learned that the cron jobs must be executed by the same user that owns config.php. Is it safe to run cron.php as root if you need cron jobs for a larger instance, or is it better to keep config.php owned by www-data in that case? Thanks for everything!!
Thankyou so much for your content, and as everybody is saying nice thumbnail, just to add it would be great if you can show how to riddle out of the cronjob error, is something that has keep me away of my nextcloud installation.
I’d love to use Nextcloud but every time I try to use this software it’s always a mess. It’s too difficult to install and very difficult to maintain for a home user. Not to talk about keeping it updated. And if something stop working there is no way to fix it unless you are a NASA software engineer
@@maginos1310 I spun up one container once to test it…. First I did not understand how to map to my NAS for the storage part and second after some time and some upgrades it just broke up and never started again and I could not fix it… I can’t put all of my data on that kind of risk. I’m not saying Nextcloud is a bad product… it’s just me….its too much above my knowledge….
Im my opinion it is a learning curve. Most important is (if you keep relevant data on NC) to have a proper backup from the beginning. Then you can try to repair things and use the backup in case it goes sideways. …but I have to admit, it is a pain in the butt sometimes, when things do not work after an update …and this just happens too often.
@@leito1996it’s not dead simple when you have to do the inevitable OS upgrade or reinstall and try to figure out how to get NC snap to recognize your external (non-OS drive) data storage. There is very little help resources available to troubleshoot this scenario.
Thanks for the video. I actually am learning a lot by following along with this. Learning the long way is the best way. I found the blog post but I think the link may need to be fixed fyi
Great guide, Thank you. However in the "occ db: add-missing-indices", I get the following: "This version of Nextcloud is not compatible with PHP>=8.2.You are currently running 8.2.24". Any idea how to fix this? Thanks in advance
Thanks for the video. It is great. I know some Linux but not enough to be sufficient. But I think I can follow steps listed in the blog. Having said that, I have also encountered some other TH-camr (e.g., Gary Explains) using snap as the package installation tool. And all he did, was just snapd nextcloud and the next thing he did, was pointing a web browser to the ip address of the machine and there NextCloud is already running and one can start configuring it or simply start using it. My guess is that all of those mariadb, apache2 etc. were installed as dependencies behind the scene. My question to you is, what are the downside of doing that, instead of like going through dozens of commands you demo'ed? Esp. in the context of setting this up in a home machine without exposing to the internet? Thanks a lot!
Hello, thank you fot the tutorial. is great, easy to follow. In my case i want to install this at home, i already have one installation with public ip at my office and so far all is good, even i have collabora running for about 3 years, nissues at all. But in home y have dynamic ip and i cannot get to open port 80 or 443 due to restrictions of my ISP, i have access to my modem but when trying to obtain the certbot i got an error due to connection because the 443 port is bloked for the ISP is there other way to have a secure certificate other than 80 port or 443, how can i configure certbot to find another port? Thank you for the time to read this.
What would be the advantages of using NextCloud or CasaOS over a NAS server. I have OMV running, and I am pretty satisfied with that. However, when i was looking for an open source NAS, I stumbled upon these Cloud systems and became rather curious.
Funny. I had just finished doing your previous version of this tutorial a couple of weeks ago. Now I am getting not having the latest everything anxiety /D
hey man, i used your tutorial for 22.04 but it worked on 24.04. only thing i cannot figure out is how to do mp4 preview generation. i enabled preview gen on app store and tried to use the ./occ command from github but it doesnt work. maybe you can make a video on that?
no it did not run, jay forgot "chown", so what he wanted was sudo chown root:www-data and then the filepath, I am impressed that he missed that! 🙂 edit: ah I see, a few seconds later he shows the correct command, must've been an edit misshap!
hey! in the final section when you add "'memcache.local' => '\\OC\\Memcache\\APCu'," line to config.php its causing my nextcloud to have an internal server error. Is this essential? or can I skip out on this to save myself a headache trying to troubleshoot?
Great late night sleep material. Next time you could try and create a 90 min video for native installation of something that's usually up & running with Docker in under 3 min.
My concern is why NextCloud has such a nasty after-installation warnings inside the administrator settings? Cannot the team do something about it? Everytime I see this, it makes me prefer rather other open source other than NextCloud.
I wanted to abandon google calendar and use on my android phones, macs, iphones and windows machines nextcloud calendar. But I was not able to find proper integration of such calendar into phones/computers. So for me nextcloud is not a remedy for all. But I was able to abandon google drive, onedrive etc.
@Lexsoufz Snap is a proprietary container, developed by Canonical and flatpak is open source. I don't believe Nextcloud is available as a flatpak, where as, it's an available option when you install Ubuntu server.
@@freckhard Lmao I never posed Dropbox as an alternative. Just that among the FOSS projects NextCloud is bloated with unnecessary features trying in to compete with Office 365/Gcloud suite. There a re 10 different foss projects which do all the stuff NextCloud does much better.
Error: error processing archive /var/cache/apt/archives/mariadb-server_1%3a10.11.7-2ubuntu2_amd64.deb (--unpack): new mariadb-server package pre-installation script subprocess returned error exit status 1 new mariadb-server package pre-installation script subprocess returned error exit status 1
I cannot thank you enough for this fantastic tutorial. I now have NextCloud running on my own hardware at home and it's sensational.
Worked perfectly, i forwarded ports on my router 80 443 to my local IP. Disabled ipv6 in grub (dont ask me why I did this). That last module you added was not needed as it was depreciated by the time I installed it. Plus the only tutorial that covered what you need to do from start to finish. Hats off to you good sir. Appreciate it.
Great tutorial. I used CasaOS and installed NextCloud as a container from their "app store" then access it from outside the network via Tailscale. It was a lot easier and within my scope plus no domain name needed. Without a guide like yours I would be completely lost trying to install NC as a standalone. I always learn something new from your videos, thanks!
I've been looking for a simple solution to this very issue - how on earth do I access Nextcloud from outside my home network. And since there are tons of different guides and whatnot, I quickly got confused.
If you happen to know the answer to this question, I'd be very grateful. So, in the Nextcloud there's an app called Talk. What should I do to simply create a Talk room, set it so only guests with a link I give them can enter, then simply get the link to that room and send it to my friends? Thanks in advance!
Hey @roadkill11000 i used the casaos method, but there is a hard limit to uploading a bigger file
Greater than 512 mb
@@vivinandrews4769 I recently moved away from CasaOS and NextCloud, it was overkill for my needs. Now I just run TrueNAS with smb shares, Immich for photos and Jellyfin for videos. I've not had any issues with file size limits personally.
I cannot seem to make NextCloud via casaOS to work :( really frustrated me..
I also want a video to how to update nextcloud and keep all the dependencies and php and all that updated and up to standard, would love a video on that.
I am getting some update issues on my nextcloud which i followed by watching your 22.04 video and now I am starting again from scratch with this video.
This is great tutorial, Jay. If you don't mind, I would like to request another chapter. Can you make a tutorial on how to automate this process with Ansible and/or Terraform? So that you can build immutable artefact and deploy it to the cloud provider?
I've used many of your tutorials to prepare for this installation, you are the master. Thank you.
Excellent video. It's not so often that I can follow a tutorial to install a piece of software, and exactly replicate on my machine. NOTE: ignore from 33:21 to 33:45 ('chown' command missing, but fixed right after). NOTE2: at 41:20, the occ command will fail (it does not show in the video). But the fix is right after.
I always use your tutorials when installing nextcloud! also always wondered why nextcloud comes installed with errors out of the box
why???
When we're on Ubuntu spree, refreshed MAAS setup would be awesome!
Plus, would be great to show alternative to manual setup - using snap package. I use it personally at home and works great. It automatically sets up Nextcloud, MySQL, Redis etc.
snap package works perfectly, until you try to change some basic stuff, like the data directory location. Then it's a complete nightmare...
@@RafaelSchaffer7 You mean $HOME/snap? You can symlink and hide it if necessary, isn't too bothering for me.
Great channel, bought merchandise too. Setup is manageable. It's keeping all the updates correctly, and backups and restoring that is the challenge
@Learn Linux TV
I love your content and have been learning a lot from you over the past year. Thank you for the content you make.
I would love to see a video or instructional on how to upgrade my Server's PHP module to a newer supported version on an existing Nextcloud Server (As 8.1 is now deprecated), Bare Metal running Ubuntu 22.04.
Again,
Thank you for all you do for this community.
Perfect timing! Setting up Nextcloud is my fun project for this weekend (after backing up my NAS). Let's gooooo😅
Docker is a great technology of our time. Literally, you can deploy Nextcloud in less than 5 minutes just with a simple Docker Compose file or command.
Hey, it would be great if you could do another tour of your office and show us what you use on a daily basis.
Nice tutorial. But you can save a ton of time writing "sudo snap install nextcloud" to the Ubuntu server terminal and you have basically the same in a few minutes. And not only that, you probably don't need to solve dependencies after some time, just set it and forget it...
Another tutorial about setting up nextcloud with cloudflared tunnel would be awesome sir
Great guide! I installed mine on Debian Sid. FYI: The link to the commands and configuration is broken. Anyone else using Nextcloud on Debian Sid? Share your tips!
Thank you for putting this together. Any plans to have a video that also includes nginx with nextcloud and large file support in the pipeline?
An excellent tutorial, as usual! I rarely find tutorials on YT as detailed and well explained.
Curious what you recommend for background jobs. I changed the owner of config.php to root like you did, but learned that the cron jobs must be executed by the same user that owns config.php. Is it safe to run cron.php as root if you need cron jobs for a larger instance, or is it better to keep config.php owned by www-data in that case? Thanks for everything!!
Thankyou so much for your content, and as everybody is saying nice thumbnail, just to add it would be great if you can show how to riddle out of the cronjob error, is something that has keep me away of my nextcloud installation.
I’d love to use Nextcloud but every time I try to use this software it’s always a mess. It’s too difficult to install and very difficult to maintain for a home user. Not to talk about keeping it updated. And if something stop working there is no way to fix it unless you are a NASA software engineer
Maybe you want to have a look at the All-in-One Docker, which is much easier to set up and maintain.
@@maginos1310 I spun up one container once to test it…. First I did not understand how to map to my NAS for the storage part and second after some time and some upgrades it just broke up and never started again and I could not fix it… I can’t put all of my data on that kind of risk. I’m not saying Nextcloud is a bad product… it’s just me….its too much above my knowledge….
On Ubuntu nextcloud snap is dead simple. I prefer all in one for configurability though
Im my opinion it is a learning curve. Most important is (if you keep relevant data on NC) to have a proper backup from the beginning. Then you can try to repair things and use the backup in case it goes sideways.
…but I have to admit, it is a pain in the butt sometimes, when things do not work after an update …and this just happens too often.
@@leito1996it’s not dead simple when you have to do the inevitable OS upgrade or reinstall and try to figure out how to get NC snap to recognize your external (non-OS drive) data storage. There is very little help resources available to troubleshoot this scenario.
Thanks for the video. I actually am learning a lot by following along with this. Learning the long way is the best way. I found the blog post but I think the link may need to be fixed fyi
Excellent tutorial!!!, Thanks again for the most excellent training and helpful installation steps.
Thank you for your great work. I learned so much about Linux.
Debian 12 + RustDesk + Tailscale + Paperless-ngx + Immich + Jellyfin is enough for me ... 🙂
Thank you so much for this, nextcloud install through truenas scale is such a pain to setup dns/vpn...
Brilliant guide, thank you very much :) all up and running 😊
Great guide, Thank you. However in the "occ db: add-missing-indices", I get the following: "This version of Nextcloud is not compatible with PHP>=8.2.You are currently running 8.2.24". Any idea how to fix this?
Thanks in advance
Thanks for the video. It is great. I know some Linux but not enough to be sufficient. But I think I can follow steps listed in the blog.
Having said that, I have also encountered some other TH-camr (e.g., Gary Explains) using snap as the package installation tool. And all he did, was just snapd nextcloud and the next thing he did, was pointing a web browser to the ip address of the machine and there NextCloud is already running and one can start configuring it or simply start using it. My guess is that all of those mariadb, apache2 etc. were installed as dependencies behind the scene.
My question to you is, what are the downside of doing that, instead of like going through dozens of commands you demo'ed? Esp. in the context of setting this up in a home machine without exposing to the internet? Thanks a lot!
Snap installations have been known to not be as robust. But plenty of people use it, so each the own.
Thank youfor the Tutorial, worked like a charm!
Are there any major differences between running bare metal vs docker?
Probably, docker is very slop sometimes 😢
Hello, thank you fot the tutorial. is great, easy to follow.
In my case i want to install this at home, i already have one installation with public ip at my office and so far all is good, even i have collabora running for about 3 years, nissues at all. But in home y have dynamic ip and i cannot get to open port 80 or 443 due to restrictions of my ISP, i have access to my modem but when trying to obtain the certbot i got an error due to connection because the 443 port is bloked for the ISP is there other way to have a secure certificate other than 80 port or 443, how can i configure certbot to find another port?
Thank you for the time to read this.
Maybe try using a different port for your web traffic coming in.
Great video, nextcloud, ansible etc… you are awesome
what is the update process? Is it manual where we repeat these steps again after downloading the newer version?
Nice tutorial. Why not using nginx instead of apache?
What would be the advantages of using NextCloud or CasaOS over a NAS server. I have OMV running, and I am pretty satisfied with that. However, when i was looking for an open source NAS, I stumbled upon these Cloud systems and became rather curious.
This tutorial is amazing ! Thanks !
Having a hard time finding any info on getting Nextcloud client setup on 24.04 LTS....any info you can share on that would be greatly appreciated
Came for epic thumbnail. Stayed for great tutorial.
Amazing tutorial, works great. Thank you
Hello,
Could you please make a system installation video integrated with cloudflare zero tunnel on Ubuntu for a machine in our home?
thanks a lot, great job , great tutorial.never found better in the internet !!
Funny. I had just finished doing your previous version of this tutorial a couple of weeks ago. Now I am getting not having the latest everything anxiety /D
what is any benefit for renaming the nextcloud folder
can you show how to protect your server using UFW, and still allow user access?
The TinyURL link to the associated docs is broken (404)
hey man, i used your tutorial for 22.04 but it worked on 24.04. only thing i cannot figure out is how to do mp4 preview generation. i enabled preview gen on app store and tried to use the ./occ command from github but it doesnt work. maybe you can make a video on that?
at the end did you undo the:
1. occ executable
2. unmod the apcu.ini file
Does it only work on Ubuntu server? Or can I also use it on desktop Ubuntu
The blog link has a few emojis attached. Remove those and you can access.😀
33:43 did that command even run? I think you got an error
no it did not run, jay forgot "chown", so what he wanted was
sudo chown root:www-data and then the filepath, I am impressed that he missed that! 🙂
edit: ah I see, a few seconds later he shows the correct command, must've been an edit misshap!
Appears I'm blocked from accessing the blog posts for the tutorials? Webguard 503
I haven't watched it, but can someone tell me if there is step of port forwarding? does not seem to be in chapters
hey! in the final section when you add "'memcache.local' => '\\OC\\Memcache\\APCu'," line to config.php its causing my nextcloud to have an internal server error. Is this essential? or can I skip out on this to save myself a headache trying to troubleshoot?
UPDATE: This error was caused because I'd neglected to install the php-apcu package, silly mistake🤪
why not use docker for nextcloud
Can some one help me?
I don’t have that -le-ssl file in Apache
@15:41 - does next cloud also works with nginx webserver?
I use it with NPM.
Yes, Nextcloud does work with Nginx, but it isn't officially supported.
Thanks, Jay Well Done
My server went down after a power outage. What command do I use to start nextcloud again after login?
Great late night sleep material.
Next time you could try and create a 90 min video for native installation of something that's usually up & running with Docker in under 3 min.
Shoud we disable root user after creating new admin account?
Good intro!
Do you know when I install ubuntu 24.04LTS why it has out of the box snad and snap store update error in the app center?
My concern is why NextCloud has such a nasty after-installation warnings inside the administrator settings?
Cannot the team do something about it?
Everytime I see this, it makes me prefer rather other open source other than NextCloud.
They look to me to be relevant to more professional level, multi-user installations rather than a home lab type install.
I wanted to abandon google calendar and use on my android phones, macs, iphones and windows machines nextcloud calendar. But I was not able to find proper integration of such calendar into phones/computers. So for me nextcloud is not a remedy for all.
But I was able to abandon google drive, onedrive etc.
will this work on debian 12
God thumbnail 🤣
link doesn't work
why not using the snap installation fo NC?
I’ve been using a snap installation of NC for years. Works wonderfully.
Hi, new to Linux, what is different between snaps and flatpacks ?
@Lexsoufz Snap is a proprietary container, developed by Canonical and flatpak is open source. I don't believe Nextcloud is available as a flatpak, where as, it's an available option when you install Ubuntu server.
the blog post does not work so i cant copy the commands.... :(
What if i don't have a domain and I do not want to expose nextcloud to the internet?
🤔🤔 why not just use snap packages ? I installed nextcloud last week using that
It’s better to do it manually, otherwise you won’t learn anything. Plus, this way you have full control over each and every component.
😂😂😂bro, you are doing yoga in sky 🤯🤣🤣🤣
Amazing 🎉
blog link is BROKEN
Whats 127.0.1.1?
That is your localhost address. It is "home" for your system.
Yea🎉
❤❤❤
chown php files as www-data is a no brainer, it's web security 101 negated 😞
Why on logo of video you have ooo -> Out Of Office ? xD #Joke
i do NOT have a fancy DOMAIN NAME
wtf am supposed to do about that
nah im paying for onedrive
I can understand going another direction. But why watch a Nextcloud video if that’s not what you’re into?
I swear people will make Thumbnail anything just to make it unique
NextCloud is slow and bloated with unnecessary functions.
I take that any day over your or my government sifting through my dropbox lol
@@freckhard Lmao I never posed Dropbox as an alternative.
Just that among the FOSS projects NextCloud is bloated with unnecessary features trying in to compete with Office 365/Gcloud suite.
There a re 10 different foss projects which do all the stuff NextCloud does much better.
@@ask_carbonsuch as?
Error: error processing archive /var/cache/apt/archives/mariadb-server_1%3a10.11.7-2ubuntu2_amd64.deb (--unpack):
new mariadb-server package pre-installation script subprocess returned error exit status 1
new mariadb-server package pre-installation script subprocess returned error exit status 1