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
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.🎉
@saidevpappu thank you for watching. I’m glad I could help.
What a treat! Awesome share, man, thanks a lot, works perfectly !!
👍👍👍👍👍
Thank you for watching. Please like share and subscribe.
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
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.
Hi, I would try this installation method. Is it good to install NC in Proxmox LXC or VM? What template can I use? Thanks
Hey, what do you mean by template? Yes you can install nextcloud in a VM on proxmox
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!
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!
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.
what if we want to remove everything ? that we done with script and want to install again using script?
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
Is this ssd installed on thesame machine or vm you have nextcloud installed or on an external server ?
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!
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?
@@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.
Can you share the documentation so I can test and provide feedback?
@@geek2gether469 test
Excellent! Thanks alot
Thank you for watching, please like the video and subscribe to the channel.
@@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!
You are welcome. Enjoy
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"
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.
trying to install but got error cannot start apache2, any help ?
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.
@@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 ?
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.
Failed to install mariadb server
If you already have MySQL or mariadb installed it won’t work .
@@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.
@@geek2gether469 maybe thats because i try to install it on truenas core
Oh the script has not been tested on truenas core
@@geek2gether469 tried to install in a CT Proxmox Debian 12, but received the same error