Comments on How to Install Nextcloud on Debian 11
Nextcloud is open-source software for creating public and private file storage. It allows you to create your self-hosted services like Dropbox, Google Drive, or Mega.nz. In this guide, you will learn how to install Nextcloud on the latest Debian 11 Bullseye.
14 Comment(s)
Comments
It would be nice if you included how to get the php-smbclient working in debian 11. That would be a great addition
Well darn, tried the directions. HTTP isnt redirecting and i still get the root apache apge, and HTTPS 'redirected too manytimes"
Hello, Thanks a lot for the tuto, it was amazing ! I learned a lot :) Nurbie, for removing the root apache page, you will have to disable 000-default.conf config, which point to index.html. The command a2dissite can help. check how it works on the web and don't forget to restart apache, exactly like he explain when you enable (a2ensite) nextcloud.conf :)
Took me a while to figure out that there is a typo here "CREATE DATABASE netxcloud_db;", but the guide worked a lot better after fixing that issue. Thanks.
Great tutorial, and a very interesting subject! Thanks much for offering it. I'm stuck at the "ensure your server IP is resolved to your domain name". Haven't found answer to that yet....Also, I don't have a 'static' ISP address- it is Carrier Grade NAT- and I am not knowing if I can get through that situation. Oh well- Any comments would be appreciated. /E
This tutorial will lead to an installation of PHP 8.1.2. However, current versions of NextCloud will be not working and break with this error:
"This version of Nextcloud is not compatible with > PHP 8.0."
See related issue here:
Support PHP8.1 #29287https://github.com/nextcloud/server/issues/29287
You can install nextcloud 24.0.0 to Use PHP 8.1 with ;)
curl -o nextcloud.zip https://download.nextcloud.com/server/releases/nextcloud-24.0.0.zip
I'm trying to follow your guide to install Nextcloud on my Debian/Bullseye box but when get to actually acccessing the Nextcloud installation, I get the source code for the index.php file instead of the web page.
I did make two changes to the installation process: 1) I called the server "nextcloud" rather than "files"2) my document root for my local web sites is not /var/www/ but rather a different root that I have been using for several other sites.
Also, I note that the PHP installation seems to be 8.1, not 8.0 and used the /etc/php/8.1/ directory instead of /etc/php/8.0 for the php.ini setup. As per the suggestion by deschriever, I installed nextcloud 24 to compenstate.
I've gone through this process several times now and can't seem to figure out where I went wrong. Can you help?
EricG:A lot of home users don't have a static IP address. However I have noted that home iP addresses don't change very often. This allows me to register a domain and point it to my home server. In the case of this tutorial, that would mean creating an A record in the registrar's DNS to point to files.. You also will need to open ports 80 and 443 on your home router to forward to your home server's internal (LAN) address.
I also run a cron job hourly that checks for an IP address change and send me an e-mail if it does. This is simply a matter of saving your current external IP address, using curl to pull a web page from a service like "whatsmyip.prg', extracting the current IP and sending an e-mail if if doesn't match the saved one. Here's some sample code for that:#!/bin/sh cd /root curl -s | grep -o '[0-9]*\.[0-9]*\.[0-9]*\.[0-9]*' > cur-ip if [ -s cur-ip ]; then if ! cmp cur-ip old-ip; then mail -s "home IP change" me@ < cur-ip cp cur-ip old-ip fi else cp old-ip cur-ip fi
Nevermind. What I was missing is I needed to a2emod php8.1. This wasn't listed in the instructions above. However it appears to be a necessary step it you didn't previously have that version of PHP installed
Hi, "live" directory, missing from letsencrypt three
Hi, and thank you for writing this guide, first of all :D
I installed and setup my own NC server usign a macmini 2011, Debian 11 (native OS, not virtualized), and a 2TB external disk (for data) with a firewire box.
Since I need to go back and forth consulting this (and many other) info, I decide to make me a "cookbook" recollecting all the info I used to install and correctly configure the NC server.
I'd like to submit the cookbook to all authors, whom I have used the info to make the cookbook (giving them the credits, ofc).
Now, the question is: How can I contact you (or the rights owner) to submit the preliminar work and then obtain the grant to distributed it (all free/GPL license, this is not a commercial thing)?
Many thanks in advance, evanmac
good one but nowadays it takes time to skip php 8.2 which is the default in repo but to high for nextcloud. Lots of manual work required
So Awsome!
Thank you!!!!!