How to Set Up Nextcloud on Ubuntu 24.04 LTS

Поділитися
Вставка
  • Опубліковано 19 жов 2024

КОМЕНТАРІ • 119

  • @xenobis81
    @xenobis81 4 місяці тому +6

    I cannot thank you enough for this fantastic tutorial. I now have NextCloud running on my own hardware at home and it's sensational.

  • @roadkill11000
    @roadkill11000 4 місяці тому +7

    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!

    • @minstrel.design
      @minstrel.design 4 місяці тому

      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
      @vivinandrews4769 Місяць тому +1

      Hey @roadkill11000 i used the casaos method, but there is a hard limit to uploading a bigger file
      Greater than 512 mb

    • @roadkill11000
      @roadkill11000 Місяць тому

      @@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.

  • @SpartanMainFrame
    @SpartanMainFrame Місяць тому +1

    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.

  • @jasonvanwyngaard4387
    @jasonvanwyngaard4387 3 місяці тому

    I've used many of your tutorials to prepare for this installation, you are the master. Thank you.

  • @weholmes5315
    @weholmes5315 4 місяці тому +2

    Perfect timing! Setting up Nextcloud is my fun project for this weekend (after backing up my NAS). Let's gooooo😅

  • @spcenc1102
    @spcenc1102 4 місяці тому

    Great channel, bought merchandise too. Setup is manageable. It's keeping all the updates correctly, and backups and restoring that is the challenge

  • @jordangosling947
    @jordangosling947 Місяць тому

    @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.

  • @replicant9611
    @replicant9611 4 місяці тому +2

    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?

  • @bruno-zl9qn
    @bruno-zl9qn 4 місяці тому +1

    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.

  • @mattiaippolito1625
    @mattiaippolito1625 4 місяці тому +27

    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
      @maginos1310 4 місяці тому +3

      Maybe you want to have a look at the All-in-One Docker, which is much easier to set up and maintain.

    • @mattiaippolito1625
      @mattiaippolito1625 4 місяці тому

      @@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….

    • @leito1996
      @leito1996 3 місяці тому +1

      On Ubuntu nextcloud snap is dead simple. I prefer all in one for configurability though

    • @conniemarcus3389
      @conniemarcus3389 2 місяці тому +1

      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.

    • @kevin_A613
      @kevin_A613 21 день тому

      @@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.

  • @Kanalabonnierer
    @Kanalabonnierer 3 місяці тому +1

    Thank you for your great work. I learned so much about Linux.

  • @orodimusprime
    @orodimusprime 4 місяці тому

    I always use your tutorials when installing nextcloud! also always wondered why nextcloud comes installed with errors out of the box

  • @d3stinYwOw
    @d3stinYwOw 4 місяці тому

    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.

    • @RafaelSchaffer7
      @RafaelSchaffer7 4 місяці тому

      snap package works perfectly, until you try to change some basic stuff, like the data directory location. Then it's a complete nightmare...

    • @d3stinYwOw
      @d3stinYwOw 4 місяці тому

      @@RafaelSchaffer7 You mean $HOME/snap? You can symlink and hide it if necessary, isn't too bothering for me.

  • @makr638
    @makr638 14 днів тому

    Thank youfor the Tutorial, worked like a charm!

  • @milosgajic23
    @milosgajic23 15 днів тому

    Great video, nextcloud, ansible etc… you are awesome

  • @traskblues
    @traskblues 18 днів тому

    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

  • @whatwhat-777
    @whatwhat-777 18 днів тому

    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.

  • @brendanrouse
    @brendanrouse Місяць тому

    Brilliant guide, thank you very much :) all up and running 😊

  • @mahmoudchairi3776
    @mahmoudchairi3776 3 місяці тому +1

    This tutorial is amazing ! Thanks !

  • @jhPampoo
    @jhPampoo 2 місяці тому +1

    Another tutorial about setting up nextcloud with cloudflared tunnel would be awesome sir

  • @anurag-vishwakarma
    @anurag-vishwakarma 24 дні тому

    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.

  • @sndhu
    @sndhu 26 днів тому

    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!

  • @DiegoGZorrilla
    @DiegoGZorrilla 3 місяці тому

    Amazing tutorial, works great. Thank you

  • @goodday-fo7mf
    @goodday-fo7mf 4 місяці тому +1

    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...

  • @davidbotescu2815
    @davidbotescu2815 4 місяці тому

    Hey, it would be great if you could do another tour of your office and show us what you use on a daily basis.

  • @TagliatelleGrande
    @TagliatelleGrande 4 місяці тому

    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!!

  • @chad2304
    @chad2304 2 місяці тому

    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

  • @JPrez-io6qj
    @JPrez-io6qj 2 місяці тому

    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?

  • @lambscaped
    @lambscaped 4 місяці тому

    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.

  • @thomas8954
    @thomas8954 2 місяці тому

    thanks a lot, great job , great tutorial.never found better in the internet !!

  • @KenKaniff-m3m
    @KenKaniff-m3m Місяць тому

    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

  • @NandorSolymosi
    @NandorSolymosi 4 місяці тому +1

    Debian 12 + RustDesk + Tailscale + Paperless-ngx + Immich + Jellyfin is enough for me ... 🙂

  • @roberthopgood1894
    @roberthopgood1894 Місяць тому

    what is any benefit for renaming the nextcloud folder

  • @Ghostarrow_360
    @Ghostarrow_360 26 днів тому

    Does it only work on Ubuntu server? Or can I also use it on desktop Ubuntu

  • @ts.432
    @ts.432 4 місяці тому

    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.

  • @devsiwon
    @devsiwon 4 місяці тому

    Thank you so much for this, nextcloud install through truenas scale is such a pain to setup dns/vpn...

  • @SifatUllah-12
    @SifatUllah-12 4 місяці тому +3

    Came for epic thumbnail. Stayed for great tutorial.

  • @danielstellmon5330
    @danielstellmon5330 3 місяці тому +1

    Are there any major differences between running bare metal vs docker?

  • @amartinezforero
    @amartinezforero 3 місяці тому

    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.

    • @user-tc4xy6jl7o
      @user-tc4xy6jl7o 2 місяці тому

      Maybe try using a different port for your web traffic coming in.

  • @aktifkopyalamamerkezi3495
    @aktifkopyalamamerkezi3495 3 місяці тому

    Hello,
    Could you please make a system installation video integrated with cloudflare zero tunnel on Ubuntu for a machine in our home?

  • @mikebolton2388
    @mikebolton2388 2 місяці тому

    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?

  • @ozmosyd
    @ozmosyd 11 днів тому

    Appears I'm blocked from accessing the blog posts for the tutorials? Webguard 503

  • @LeeRaymondCM
    @LeeRaymondCM 3 місяці тому

    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 UA-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!

    • @user-tc4xy6jl7o
      @user-tc4xy6jl7o 2 місяці тому

      Snap installations have been known to not be as robust. But plenty of people use it, so each the own.

  • @jim7smith
    @jim7smith 4 місяці тому

    Thanks, Jay Well Done

  • @ParacordProProjects
    @ParacordProProjects 20 днів тому

    can this work on the desktop verison

  • @PandaBear-c6u
    @PandaBear-c6u Місяць тому

    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?

    • @PandaBear-c6u
      @PandaBear-c6u Місяць тому

      UPDATE: This error was caused because I'd neglected to install the php-apcu package, silly mistake🤪

  • @sg96951
    @sg96951 4 місяці тому

    Nice tutorial. Why not using nginx instead of apache?

  • @nik10gaming23
    @nik10gaming23 2 місяці тому

    I haven't watched it, but can someone tell me if there is step of port forwarding? does not seem to be in chapters

  • @prymus1005
    @prymus1005 4 місяці тому

    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?

  • @alexandru.florin92285
    @alexandru.florin92285 2 місяці тому +1

    Can some one help me?
    I don’t have that -le-ssl file in Apache

  • @logananderon9693
    @logananderon9693 3 місяці тому

    Good intro!

  • @foggoblin323
    @foggoblin323 4 місяці тому

    My server went down after a power outage. What command do I use to start nextcloud again after login?

  • @mlongval
    @mlongval 8 днів тому

    The TinyURL link to the associated docs is broken (404)

  • @fbifido2
    @fbifido2 4 місяці тому

    at the end did you undo the:
    1. occ executable
    2. unmod the apcu.ini file

  • @aberriz
    @aberriz 4 місяці тому

    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

  • @fbifido2
    @fbifido2 4 місяці тому

    can you show how to protect your server using UFW, and still allow user access?

  • @BerkayYetgin
    @BerkayYetgin 4 місяці тому

    Shoud we disable root user after creating new admin account?

  • @Atheawesome45
    @Atheawesome45 4 місяці тому +2

    33:43 did that command even run? I think you got an error

    • @freckhard
      @freckhard 4 місяці тому +1

      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!

  • @markGibby
    @markGibby 10 днів тому

    the blog post does not work so i cant copy the commands.... :(

  • @raul230285
    @raul230285 4 місяці тому

    Amazing 🎉

  • @zyghom
    @zyghom 4 місяці тому

    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.

  • @fbifido2
    @fbifido2 4 місяці тому

    @15:41 - does next cloud also works with nginx webserver?

    • @jasonmehlhoff8877
      @jasonmehlhoff8877 4 місяці тому +1

      I use it with NPM.

    • @Felix-ve9hs
      @Felix-ve9hs 4 місяці тому +2

      Yes, Nextcloud does work with Nginx, but it isn't officially supported.

  • @orcamay
    @orcamay 3 місяці тому

    will this work on debian 12

  • @shellcatt
    @shellcatt 4 місяці тому

    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.

  • @rahneshin752
    @rahneshin752 4 місяці тому +1

    ❤❤❤

  • @summercicada8141
    @summercicada8141 4 місяці тому +1

    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.

    • @dingokidneys
      @dingokidneys 4 місяці тому +1

      They look to me to be relevant to more professional level, multi-user installations rather than a home lab type install.

  • @Snatch_184
    @Snatch_184 4 місяці тому

    What if i don't have a domain and I do not want to expose nextcloud to the internet?

  • @robertopontone
    @robertopontone 4 місяці тому

    why not using the snap installation fo NC?

    • @GourmetSaint
      @GourmetSaint 4 місяці тому

      I’ve been using a snap installation of NC for years. Works wonderfully.

    • @Lexsoufz
      @Lexsoufz 4 місяці тому

      Hi, new to Linux, what is different between snaps and flatpacks ?

    • @GourmetSaint
      @GourmetSaint 4 місяці тому

      ​@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.

  • @tdevosodense
    @tdevosodense 4 місяці тому

    🤔🤔 why not just use snap packages ? I installed nextcloud last week using that

    • @LearnLinuxTV
      @LearnLinuxTV  4 місяці тому +2

      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.

  • @RazoBeckett.
    @RazoBeckett. 4 місяці тому +10

    God thumbnail 🤣

  • @MisbahulIhsan
    @MisbahulIhsan 4 місяці тому

    Yea🎉

  • @pablogonzalez2009
    @pablogonzalez2009 3 місяці тому

    link doesn't work

  • @nageswaraopatha5445
    @nageswaraopatha5445 3 місяці тому +2

    😂😂😂bro, you are doing yoga in sky 🤯🤣🤣🤣

  • @kkoppa
    @kkoppa 3 місяці тому

    Whats 127.0.1.1?

    • @littlepeon
      @littlepeon 3 місяці тому +1

      That is your localhost address. It is "home" for your system.

  • @roberthopgood1894
    @roberthopgood1894 Місяць тому

    blog link is BROKEN

  • @roberthopgood1894
    @roberthopgood1894 Місяць тому

    i do NOT have a fancy DOMAIN NAME
    wtf am supposed to do about that

  • @SiBex_ovh
    @SiBex_ovh 4 місяці тому +1

    Why on logo of video you have ooo -> Out Of Office ? xD #Joke

  • @AlexCernat
    @AlexCernat 4 місяці тому

    chown php files as www-data is a no brainer, it's web security 101 negated 😞

  • @ibrahsanz
    @ibrahsanz 4 місяці тому

    nah im paying for onedrive

    • @LearnLinuxTV
      @LearnLinuxTV  4 місяці тому +2

      I can understand going another direction. But why watch a Nextcloud video if that’s not what you’re into?

  • @diggajupadhyay
    @diggajupadhyay 4 місяці тому

    I swear people will make Thumbnail anything just to make it unique

  • @ask_carbon
    @ask_carbon 4 місяці тому +1

    NextCloud is slow and bloated with unnecessary functions.

    • @freckhard
      @freckhard 4 місяці тому +2

      I take that any day over your or my government sifting through my dropbox lol

    • @ask_carbon
      @ask_carbon 4 місяці тому

      ​@@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.

    • @UnwalledGarden
      @UnwalledGarden 4 місяці тому +1

      @@ask_carbonsuch as?

  • @lawman2112
    @lawman2112 4 місяці тому

    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