Nextcloud Installation using a script

Поділитися
Вставка
  • Опубліковано 17 вер 2024
  • The nextcloud installation script will download and install nextcloud. It also resolves setup errors after installation.
    The script sets up HTTPS using the snake-oil self signed cert in linux. The self signed certificate can be changed after install.
    To use the script run the commands:
    wget raw.githubuser...
    sudo chmod +x nextcloud-install.sh
    sudo ./nextcloud-install.sh
    #nextcloud

КОМЕНТАРІ • 38

  • @saidevpappu
    @saidevpappu 11 місяців тому +1

    Thanks alot sir, installed nextcloud since days using this method. Now my nextcloud is more faster than my previous builts. Thanks alot sir. Great work.🎉

    • @geek2gether469
      @geek2gether469  11 місяців тому +2

      @saidevpappu thank you for watching. I’m glad I could help.

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

    What a treat! Awesome share, man, thanks a lot, works perfectly !!
    👍👍👍👍👍

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

      Thank you for watching. Please like share and subscribe.

  • @Guavaya
    @Guavaya 11 місяців тому +1

    This looks great. Should have posted this first😊. Is it also possible to have NC installed on cPanel and have those errors taken care of as well as index.php and the rest

    • @geek2gether469
      @geek2gether469  11 місяців тому

      Thank you for watching. The script has been tested to run on ubuntu and Debian only and requires access to the command line. It won’t work with cpanel.

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

    Hi, I would try this installation method. Is it good to install NC in Proxmox LXC or VM? What template can I use? Thanks

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

      Hey, what do you mean by template? Yes you can install nextcloud in a VM on proxmox

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

    This video and the accompanying script are LEGEND! I struggled to get Nextcloud to run for a week before finding this! I did get an error of "Your data directory and files are probably accessible from the internet. The .htaccess file is not working. " after install and am not sure how to proceed? Also, I am installing on a VM and would like the data to be stored on my NAS and not my C: drive. Any idea what to change?
    THANK YOU!

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

      edit: The .htaccess issue is a known issue in NC. After a reboot it went away. Still love to know where to change the script to define storage location!

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

      Im glad you were able to figure it out. After installation to change your data directory follow this video here:
      Change Nextcloud Data Directory
      ua-cam.com/video/Rk3kYCyY5ro/v-deo.html
      Also since it is an external NAS, you want to mount the NAS to the vm before changing the nextcloud directory to avoid errors. Also don’t forget to set fstab to auto mount the NAS on boot.

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

    what if we want to remove everything ? that we done with script and want to install again using script?

  • @infusionevo
    @infusionevo 11 місяців тому

    Great video. Just a question, how to change data directory location. Would like to store my data on hdd instead on the ssd as it has a much bigger space

    • @geek2gether469
      @geek2gether469  11 місяців тому

      Is this ssd installed on thesame machine or vm you have nextcloud installed or on an external server ?

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

    Script easy and fast to install. However i got a problem if I want to set up the email server it shows me always the following error: A problem occurred while sending the email. Please revise your settings. (Error: Email could not be sent. Check your mail server log)
    I reinstalled the script 2 times now, and I still have this problem.
    Thank you for any help here!

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

      The problem is not the script! The script does not setup email. What is your setting for email ? And what email server/provider are you using? Gmail ? Yahoo?

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

      ⁠@@geek2gether469Oh yeah sorry. I use purelymail and their technical setup from their documentation. But it doesnt work. It worked before I installed the script on nextcloud snap.

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

      Can you share the documentation so I can test and provide feedback?

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

      @@geek2gether469 test

  • @mada7ebnana
    @mada7ebnana 11 місяців тому

    Excellent! Thanks alot

    • @geek2gether469
      @geek2gether469  11 місяців тому +1

      Thank you for watching, please like the video and subscribe to the channel.

    • @mada7ebnana
      @mada7ebnana 8 місяців тому +1

      @@geek2gether469 Ofcourse I did!! I am a big fan now .. also please if you can add OnlyOffice installation as its really annoying when it comes to adding this SecretKey for the integration and I cant see any video explaining it smoothly .. Thanks a million in advance .. keep it up my friend!

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

      You are welcome. Enjoy

  • @richardcarter5404
    @richardcarter5404 6 місяців тому

    Thanks for this, It works perfectly and is very snappy unlike other methods I have tried. I am seeing 1 error though, how do I fix this?
    The PHP OPcache module is not properly configured. The OPcache interned strings buffer is nearly full. To assure that repeating strings can be effectively cached, it is recommended to apply "opcache.interned_strings_buffer" to your PHP configuration with a value higher than "8"

    • @geek2gether469
      @geek2gether469  6 місяців тому +1

      Thank you for watching. You need to use a text editor such as nano or vi and open the file /etc/php/8.1/apache2/php.ini then change opcache.interned_strings_buffer=8 to opcache.interned_strings_buffer=16
      That should fix your issue. Restart apache2 and php or reboot your nextcloud instance once complete.
      Please like share and subscribe to the channel.

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

    trying to install but got error cannot start apache2, any help ?

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

      The script should be ran on system without Apache2 or nextcloud installed. Make sure you are running script on Ubuntu system with neither Apache or nextcloud already installed.

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

      @@geek2gether469 im trying to fresh install it aftter reinstall may system, buat i got error "This version of Nextcloud requires at least PHP 8.0You are currently running 7.4.33. Please update your PHP version.Failed to run maintenance install" any work around ?

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

      If your system comes fresh with php 7, you have to remove it before you can continue. If you need more help, you can post a question on hub.geek2gether.com
      Also include your Linux os . Logs and screenshots are helpful when troubleshooting.

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

    Failed to install mariadb server

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

      If you already have MySQL or mariadb installed it won’t work .

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

      @@geek2gether469 hmmm. okay. I'll try to check if any of this is installed already. First I need to figure out how. It's just my first time working with servers.

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

      @@geek2gether469 maybe thats because i try to install it on truenas core

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

      Oh the script has not been tested on truenas core

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

      @@geek2gether469 tried to install in a CT Proxmox Debian 12, but received the same error