Nextcloud 21 with Collabora & HPB

Поделиться
HTML-код
  • Опубликовано: 25 авг 2024
  • Want a self-hosted alternative to cloud storage and document editing? Follow this tutorial to install Nextcloud 21, set up the Collabora Online office suite, and add the high-performance backend for less load on your server.
    (Editorial note: the "high-performance backend" I'm referring to in this video, also known as "client push" or "notify push," is for Nextcloud Files. The unrelated high-performance backend for Nextcloud Talk is not covered here.)
    Find all of the commands in text form here: nerdonthestree...
    See a behind-the-scenes outtake with additional explanation of my /etc/hosts and Apache configuration here: nerdonthestree...
    Need a server? Try one of these providers:
    linode.nots.co
    digitalocean.n...
    vultr.nots.co
    Need a domain name? Try hover.nots.co.
    ---
    Join the Nerd Club: nerdclub.nots.co
    Official website: nerdonthestree...
    Discord server: discord.nots.co
    Subreddit: / nerdonthestreet
    Facebook page: / nerdonthestreet
    Twitter feed: / nots_network
    E-Mail: jacob@nerdonthestreet.com
    Server management services: managedby.nots.co

Комментарии • 115

  • @NedderLander
    @NedderLander 3 года назад +4

    Jacob, came for the Serval review you did years ago, stayed for the install guide. Never change man, you're a gem.

  • @CollaboraOnline
    @CollaboraOnline 3 года назад +7

    Thank you very much! We have added your video to our how-to playlist!

  • @jaimerobinson1958
    @jaimerobinson1958 3 года назад

    I searched long and hard for a video that did nextcloud and collabora without using a docker image. Very straightforward and thorough.

  • @NathanielChristopher
    @NathanielChristopher 2 года назад +1

    Your Nextcloud installation videos have been an enormous help to me over the years. Thank you!

  • @djstraussp
    @djstraussp 3 года назад +2

    Dude, what a great explanation for setting this up. I'm gonna get rid of my actual nextcloud install and redo it the debian way. Keep going

  • @CakestheCheese
    @CakestheCheese 3 года назад +3

    Perfect timing Jacob! Been meaning to install nextcloud on my server for a while now

  • @RayDeMoss
    @RayDeMoss 3 года назад +1

    I learned a lot from this video. I've been a Nextcloud user for years and this answered a lot of questions that I could not find on the web. I just completed an installation but now plan to wipe it and follow your tutorial. Thank you so much.

  • @monterson4472
    @monterson4472 3 года назад +2

    That it absolutely brilliant tutorial. I wish my teachers had such ability to share knowledge. Thank you Jacob for your awesome job.

  • @giant80000
    @giant80000 Год назад

    This is great.
    Couple notes... for ubuntu 22 you need to open the firewall
    sudo ufw allow OpenSSH
    sudo ufw allow in "Apache Full"
    sudo ufw enable
    and if you're using arm based processors (common on oracle cloud) you're stuck with Collabora built in code - ARM64 (as far as I can tell).

  • @samilsaltug
    @samilsaltug 3 года назад

    Hi Jacob. You really tell the subjects very well. I followed very tightly. Thanks for your effort. and we are waiting for the sequel videos.

  • @ahmetcalskan8901
    @ahmetcalskan8901 2 года назад

    I have literally been trying to figure my environment up for the last 3 days (spent more than 40 hours). My setup is native linux packages with nginx (not apache) but oh my god I just watched your video and I managed to set up my environment properly finally. Thank you so much!!!!!

  • @raimarfernando3095
    @raimarfernando3095 3 года назад

    Thank you very much for teaching such an installation in such detail. I am very happy for your patience and willingness to help make this installation with such detail and dexterity. Greetings from Brazil to you! Very successful !!!

  • @nubiandavis2610
    @nubiandavis2610 2 года назад

    This was a great video! I am new to Nextcloud and currently running it on Truenas Scale as a Truecharts App. I do love how configurable it is doing it as an native app as you demonstrated. The Truecharts version is very restrictive with regard to configuration. I need to explore more on some of your other videos.

  • @Borsting89
    @Borsting89 3 года назад +1

    Great tutorial as always, thank you so much Jacob.

  • @psouzasa6876
    @psouzasa6876 3 года назад +2

    Parabéns Jacob!! Sou seu fã man! Sempre muito bem explicado e detalhado. Abraço do Brasil!!!

  • @papperme
    @papperme 3 года назад +1

    Wow. Thanks for your insight. Love your channel.

  • @khalidelgazzar
    @khalidelgazzar 2 года назад

    Great tutorial .. a lot of details included. Thanks!

  • @JulianInsua
    @JulianInsua 2 года назад

    Great detail. Exactly what I needed!

  • @brandonwisenburg8899
    @brandonwisenburg8899 9 месяцев назад +1

    Any chance of an updated tutorial? I tried following your older tutorials but they don't seem to be working with the newer versions.

  • @jancatalinnicoara485
    @jancatalinnicoara485 2 года назад

    It's a very good tutorial. Thank's a lot..:)

  • @SchaelTeer
    @SchaelTeer 3 года назад +1

    That's an amazing video! i finally got everything working and fast thanks to this video! Is there a chance to have a tutorial for High Performance Backend for Nextcloud Talk? That would be really awesome!

  • @Redeem195
    @Redeem195 2 года назад +1

    Has anybody else had any joy replicating this with Debian 11? I seem to get everything installed (except for using coolwsd instead of loolwsd now) but when i get to open a document it just never loads. worked awesome on Debian 10, but the upgrade broke it

  • @smokked6019
    @smokked6019 2 года назад +2

    I cannot install loolwsd, they replaced it with coolwsd :

  • @mr.N00003
    @mr.N00003 2 года назад +1

    can multiple nextcloud instances use one single high-performance backend?

  • @gusevening4910
    @gusevening4910 3 года назад

    Worked great! Printing doesn't work, but everything else seems to be working.

  • @bernardosei8060
    @bernardosei8060 2 года назад +1

    Hey Jacob. Is there half a chance you'll update this to reflect coolwsd and possibly a VM running behind HAproxy. :pray:

  • @nwdsc
    @nwdsc Год назад

    Great presentation. Would you be able to update this with the current version of Nextcloud? Thank you!

  • @waylon2002my
    @waylon2002my 3 года назад

    very good guideline thank you very much

  • @Oberlurch-lf8jj
    @Oberlurch-lf8jj 2 года назад

    Hey Jacob! Thank you for your great video :). Can you tell me if it's normal to get a warning at the overview tab in the browser telling me I would reach the nextcloud via a trusted proxy? I ge this message after enabling the HPB.

  • @lyspooner5093
    @lyspooner5093 3 года назад +1

    Wow, that is a lot of technical info at high speed. Would be great if you could just create an image for ordinary mortals like myself to just boot from and install, then this could be Nextcloud for the masses. Also wondering if it is possible, if not necessary, to do this under Kubernetes, so that then someone could run other server applications on the same machine, such as Jitsi Meet, Rocket Chat, etc.

    • @NerdOnTheStreet
      @NerdOnTheStreet  3 года назад +2

      You can run Jitsi Meet, RocketChat, and Nextcloud from the same machine without using Kubernetes. A word of advise, if you're going to take the position of not wanting to have to know how to set something up, I would avoid involving even more complicated technologies without a good reason for it. Know what you're doing and keep it simple!

  • @alex_negociador
    @alex_negociador 3 года назад +1

    There are exactly 20,000 subscribers while I am watching this. :O

    • @NerdOnTheStreet
      @NerdOnTheStreet  3 года назад +3

      It took ~8.5 years, but I was excited to reach that milestone!

    • @alex_negociador
      @alex_negociador 3 года назад

      @@NerdOnTheStreet Congrats, I just subscribed too! I hope to see great content in the following years :D

  • @nestamaknestamak2793
    @nestamaknestamak2793 2 года назад

    after finishing installation. some issues there Impossible to delete a user or create a new without using terminal . What I'm missing ?

  • @marthagrande6653
    @marthagrande6653 11 месяцев назад

    @Nerd on the Street: After a little digging this setup unfortunately is not working (collabora part) anymore.

  • @vitonorca9054
    @vitonorca9054 3 года назад

    Awesome, very detailed. Thank you.
    Have one question: isn't it will be easier to use qemu image to set up the Collabora CODE that they provide? And I wonder which will perform better?

  • @kokunaijin
    @kokunaijin 2 года назад

    Thanks for the video. I've just got a NextCloud Server running on Ubuntu at my small international school and looking to install the HPB before I start adding users for my teachers and students. I'm going to try using your tutorial but I wonder if anything has changed over the last 8 months?
    You explain very clearly and well and if you are looking for a new video idea, I would personally love a full NextCloud optimized install for a school serving media, documents, Talk and mail.
    Thanks again.

  • @cindrmon
    @cindrmon 3 года назад

    another thing.. i follow this exact steps for installing collabora CODE, and I can never get it to connect. im always stuck with the curl error 35 command when clicking save on nextcloud, and i can't figure out why..

  • @cirericc2317
    @cirericc2317 3 года назад

    Sir thank you for great tutorial, I successfully installed nc21 and HPB but after the HPB working i got a warning on my nextcloud overview regarding reverse proxie configuration thank you

  • @CakestheCheese
    @CakestheCheese 3 года назад

    Step 7 is written: "nano /etc/redis/redis.conf" instead of "nano /etc/loolwsd/loolwsd.xml" on your written guide!

    • @NerdOnTheStreet
      @NerdOnTheStreet  3 года назад +2

      Yikes, that's embarrassing! Thanks for pointing that out, it's been fixed. (My website's CMS is far from WYSIWYG, and translating my own notes into a public page is usually done after spending many hours on the video itself.)

  • @saifrana
    @saifrana 2 года назад

    Hi, great video! I'm having some issues. Collabora Office is not available, only Nextcloud Office is so I have been using that. Also loolwsd is no longer available and is now coolwsd. Can you advise as to what the solution might be?

  • @orichter
    @orichter 2 года назад

    I will attempt this on a VM this weekend before installing this on a physical machine. I am however wondering.. will this enable auto renewal of the SSL certificate or how do I deal with that once it has expired?

  • @masterwill2183
    @masterwill2183 2 года назад

    occ notify_push:setup "failed to run self-test with auto-generated config" How I can resolve it?

  • @johndeerrm
    @johndeerrm Год назад

    The most recent update (i got it on Feb 7 2023) broke my install, it replaced the coolwsd.xml with a "factory" copy so coolwsd would never come up because of a missing certificate file. I was able to resolve by following section 7 of the written instructions. When checking the status of coolwsd (sudo systemctl status coolwsd) it complained about not finding a .pem certificate file, that hinted that SSL was re-enabled during the update. It looks as if the structure of the XML changed a bit so copying a backup over the new xml was not an option.

    • @johndeerrm
      @johndeerrm Год назад

      And there is no longer an option to disable the welcome screen

  • @irdammauludi3389
    @irdammauludi3389 3 года назад

    So the HPB is the "redis worker" that sits between redis server and the database to monitoring and sync them.
    please correct me if i miss understood

  • @tmiles003
    @tmiles003 Год назад

    Is there a way to set nextcloud for a virtual data room? If so how?

  • @steenekenm
    @steenekenm 3 года назад +1

    I have followed you video thank you but I'm stuck with the following error when trying to open a Collabora document.
    "Unauthorized WOPI host. Please try again..."

    • @NerdOnTheStreet
      @NerdOnTheStreet  3 года назад +1

      If you copied the commands using the text guide on my website, try Part 2 Step 7 again-- there was a typo there before.
      Otherwise, you must've done something differently from how I showed to be seeing that error. You can check your logs in /var/log/apache2 and using "journalctl -u loolwsd --no-pager" to try and find more details about where the issue is, or you can double-check the Apache and loolwsd configuration.
      (The only time I've seen "Unauthorized WOPI host" has been while I was using a Docker installation of Collabora, as that setup requires specifying the allowed domains in the loolwsd configuration while setting up the Docker container. But for the native installation that I showed, localhost is allowed by default, and no other domains should need to be allowed manually. If you're using two different servers for Collabora and Nextcloud, then the domain name or IP address of your Nextcloud server may need to be added in your Collabora configuration, in the "Allow/deny WOPI storage" section.)

    • @tracerv0
      @tracerv0 3 года назад +1

      @@NerdOnTheStreet nextcloud\.myserver\.com
      is needed in /etc/loolwsd/loolwsd.xml under storage to fix this issue in my setup

    • @raimarfernando3095
      @raimarfernando3095 3 года назад

      @@tracerv0 Thank you for the tip! Saved me. I had already touched the machine so much to correct this problem that I even formatted it. But it was worth it. Now it's perfect!

    • @tracerv0
      @tracerv0 3 года назад

      @@raimarfernando3095 I followed the guide step by step, but there were small oddities like sudo wasn't installed. Only difference being, I was installing on bare metal from live media instead of prebuilt image from a provider.

    • @NerdOnTheStreet
      @NerdOnTheStreet  3 года назад

      Interesting. I know DigitalOcean uses the cloud kernel instead of the generic kernel, and it also sets the hostname by default while Linode doesn't. I also know that having sudo installed by default isn't specific to Linode, it's also present in DigitalOcean's image. It's been a while since I've installed Debian locally, and I'd imagine some of the steps during setup would also determine what default configuration you end up with (besides the obvious stuff like setting hostname, the default software selection would start you off with vastly different sets of packages depending on what you select.)
      For the WOPI configuration being required, in addition to the above, I'd also be curious what the rest of your network configuration looks like. There must be a difference somewhere causing loolwsd to not recognize requests coming from Apache as being local.

  • @leonpinto5693
    @leonpinto5693 3 года назад

    Good tutorial... And everything works as expected... For the reverse proxy part in the high performance backend configuration, it seems that it has to be a static IP address... Is there some possibility to allow handling of dynamic public IP addresses or possibility of entering a public FQDN?... A static IP address may not always be a given in small organizations,... any tips are welcome...

    • @leonpinto5693
      @leonpinto5693 3 года назад

      Update... An entry of 0.0.0.0/24 seems to work but not sure what is the fallback of such an entry... Anyone with any tips?

  • @OsamaMneina
    @OsamaMneina 3 года назад

    Bless you.

  • @jjfire1000
    @jjfire1000 2 года назад

    Awesome video Jacob! It really cleared up some things. I have one question; I am setting this up on a rpi 4, when I add the repository to the sources list it won't work? I used raspbian os lite. I thought there would be a repository for the rpi 4, but I can't find one? Do you have any suggestions?

    • @michaelurig3887
      @michaelurig3887 2 года назад

      I set up Nextcloud on a Pi 4. Can't use Collabora cause it's only for AMD processors from what I read on Nextcloud. I'm in the process of clearing off my 3tb WDMYCLOUD drive cause it won't be supported starting in April. Then I will replace the Linux Mint drive in my desktop with the 3tb drive and install Ubuntu then follow this process. I just hope it works like the video.

  • @BenBilesBB-box
    @BenBilesBB-box 3 года назад

    Hi, do you think it's possible for me to change the Collabora install from docker to local package version without installing everything from the beginning ? Also I'm using object storage as cheap expandable storage on linode. will your reddis & high performance backend work in that case? I know the object storage slows down the system but collabora + docker is horrible! Thanks for this great video. If it is possible to update from a docker install a video for that would be incredible ! I imagine there are quite a few of us in the same boat as me ?

  • @justinmilla1372
    @justinmilla1372 3 года назад

    I found the error. sudo was not installed. Since I installed sudo, everything is okay now

  • @ekremozdemir99
    @ekremozdemir99 2 года назад

    Lets say someone shared a file with a different user, or created an event and add some other users. are those users are supported to receive a notification? I have set up the notification part as in the video but users don't receive notifications.
    And do we have to keep Environment=LOG=notify_push=trace ? or is this only for us to see the logs in the therminal?

    •  2 года назад +1

      I rarely receive notifications on my nextcloud tbh(small home installation) I think notifications are more for apps like "talk" and shares, etc. You can use an app "announcements" to make test notification if you want to test your setup :), hope it helps.

  • @digitalone5524
    @digitalone5524 2 года назад

    did not find python-certbot-apache. what;s a workaround ?

  • @borisbrodnik6466
    @borisbrodnik6466 Год назад

    I'm concerned about the security of this setup. I'm new to all this so maybe I'm just missing something:
    The Collabora server needs to be publicly accessible. But then, couldn't I just get my Nextcloud server to use someone else's Collabora? When your were setting up Onlyoffice in another video, there was a point where you had a secret password, so that only Nextcloud can talk to it, but there was nothing like that with Collabora. How is this hole patched?

    • @NerdOnTheStreet
      @NerdOnTheStreet  Год назад +1

      Looking back through my materials for this video, I believe the default Collabora configuration restricts connections to the local network. You can see the relevant config lines in the "post_allow" block just above the SSL settings at 30:07.
      There's also a section of the config file referencing authorized WOPI hosts; that one is a domain-name-level configuration for who's allowed to embed Collabora. I believe some other commenters reported that with their configurations, setting that option was mandatory, which is why it's part of the written guide for this video (linked in the description).

  • @Adrian_G444
    @Adrian_G444 10 месяцев назад

    can i hire you to get the collabora deployment for our nextcloud?

  • @johns3195
    @johns3195 3 года назад

    I've followed your instructions, But i get "Failed to read document from the storage. please contact storage administrator. When i open documents in Collabora" Can this be a permission issue? or does this has something to do with etc/hosts?

  • @mattcoulter272
    @mattcoulter272 2 года назад +1

    Has anyone successfully duplicated this on NC 22.1.1? I'm trying it now. When I finish the Collabora setup, it connects to the server. But when I go to open or create a new Collabora file, it says 'Well isn't this embarrassing', then goes to a CODE loading icon that stays at 0%. Also if I return to the Settings, the Collabora Online option on the left menu is not renamed Collabora Online Developer Edition. I've tried the installation twice and everything works perfect up until this point.

    • @Digitalboy1977
      @Digitalboy1977 2 года назад +1

      Hi, same with me to... I start to wonder if there is something to do with NC 22.1.1. Or have you found a solution?😌

    • @johndeerrm
      @johndeerrm 2 года назад

      i got it running, are you using a dynamic dns and port forwarding to an internal IP?

    • @kokunaijin
      @kokunaijin 2 года назад

      @@johndeerrm How did you get it running?! I'm having the same issue and running a Int IP>>DDNS>>Ext IP>>Int IP.

    •  2 года назад +1

      Dont know if you figured it out but in my case I think my problem was with 000-default.conf I used, had some code for security that was messing the access for collablora server. I was also restarting apache when I should be restarting the collabora package instead after making changes. I installed it yesterday and the package "Loolwsd" seems to have changed to "coolwsd" , so every mention of it in the .conf files needs to be changed as well, you can look on the official docs guide for help,
      Hope it helps

    • @johndeerrm
      @johndeerrm 2 года назад +1

      @ good point, the recent collabora update from APT broke my functionality. i am going to try removing loolwsd and installing coolwsd and see if it fixes it.

  • @NikhilYadav-jz7zl
    @NikhilYadav-jz7zl 3 года назад

    Hello, please make video on how to access nextcloud outside network or from anywhere. If possible brother 👍🏻😊
    Thank you.

  • @4and20blackbirds2
    @4and20blackbirds2 2 года назад

    The section on Collabora installation is already out of date and your coverage of signing keys was extremely vague.

    • @NerdOnTheStreet
      @NerdOnTheStreet  2 года назад

      I'm sorry a year-old video is a year old. I should have requested Collabora never release any updates again so the video wouldn't get out of date. /s

  • @loukask.9111
    @loukask.9111 3 года назад

    Very nice video, however I went with docker for two reasons: easier updating and easier migration to a different machine, since I have everything in one directory. What would updating collabora, hpb and nextcloud look like with this installation? And how would I move all the data to another vps?

    • @NerdOnTheStreet
      @NerdOnTheStreet  3 года назад +4

      With the installation I showed, updating Collabora is achieved at the same time as updating the rest of the system with "apt update" and "apt upgrade" (or "apt full-upgrade" as I usually do.) This is one less step than updating a Docker container separately. (Nextcloud and notify_push updates are done through the Nextcloud UI; notify_push is updated as a Nextcloud app.)
      If I needed to move to another server, I would run through the installation commands on the new server, then just copy my data folder and export/import my MySQL database. (I've done this a few times, switching back and forth between Linode and DigitalOcean.) I'm not sure how using Docker for Collabora would make this any easier; since the Docker container is supposed to be immutable, there wouldn't be any benefit to moving that particular instance vs. setting the container up again from scratch. And you're still going to need to run some of the commands anyway to install Apache/MariaDB/etc on the new server, unless you've got some other cloning/migration script in place, in which case it would probably cover Collabora the same as any other package if you're using a native installation.
      (But you should of course do whatever makes the most sense for you; keeping it simple in this regard is just my preference.)

  • @mathematicalninja2756
    @mathematicalninja2756 3 года назад +1

    You sold me for Debian when you said Debian is Ubuntu without canonical BS

  • @Murali_4311
    @Murali_4311 3 года назад

    Thanks Jacob. Could you please make a video on docker mail server integration with Nextcloud reverse proxy. I want use rainloop webmail as external link in Nextcloud with Iframe embedded.

    • @Murali_4311
      @Murali_4311 3 года назад

      ruclips.net/video/ScarlmgD0dU/видео.html
      Can u do this video on your method pleasez. He’s not mentioned how to use the MySQL and reverse proxy

  • @LordOfWizardurl
    @LordOfWizardurl 3 года назад

    Do you use vim?

    • @NerdOnTheStreet
      @NerdOnTheStreet  3 года назад +1

      Only when nano's not installed. (Edit: okay, I've also used vim for searching files with extremely long lines, since it can be slightly faster at that.)

  • @guntherweygers4762
    @guntherweygers4762 2 года назад

    first step in:
    root@turris:~# hostnamectl set-hostname nextcloud
    -ash: hostnamectl: not found

    • @NerdOnTheStreet
      @NerdOnTheStreet  2 года назад

      You're definitely not following the tutorial, since Debian uses bash and not ash by default, and includes systemd with hostnamectl by default.

    • @guntherweygers4762
      @guntherweygers4762 2 года назад

      @@NerdOnTheStreet Mine isn't running on Debian. ^^ But is based upon OpenWRT with Turris OS

    • @NerdOnTheStreet
      @NerdOnTheStreet  2 года назад

      @@guntherweygers4762 You're trying to run server software on a router?
      Edit: Turris's website says at least one of their products allows running a "virtual server" with "any Linux distribution (even Ubuntu or Debian)." That's probably what you want to do, rather than running Nextcloud directly on Turris OS.

  • @marthagrande6653
    @marthagrande6653 11 месяцев назад

    Nextcloud update to 25 breaks collabora.

  • @marthagrande6653
    @marthagrande6653 11 месяцев назад

    collabora online disappeared

    • @marthagrande6653
      @marthagrande6653 11 месяцев назад

      Okay maybe they call it now Nextcloud office.

  • @justinmilla1372
    @justinmilla1372 3 года назад

    Hello, Nerd on the street
    Thanks for the great tutorial. I follow your instructions step by step but I reached step 13. After setting and
    sudo -u www-data php /var/www/nextcloud/occ maintenance:update:htaccess, I have this error (-bash: sudo: command not found). And it is the same -bash: sudo error
    I got here (sudo -u www-data php /var/www/nextcloud/occ notify_push:setup). I am running vps with debian 10. Please help
    Justin

    • @daviddgtnt
      @daviddgtnt 3 года назад

      Try 'apt install sudo' as root

  • @cookie1218
    @cookie1218 3 года назад

    Nextcloud 21 is still in beta, right?

    • @NerdOnTheStreet
      @NerdOnTheStreet  3 года назад +1

      Nope, it was released as stable towards the end of February: nextcloud.com/blog/nextcloud-hub-21-out-with-up-to-10x-better-performance-whiteboard-and-more-collaboration-features/

    • @cookie1218
      @cookie1218 3 года назад

      @@NerdOnTheStreet thank you, it's not out for Nextcloud Pi yet.

  • @jorgehumbertodossantos6612
    @jorgehumbertodossantos6612 3 года назад

    10

  • @yraajb7788
    @yraajb7788 3 года назад

    u mean High Performance Blockchain $HPB