How to Install Nextcloud Hub 21 on Ubuntu 20.04 - Apache, MySQL, and PHP Configuration

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

КОМЕНТАРІ • 223

  • @TechGuides
    @TechGuides  3 роки тому +7

    If you encounter issues with APCu or with the cronjob after updating to Nextcloud 21.0.3 then check out this video on how to setup Redis as memcache for Nextcloud: ua-cam.com/video/8JVhRtArovg/v-deo.html

    • @ShOookYx
      @ShOookYx 3 роки тому +1

      ob for apache2.service failed because the control process exited with error code.
      See "systemctl status apache2.service" and "journalctl -xe" for details.

    • @ShOookYx
      @ShOookYx 3 роки тому +1

      Job for apache2.service failed because the control process exited with error code.
      See "systemctl status apache2.service" and "journalctl -xe" for details.

    • @shaundcunha7987
      @shaundcunha7987 2 роки тому

      @@ShOookYx same

    • @shaundcunha7987
      @shaundcunha7987 2 роки тому

      please answer

  • @SimpleGunner
    @SimpleGunner 3 роки тому +8

    im saving this. if ever i get this deep into next cloud, this will be a life saver.

  • @vandenelsenkoen
    @vandenelsenkoen 3 роки тому +7

    There it is! Thanks for making this one man! Going to follow it one to one, like I did with the old tutorial, which worked out great back then! You are a server hero man!

    • @TechGuides
      @TechGuides  3 роки тому

      Haha thanks for your patience - this has been brewing for 9 months but now at least its compatible with the latest and greatest version of nextcoud ;)

    • @apexstreaming5659
      @apexstreaming5659 3 роки тому

      @@TechGuides my 000-default.conf file is empty what do I do about that ?. do I fill in all the default lines of code and then add in what you put into the .conf file ?.

  • @harmannagra7961
    @harmannagra7961 2 роки тому

    Thank u so much for explaining everything, I saw 100 videos but no one explained like u. Thanks again

  • @GreyWolf_2408
    @GreyWolf_2408 2 роки тому

    in germany your name is now "Ehrenmann"... thank you i had many struggle to install Nextcloud to Apache. Your solution worked now

  • @mathematicalninja2756
    @mathematicalninja2756 3 роки тому

    I love you. Docker Failed. Snap failed. Your method worked.

  • @tonyl2ca
    @tonyl2ca 2 роки тому

    This is the best tutorial in YT, easy to follow and real world setup step by step, right into the potins no waste time. If you don't agree, post the link here. haha

    • @TechGuides
      @TechGuides  2 роки тому

      Thank you so much for your nice feedback!!

  • @janot928
    @janot928 3 роки тому

    i struggled to set this up for so long... always got stuck on the admin setup with the truenas plugin. But now it's working. Thanks!

  • @jwells6904
    @jwells6904 3 роки тому +6

    I would appreciate a guide on setting up Ubuntu and nextcloud on an SSD and then have my data stored on a two Raid hard drives.

  • @mirafu3481
    @mirafu3481 3 роки тому +5

    Thank you for your great tutorial! What I am missing: how do I embed my own domain so that it works? What do I have to consider? (Port shares, certbot etc.) In addition: how do I set up that it redirects directly to https?

    • @seaofcuriosity
      @seaofcuriosity 3 роки тому +1

      Thats what is not found on youtube right now !

    • @snowysysadmin59
      @snowysysadmin59 2 роки тому

      So my best answer i can give you, is watch other tutorials on NGINX (such as how to reverse proxy proxmox) and incorporate that into next cloud, its all the same setup really.

    • @xssmoke7343
      @xssmoke7343 Рік тому

      Have you found a solution?

    • @mirafu3481
      @mirafu3481 Рік тому

      @XS Smoke i dont remember anymore. I used a new tutorial and it works.

  • @indigo2061
    @indigo2061 2 роки тому +3

    OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

  • @Project314
    @Project314 3 роки тому +3

    Thanks for making the tutorial. I've gone in circles doing a OMV-NCP installs on a PI 4, as well as OMV-NCP on a desktop computer. This Ubuntu installation seems the best of all of them. As for the tutorial, it covered just about everything that I had hoped that it would cover with the exception of some of the External Storage mapping. From a NC post, I found that apt-get install smbclient took care of the default SMB / CIFS problem, and I would guess that you'd want to address this issue considering the need to do samba sharing. It would be nice if you added some content or links to how you do Ubuntu drive networking or mounting in this Ubuntu/Nextcloud build. Also, it would be great if you added some of the DNS setup stuff. These settings are vexing and enigmatic to those of us that are not doing IT for a living. ;) Thanks, -Andrew

  • @markstanchin1692
    @markstanchin1692 2 роки тому

    Thanks for this I like that you explain each command and what it does and why ect. Thats huge!

  • @stephencrescenti912
    @stephencrescenti912 2 роки тому

    Absolutely amazing and concise tutorial! Great job and Thank you!

  • @snipegod5157
    @snipegod5157 5 місяців тому

    Thank you that really helpful but do you not need to change any database configurations aswell

  • @Arben40
    @Arben40 2 роки тому +1

    Thanks for the tutorial! I am getting a "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." warning, I've tried removing imagemagick-6-common and php-imagick and then installing imagemagick and php-imagick again, but that didn't change anything

    • @TechGuides
      @TechGuides  2 роки тому

      I get the same error message and unfortunately also haven't been able to fix it yet

  • @DBrianAshby
    @DBrianAshby 3 роки тому +1

    Really good job you really helped out a lot on those security fixes!

  • @arvindellangopan143
    @arvindellangopan143 3 роки тому

    Best video on Nextcloud . Thx man.

  • @Yofud
    @Yofud 3 роки тому +1

    I think you could've elaborated on the "setting up a static local IP address" section more. Is the server machine on my router/network the current ubuntu build we are configuring used in the video? Or is that something configured in another video? I set the DNS to static on my router and machines that I'm using for Cloudfare. But I don't see the GUI that you have on that section. Please advise.

    • @TechGuides
      @TechGuides  3 роки тому

      You need to set up the static IP address in your router's configuration. That will look differently with each router.

  • @goddrago
    @goddrago 3 роки тому

    ¡Gracias!

    • @TechGuides
      @TechGuides  3 роки тому

      Wow thank you so much :)

    • @goddrago
      @goddrago 3 роки тому

      @@TechGuides You earned it! This tutorial is clear and you solve all the rare issues you get from the beginning!

  • @danieldewindt3919
    @danieldewindt3919 2 роки тому

    Grate tutorial. Finaly a clear and complete explanation 😃
    Thanks

  • @SMLP
    @SMLP 3 роки тому +2

    The timing on this video could not have been better (was just about to get my head around nextcloud) 👍🏻

  • @iolsen94
    @iolsen94 3 роки тому

    Are you going to release a guide to add SSL, Reverse Proxy, and remote access?

  • @FernandoParmezaniOficial
    @FernandoParmezaniOficial 2 роки тому

    HI, how to confgure Https?

  • @amarnathjaiswal7907
    @amarnathjaiswal7907 3 роки тому

    Thank you for this tutorial. How to enable HTTPS?

  • @francoisdomergue6566
    @francoisdomergue6566 3 роки тому

    thanks for this awesome guide,
    Do you think this could be done via WSL ? Or a VM with linux is far better?

  • @ebiscaia
    @ebiscaia 3 роки тому

    Hi mate,
    Can you make a tutorial of how to upgrade Ubuntu preserving the Nextcloud installation? Or how to fix some php issues after moving from one version to another. After upgrading Ubuntu I started having some 503 problems and decided to reinstall Nextcloud but better if there is a safe way to do that or knowing how to correct the issues.
    Thanks

  • @SirHackaL0t.
    @SirHackaL0t. 3 роки тому +1

    Would you ever use docker (or something similar) to install nextcloud?

    • @TechGuides
      @TechGuides  3 роки тому +1

      Im not a big fan of docker especially for nextcloud but I will need to use it for an upcoming project

    • @SirHackaL0t.
      @SirHackaL0t. 3 роки тому

      @@TechGuides any particular reason for not liking docker?

  • @evankirschenmann4653
    @evankirschenmann4653 3 роки тому

    What are the specs of your home server? Do you have a video about it?
    Edit: I read the description. I'll check it out at some point! Super cool.

  • @kashyapshah7999
    @kashyapshah7999 2 роки тому

    Do we need to keep the server that will be my personal laptop to be on for 24 x 7?

  • @robesk938
    @robesk938 3 роки тому

    thanks for your tutorial. All were brilliant!
    Have you had a chance to think about backup and restoring the data of nextcloud in case of OS crashing?

    • @TechGuides
      @TechGuides  3 роки тому +1

      Appreciate it! I'm currently running a simple backup shell script that extracts the NC database to another drive and sends it via rsync to another server. Nothing fancy really ;)

    • @robesk938
      @robesk938 3 роки тому

      @@TechGuides MySQL doesn't contain all the information about nextcloud server. We have configurations. which also needed to backup. I think it could be more complicated than it looks like

    • @TechGuides
      @TechGuides  3 роки тому +1

      Yes I also backup the nextcloud folder (including all apps and configs) but without the data dir, naturally ;)

    • @robesk938
      @robesk938 3 роки тому

      @@TechGuides Please, do not stop sharing your experience.
      By the way, I'm Roman, too))

  • @henrobhd
    @henrobhd 3 роки тому +2

    idk what this is but I like it

    • @henrobhd
      @henrobhd 3 роки тому +1

      also please updated warzone and Cold War settings

    • @TechGuides
      @TechGuides  3 роки тому +1

      This is part of my home server tutorial series - I don't only do gaming videos ;) Yup I'm trying to get an updated cold war FPS guide out soon!

  • @yourpcmd
    @yourpcmd 3 роки тому

    Followed up until 15:55 then get this.
    An unhandled exception has been thrown:
    OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

  • @laszloperesztegi
    @laszloperesztegi 3 роки тому

    Thank you. Well done. Professional video.

  • @BrianThomas
    @BrianThomas 2 роки тому

    @Tech Guides I loved this video. Thank you very much for putting this together. I'd like to add some redundancy and self-healing. I'm thinking about installing Docker Swarm with Nextcloud. Do you think you'd be willing to do a video on that?

    • @TechGuides
      @TechGuides  2 роки тому +1

      Appreciate it! I haven't deployed nextcloud on docker so I don't have any experience to share I'm afraid

    • @BrianThomas
      @BrianThomas 2 роки тому

      @@TechGuides I think installing Nextcloud ☁️ in a docker container might be a little quicker because everything you need is in the container. You just need to run it and setup your volume

    • @TechGuides
      @TechGuides  2 роки тому

      Sure I'm familiar with Docker but haven't used it for Nextcloud

    • @BrianThomas
      @BrianThomas 2 роки тому

      @@TechGuides IMO I thought this was a very straightforward way of explaining what docker is, and we one should give it a go. ua-cam.com/video/wyhBKlcVUW8/v-deo.html

  • @pankajdagar
    @pankajdagar 3 роки тому +2

    When i went to secure my sql it says "cant connect to local MySQL server through socket '/var/run/mysql/mysql.sock'

  • @kokunaijin
    @kokunaijin 3 роки тому

    What happened about the nextcloud data folder? You said not to worry about it and then never explained how to move it.
    Thank you for the video.

  • @asonzeasonze4873
    @asonzeasonze4873 3 роки тому

    Hey Hello, love your work, is it possible to make a video to install Nextcloud with aaPanel? or can i use this metod?

  • @revoltpoa
    @revoltpoa 2 роки тому

    hi very good video, will you be able to make one by installing libresign. in the same it is requested to install java, cfssl, and jsignpdf. please

  • @cristobalortizortiz
    @cristobalortizortiz 3 роки тому

    great best tutorial i had found now the question is for redundancy to use zfs or btfs o r what ever before we do the server install :p

  • @CapsLock33
    @CapsLock33 2 роки тому

    wow thank you for this video!

  • @kote315
    @kote315 2 роки тому

    Thank you. I've set up nextcloud several times in different ways (mostly using nextcloudpi), but your video was still very helpful. I have now set up nextcloud (on debian), subdomains, reverse proxy and ssl. I think a lot of users have noticed that the performance out of the box is not very high. Maybe you can make a video on how to fix this? I installed php-fpm and tweaked the settings for myself; looks like it got better. Also, many users may have problems with large files, it would be great to talk about this topic as well.

    • @TechGuides
      @TechGuides  2 роки тому

      Awesome!
      Do you mean Nextcloud is not very performant? In terms of what?

    • @kote315
      @kote315 2 роки тому

      @@TechGuides 1. Generation of web pages on the server side. Perhaps on powerful hardware this happens almost instantly, but on weaker hardware it can be accelerated a little by changing php settings. I think it's also worth touching on the topic of php 8.
      2. Working with files. For example, when uploading large files, they are first split into parts (chunks), then merged back. This means copying (not moving) large amounts of data. When both folders are on the same physical disk, the process is very slow. The solution is to distribute these folders on different drives. But at the same time, it is desirable that trashbin is located on the same disk as other user's files files. At first I tried to use symbolic links but it didn't work. So I had to use some mounting tricks. In general, it works more-less fine now, but there are some errors when emptying the trash, so far I can not figure out why. It also works well when there is only one user, but if there are several users, it is more difficult to do.
      3. Generating previews for images. First, the creation of previews must be configured separately. Secondly, the built-in generator, as far as I can see, uses only one thread. Perhaps there are some alternative solutions.

  • @sisco22
    @sisco22 3 роки тому

    Awesome tutorial! Thanks for posting it! I got my server setup and am trying to find the tutorial of what you need to enable or set in Nextcloud to make it accessible from the internet? Do you have a tutorial for that? I did set my custom domain name in the 000-default.conf and config.php, have my domain forwarded and firewall rules setup in my router and the A record in my domain hosting DNS. What else do I need to do? Thanks again!!

    • @TechGuides
      @TechGuides  3 роки тому +1

      I just released a video on exactly that: ua-cam.com/video/wCJjiHp0d0w/v-deo.html you should be able to adapt the content to any domain hosting service

    • @sisco22
      @sisco22 3 роки тому

      @@TechGuides Thanks! I'll check it out!

  • @krishnillal2286
    @krishnillal2286 Рік тому

    after sometime i get an issue where client nextcloud app will get disconnected and will not connect back. i researched but but couldnt find anything. so i formatted the machine and then setup everything again. after doing this it worked for 2 days and samething happens. please advice what could be the issue.
    thanks
    Krishnil

  • @ahmadaisabry
    @ahmadaisabry 3 роки тому

    Thank you very much. I have learned a lot from your video and your blog.

  • @handase7540
    @handase7540 2 роки тому

    Dear, thank you for every thing but i have question in min 9 when you say yourdomain what can i write

    • @TechGuides
      @TechGuides  2 роки тому

      You can skip this part if you don't already own a domain name. Or use dynu to set up a free one like I showed in this video: ua-cam.com/video/wCJjiHp0d0w/v-deo.html

  • @srtsteele7636
    @srtsteele7636 3 роки тому

    Anyway of changing nextcloud instance login credentials or resetting?

    • @TechGuides
      @TechGuides  3 роки тому

      Probably if you change them in your database. Did you google?

  • @srtsteele7636
    @srtsteele7636 3 роки тому

    Hi I have a question regarding granting access to the nextcloud instance to folders on my Ubuntu server i.e pictures folder. So I can auto backup files on nextcloud to existing ubuntu folders

  • @mauwiks
    @mauwiks 2 роки тому

    Hey mate. I am getting "access forbidden by server" using cpanel hosting with installing nextcloud.

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

    Hi there, was HTTP your only option? did you need a certificate to use HTTPS? thank you

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

      I use an apache reverse proxy with a free letsencrypt certificate to encrypt traffic over the internet. I see no point in encrypting traffic in my local lan.

  • @Snowbow97
    @Snowbow97 2 роки тому

    Doing everything as described and can not log in NextCloud!
    setting everything as described and I eventually reach first nextcloud page, where I need to type my mysql username, database and I type as well my initial nextclout username and password. All good - waiting about 10 min to initialize everything and then it promts me to login in nextcloud and this is where I am stucked. The username I just enteres and the password just don't work and I can not log in. What shoul I do? Tried twice the installation and the result is the same.

  • @neilbaldwin7701
    @neilbaldwin7701 3 роки тому

    Hi. Thanks for one of the best and clearest tutorials to get NC working on an Ubuntu server. I've got everything working great now after many failed attemps before I watched your video.
    However I'm still unable to setup my OSX Calendar via CalDAV to use my NC calendar. I've tried every combination of the server path I can think of and it still says 'Unable to verify account name or passowrd'. My NC installation passes the self-tests for .well-known setup so I can't figure out where it's failing. It doesn't help that Apple have very poor error reporting in these apps!

  • @Broly_1
    @Broly_1 3 роки тому

    I'm using it based on your previous video, using Ubuntu snap, everything works good, but I feel like it could be a bit faster to load ,will try to enable cache and see if it helps, thank you.

  • @michaelstrauss7723
    @michaelstrauss7723 2 роки тому

    I installed NC and my NC cleints on my windows computers pauses for 3 seconds before scanning again. This is way too fast. Is there any way I can slow this down? I know its supposed to scan whenever there is a file change but nothing is being changed or accessed that I am aware of. Do you know of a way I can find out if something is being accessed wtihout my knowledge? maybe that will help. Thanks

  • @kthfriend
    @kthfriend 3 роки тому

    Hi Roman,
    Thanks for the tutorial. I will complete my installation tonight.
    I have a running nextcloud instance version 15.04 and I would like to migrate the users and data across to this version.
    Is there an "easy" way to do this that you know of?
    Unfortunately I can't use the upgrade path.

    • @TechGuides
      @TechGuides  3 роки тому +1

      I'm afraid I don't know how to upgrade between different versions of NC. Maybe one can simply export the mysql database and re-import it - but I have not tested this. I could actually do this, since now I have a test server to play around with. If it turns out to be easy I will update my reply :)

    • @kthfriend
      @kthfriend 3 роки тому +1

      @@TechGuides thanks. It is appreciated.

  • @johanwences
    @johanwences 2 роки тому

    Muchas gracias!, funciono todo perfecto y de gran ayuda su blog.

  • @technicaladmin6848
    @technicaladmin6848 2 роки тому +1

    "Failed! Error: SET PASSWORD has no significance for user 'root'@'localhost' as the authentication method used doesn't store authentication data in the MySQL server. Please consider using ALTER USER instead if you want to change authentication parameters.`"
    Help?

    • @RyanPursifull
      @RyanPursifull 2 роки тому

      found solutions but my comments were deleted

  • @donwhite4374
    @donwhite4374 3 роки тому

    EXCELLENT Work !!! Thank You...

  • @waylon2002my
    @waylon2002my 3 роки тому

    possible to have guideline for nextcloud located in zfs pool with raidz, cache and slog ?

    • @TechGuides
      @TechGuides  3 роки тому

      Hey man! I'm afraid I dont' have a use case for this at the moment and thus won't be able to do an educated video about it

    • @waylon2002my
      @waylon2002my 3 роки тому

      @@TechGuides thanks for the feedback

  • @joey8921
    @joey8921 3 роки тому

    hi!
    It worked, but
    on my server, other servers(webservice) are running (webmin, plex, rutorrent)
    If I enter its address in nexcloud, I can't access the other servers. This cannot be used as a proxy pass(this isn't webservice). What is the solution to avoid collisions?

  • @luizdanin
    @luizdanin 3 роки тому

    Great my friend, i will install nextcloud on FreeBSD 12, PostgreSQL 12 and Apache 2.4.46. Do you think this is good?

    • @SirHackaL0t.
      @SirHackaL0t. 3 роки тому

      @Dio Titus Perhaps Luiz is using FreeBSD as his OS. 🤷‍♂️

  • @elcaballopapi
    @elcaballopapi 2 роки тому

    Great tutorial

  • @francescogiuseppemorabito4276
    @francescogiuseppemorabito4276 3 роки тому

    Hi, wonderful guide as always, but I am getting some troubles when setting up apps as COLLABORA and ONLYOFFICE. Once installed, I went checking the "Document Editing Service address" and there is the correct address, but nextcloud says: Error when trying to connect (Host violates local access rules)... And I receive the same error when attempting to open the welcome doc file. Do you have any suggestion?? Cheers,

    • @TechGuides
      @TechGuides  3 роки тому +1

      I don't use collabora because it was always a bit pain to set up. With onlyoffice, you can simply install the app "Community Document Server" and "ONLYOFFICE" and it should work

    • @yuizen
      @yuizen 3 роки тому

      @@TechGuides I tried installing document server then onlyoffice and I'm getting an error "cURL error 60: SSL certificate problem: unable to get local issuer certificate". Sorry for double comment. Just desperate of a help to fix it. Can't seem to find a fix on it. Tried every suggestions I can find.

  • @kavithak1138
    @kavithak1138 3 роки тому

    Hi can you help me setup nextcloud using docker-compose file step by step.

  • @iancampbell4582
    @iancampbell4582 3 роки тому

    Have any of the steps or command lines changed for Nextcloud 22 and PHP 8.0?

    • @TechGuides
      @TechGuides  3 роки тому

      I haven't tried Nextcloud with PHP8 yet but I'd guess not much changed

  • @spetauskas
    @spetauskas 3 роки тому

    I would like to get this hole procces explained for total begginers :D because from 1:38 I have no idea what's going on :D what kind of window is that :D

  • @yuizen
    @yuizen 3 роки тому

    Hi, I'm getting an error "cURL error 60: SSL certificate problem: unable to get local issuer certificate" installing onlyoffice. I have search everywhere and I can't still figure out how to fix it. I hope you can help me.

  • @sheriff9616
    @sheriff9616 3 роки тому

    Apache2 status says my server is active but there is no connection in browser, should I just start from scratch?

  • @vedantbhoyarxd
    @vedantbhoyarxd 3 роки тому +1

    Simply tell me how to remvoe index.php from URL as it makes my URL ugly

  • @daan2051
    @daan2051 3 роки тому

    Thanks for your gread tutorial! But how can I change ownership of a file to someone else? I tried in the settings, but it doesn't show other users there.

    • @TechGuides
      @TechGuides  3 роки тому

      Did you already create other users? I'm not sure you can simply change ownership to someone else though, you can share files with other users such that they can fully edit them

    • @namename8986
      @namename8986 3 роки тому +1

      chown

  • @KennyWebster
    @KennyWebster 3 роки тому

    I got this error how can I fix it? Header always set Strict-Transport-Security “max-age=15552000; includeSubDomains”. Your videos are awesome by the way.

  • @dumbledoreawesome
    @dumbledoreawesome 3 роки тому

    Hi. Thanks for sharing this great setup. If you don't mind, how to avoid ransomware from syncing to nextcloud? As we know, nextcloud has its own application that can automatically syncing files between client and server. What if client has been infected by ransomware files and it accidentally syncing all files to nextcloud. Any ideas?

    • @TechGuides
      @TechGuides  3 роки тому +1

      You're welcome! Thats a good question and honestly I haven't really given this much thought but I don't think that there are any measures in place to make sure that no maliciously encrypted files will get synced to Nexcloud... I will have to investigate for a bit :)

    • @waffleMccoy
      @waffleMccoy 3 роки тому

      There's an antiransomware app you can install on nextcloud, never tried it.

  • @georgepitaru
    @georgepitaru 3 роки тому

    can this tutorial be successfully folwed and implemented on Ubuntu Desktop instead of Server? Not sure what the benefits of the server version of Ubuntu are

    • @TechGuides
      @TechGuides  3 роки тому

      Yes absolutely! The only difference between server and desktop is the GUI as far as I know. I don't have a monitor connected to my server so it doesn't make sense to run all the desktop related software

  • @azo890
    @azo890 3 роки тому +1

    how to do the https on nextcloud?

    • @TechGuides
      @TechGuides  3 роки тому +1

      ua-cam.com/video/c1t_OrIia1U/v-deo.html

    • @azo890
      @azo890 3 роки тому

      @@TechGuides thanx

  • @aloricmusicforkids
    @aloricmusicforkids Рік тому

    God bless you bro!

  • @erix321
    @erix321 3 роки тому

    haha me ghört mega nid das du schwizer bisch, btw super video !!

  • @WifiJedi
    @WifiJedi 3 роки тому

    I tried installing nextcloud via the snap a few months back with no luck getting it to work. I haven't touched it since, do I need to try and uninstall/clear the old installation before attempting this method? If so is there a clean way to uninstall something that was installed via a snap?

    • @TechGuides
      @TechGuides  3 роки тому +1

      You dont need to do anything special with regard to your snap nc install. Just do "sudo snap remove nextcloud" and it and all requirements will all be gone. You can then start installing NC using this tutorial

    • @WifiJedi
      @WifiJedi 3 роки тому

      @@TechGuides Awesome, thank you!

  • @heavenly_emperor
    @heavenly_emperor Рік тому

    excuse me sir I want to ask how to configure setup from
    You are accessing your instance over a secure connection, however your instance is generating insecure URLs. This most likely means that you are behind a reverse proxy and the overwrite config variables are not set correctly. cause i not understand

    • @TechGuides
      @TechGuides  Рік тому

      I'm sorry I don't understand quite your problem. The Apache Reverse Proxy setup is explained at 7:13 in this video

  • @morphiusphobia
    @morphiusphobia 3 роки тому

    Great vid.
    Followed your guide and it works great.
    But when i put it behind my nginx reverse proxy server login breaks using Chrome.
    The login button keeps on spinning and doesn't redirect to the dashboard.
    When i refresh the page (F5) the dashboard will load and i'm logged in. It work fine using Firefox.
    It looks like a common problem, but i'm not able to fix it.
    Could you help/make a vid how to fix this problem?
    Many thnx

    • @TechGuides
      @TechGuides  3 роки тому

      Thanks! Im afraid I have absolutely zero experience with using nginx. Id guess that this sound like a proxy setup issue - did you try the official nextcloud proxy settings?

  • @sibu7
    @sibu7 3 роки тому

    Is there a difference between Nextcloud Hub and Nextcloud (Files)? I installed Nextcloud using the web installer and now I don't have any calendar, contacts, chat, etc. I only have Files and Photos. Can I just install those apps manually? Or should I have installed Nextcloud differently?

    • @waffleMccoy
      @waffleMccoy 3 роки тому

      You should be able to install those apps manually from nextcloud.

  • @jacksonrussell6277
    @jacksonrussell6277 2 роки тому

    Good day. Doing installation by this tutorial in march of 2022 and having trouble with cron job. it doe's not seem to be updating every 5 min. I did it exactly like in video. Running it on ubuntu20.04. Can you help please ? Thank you.

    • @jacksonrussell6277
      @jacksonrussell6277 2 роки тому

      find solution. "For some configurations, it might be neccessary to append --define apc.enable_cli=1 to the cron command. Please refer to Memory caching (section APCu)."

  • @strangegriffin
    @strangegriffin 3 роки тому

    I am using ubuntu 18.04.5 and I was thinking about updating to 20.04. I have nextcloud on my server now. How hard would it be to transfer all the data and user's? I ask because I am not using MySQL right now. I used your video on nextcloud for 18.04 ubuntu server using snap. If you could make a video on how to update the system and move the dir to use with MySQL database. I went and installed the desktop on the server so I have a gui to use not just terminal.

    • @TechGuides
      @TechGuides  3 роки тому

      I would look up a tutorial that explicitly goes over how this is done. I personally don't have any experience doing this but I assume it should be quite simple

    • @strangegriffin
      @strangegriffin 3 роки тому

      @@TechGuides ok thank you

  • @apreturns
    @apreturns 3 роки тому

    It keeps complaining that it does not satisfy the current policy requirements on the password part

  • @manishshekhar4139
    @manishshekhar4139 3 роки тому

    Getting this error while setting up Onlyoffice "Error when trying to connect (Host violates local access rules)"

  • @ingenieriayencofradossas
    @ingenieriayencofradossas 3 роки тому

    ¡Excelente, gracias!

  • @srtsteele7636
    @srtsteele7636 3 роки тому

    Hi have an error here during setup:OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?) I have nextcloud installed on Ubuntu server 20.04 LTS.

    • @TechGuides
      @TechGuides  3 роки тому

      I've got an entire video dedicated on how to fix this: ua-cam.com/video/8JVhRtArovg/v-deo.html

  • @GaryTruesdale
    @GaryTruesdale 2 роки тому

    Really good.

  • @gotas.de.terror
    @gotas.de.terror 3 роки тому

    Having trouble to nextcloud recognize my externa hd, I alredy activated the external storage app but still not working

    • @TechGuides
      @TechGuides  3 роки тому

      Whats not quite working, i.e. what error messages do you get? Did you copy all files, including the hidden files, to your external HD?

  • @tomaskner9537
    @tomaskner9537 2 роки тому

    Hi, will it work if I have an Ubuntu server set up in Virtual Box ?

    • @TechGuides
      @TechGuides  2 роки тому

      Not sure about how to access applications running inside a virtual box, but the install should be exactly the same

    • @tomaskner9537
      @tomaskner9537 2 роки тому

      @@TechGuides I'm not finished yet (because of my IBM Lenovo T500 with Core2duo 😅) but so far it works when VB is switched to Bridged networking.
      Thank you for your great tutorial and fast response, before I found this video I lost cca. 2 days with another video, only to start from scrap with yours 😀.

  • @waffleMccoy
    @waffleMccoy 3 роки тому

    do a tutorial on how to host several nextcloud instances on the same machine, PLEASE

    • @TechGuides
      @TechGuides  3 роки тому

      You could just install them to different directories and point the different instances to different mysql databases. Then all you need are some subdomains pointing to the different directories and that should be it. I think thats fairly straightforward?

    • @waffleMccoy
      @waffleMccoy 3 роки тому

      ​@@TechGuides Interesting, I'll give that a try next week. THanks.

  • @paulpanikowski4710
    @paulpanikowski4710 3 роки тому

    Great video until I received this error "Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'nextcloud'@'localhost' (using password: YES)". Any ideas?

    • @TechGuides
      @TechGuides  3 роки тому

      Did you try to re-do the MySQL setup? Sounds like the database is not set up properly or you can't connect to it (maybe a firewall issue too? make sure to open the mysql port 3306 in ufw)

  • @DBrianAshby
    @DBrianAshby 3 роки тому

    The only security issue I see is nextcloud does not auto sign out after a certain amount of activity. Is there any way to make it do so after 10 minutes or so if no activity occurs? Since users can be lazy about signing out. If I could make it happen automatically that would be great. Any help would be appreciated!

    • @TechGuides
      @TechGuides  3 роки тому

      I'm not aware of a simple way to do this - would require some serious modding which I don't feel comfortable to do nor suggest

    • @waffleMccoy
      @waffleMccoy 3 роки тому +1

      I found this, I'll give it a try first thing on Monday.
      In your config/config.php (EDITTING THIS FILE THE WRONG WAY WILL RENDER YOUR NEXTCLOUD INSTALLATION INACCESIBLE UNTIL YOU REVERT THE CHANGES, MAKE SURE YOU BACK IT UP BEFORE MAKING CHANGES IF YOU DON'T KNOW WHAT YOU'RE DOING)
      'session_lifetime' => 60 * 60 * 24,
      The lifetime of a session after inactivity.
      The maximum possible time is limited by the session.gc_maxlifetime php.ini setting which would overwrite this option if it is less than the value in the config.php
      Defaults to 60*60*24 seconds (24 hours)
      docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html

  • @joeshmoe7899
    @joeshmoe7899 2 роки тому

    Work with Windows WSL?

    • @TechGuides
      @TechGuides  2 роки тому

      I wouldn't install it in WSL if that's what you're asking.

  • @joey.9.5
    @joey.9.5 Рік тому

    Is Nginx, PHP7.4-FPM And MariaDB fine to run Nextcloud?

    • @TechGuides
      @TechGuides  Рік тому +1

      It suggest do no longer use PHP7.4 as its been deprecated for a while now

    • @joey.9.5
      @joey.9.5 Рік тому

      @@TechGuides Alright thanks.

  • @epicgaming5116
    @epicgaming5116 2 роки тому

    After
    *sudo -u www-data php occ maintenance:update:htaccess
    I get this message : An unhandled exception has been thrown:
    OCP\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?) what did I do O.o

    • @epicgaming5116
      @epicgaming5116 2 роки тому

      And after watchin and doing the comment u pinnend I now get this message:
      An unhandled exception has been thrown:
      ParseError: syntax error, unexpected ';', expecting ')' in /var/www/nextcloud/config/config.php:32
      Stack trace:
      #0 /var/www/nextcloud/lib/private/Config.php(69): OC\Config->readData()
      #1 /var/www/nextcloud/lib/base.php(150): OC\Config->__construct()
      #2 /var/www/nextcloud/lib/base.php(575): OC::initPaths()
      #3 /var/www/nextcloud/lib/base.php(1087): OC::init()
      #4 /var/www/nextcloud/console.php(48): require_once('/var/www/nextcl...')
      #5 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')

    • @epicgaming5116
      @epicgaming5116 2 роки тому

      and on that video there was an update again that we had to troubleshoot it with ur blog... I did the re-install of the image and now nextcloud is still down with error message and I still can't put it the command...

  • @rowey85
    @rowey85 3 роки тому

    Hello I have followed and everything so far has worked until the 'sudo -u www-data php occ maintenance:update:htaccess' point and am given the message 'n unhandled exception has been thrown:
    OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)'
    I cant seem to find a solution as everything I try seems to say that occ is not enabled.
    Thanks for the video but any help would be good.

    • @TechGuides
      @TechGuides  3 роки тому +2

      Yes this is because of a new version of nextcloud that seems to break apcu compatibility. I will try to release a video this weekend on how to fix it (still havent found a good solution yet)

    • @ryanwales9399
      @ryanwales9399 3 роки тому

      @@TechGuides Same issue here :)

    • @rowey85
      @rowey85 3 роки тому

      @@TechGuides sudo -u www-data php --define apc.enable_cli=1 /var/www/nextcloud/occ maintenance:repair
      This is a work around. I found it on chat on github regarding the upgrade to the new Nextcloud.
      Below is the link for you to read.
      github.com/nextcloud/server/issues/27781

    • @TechGuides
      @TechGuides  3 роки тому

      Yes you can enable CLI for APC as a workaround. I will switch directly to redis for caching though, think that's a more elegant solution

    • @velvetcoding
      @velvetcoding 3 роки тому

      Same problem :(

  • @magisterclassicus3473
    @magisterclassicus3473 3 роки тому

    Thanks man!!

  • @jayachandrareddy3400
    @jayachandrareddy3400 Рік тому

    It’s showing please update your php version when I try to open it from my ip address. I upgraded my php to 8.1 still it’s showing the same.

    • @TechGuides
      @TechGuides  Рік тому

      You will still need to tell Apache to use the new version 8.1 I'm thinking about making a video about the process because its actually quite complicated and I also struggled to get it working right away

  • @fbnews2049
    @fbnews2049 3 роки тому

    Very Good 👍

  • @sowkalidou9329
    @sowkalidou9329 3 роки тому

    Exellent Thanks you.