Comments on How to Install Nextcloud 15 on Debian 9

NextCloud is a free, open source and an alternative to another open source file hosting solution OwnCloud. NextCloud eliminates your need of using third party cloud hosting software like Dropbox for storing your documents. In this tutorial, we will explain how to install and configure NextCloud on Debian 9 and secure it with a free Let's encrypt SSL certificate.

15 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Vincent

Hello,What process/command for add extern drive ?Can you repeat this process/command but with add other storage ?Thx for your help

By: My mail does not send out, so forgot passwords do not work...

Cant u guys add this into the how-to ? So our mail system works fine....

By: ramstein

Hi,

here is something wrong ...  3 Install NextCloud  >> path mismatch ...

By: till

Thanks. I've fixed the typo.

By: Andrew

Followed this guide and was able to deploy a new VM within 15 minutes.  However, it seems that there may be some other configuration and modules necessary.  Here are the security & setup warnings I was left with in my case (Deb 9.8 and NextCloud 15.0.4):

By: filip

Hi,

I installed nextcloud according to this tutorial and everything works great. In the overview tab, I debugged a recommendation. But I have a problem with two recommendations The "Strict-Transport-Security" HTTP header is not set at least "15552000" seconds.

(I tried to add line Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains") to/etc/apache2/sites-available/nextcloud-le-ssl.conf

but not work :-( 

 

and

 

No memory cache has been configured. To enhance performance, please configure and memcache, if available. Could anyone give it an accurate guide on how to do it? Thank you very much and I appreciate your work

By: Tummy

Sir,

I followed all thge steps but throwing errors that Php dependices zip, xml,GD,Mbstring, curl Not Installed then I installed all these and end up seeing a page

No database drivers (sqlite, mysql, or postgresql) installed.

 

PHP modules have been installed, but they are still listed as missing?

 

Please ask your server administrator to restart the web server.

No database drivers (sqlite, mysql, or postgresql) installed.

PHP modules have been installed, but they are still listed as missing?

Please ask your server administrator to restart the web server.

By: till

The installation of these modules is done with the command:

apt-get install libapache2-mod-php php7.2 php7.2-xml php7.2-curl php7.2-gd php7.2 php7.2-cgi php7.2-cli php7.2-zip php7.2-mysql php7.2-mbstring wget unzip -y

In the tutorial. This tutorials uses PHP 7.2, maybe you have a different PHP version installed without the required PHP modules?

By: filip

Edit the command as follows:apt-get install libapache2-mod-php php7.3 php7.3-xml php7.3-curl php7.3-gd php7.3 php7.3-cgi php7.3-cli php7.3-zip php7.3-mysql php7.3-mbstring wget unzip -ythen edit in /etc/php/7.3/apache2/php.ini and restart server

 

 

By: INNOCENT

thank you for this tutorial but I am stuck at the configuration stage web link: https://example.com/setup-nextcloud.php

I have the page of nextcloud but when I click on "next" nothing happens.

Do you have an idea to unlock me?

thank you in advance

By: INNOCENT

For those interested in him.

I bypassed my problem by downloading and uncompressing the complete folder (see the commands)

 

cd  /var/www/

wget https://download.nextcloud.com/server/releases/nextcloud-15.0.7.zip

unzip *.zip && rm *.zip

chown www-data:www-data /var/www/nextcloud

chmod 750 /var/www/nextcloud

 

To avoid the error "Error PHP You are using a fallback implementation of the intl extension" you need to install php7.3-intl

apt-get install php7.3-intl

By: FredZ

I'm installing NC under ISPconfig3,  I want to use a different drive for the data but I keep getting the following error "Can't create or write into the data directory /mnt/wd/nextcloud/nextcloud". I've change the rights to web##:c1#### but still no luck.

By: Jens

Wie muss man die

/etc/apache2/sites-available/nextcloud.conf

anpassen das auch https Aufrufe funktionieren ?

Momentan wir bei mir per Aufruf der https Seite nur die Apache Config angezeigt. (SSL funktioniert, nutze das für MQTT schon seit einigen Monaten)

Das ändern von

<VirtualHost *:80>

in

<VirtualHost *:80 *:443>

funktioniert nicht

 

Fehler

Keine Datenbanktreiber (SQLite, MySQL oder PostgreSQL) installiert.

PHP-Module wurden installiert, werden aber als noch fehlend gelistet?

Bitte kontaktieren Sie Ihren Server-Administrator und bitten Sie um den Neustart des Webservers.

By: Rômulo

If we install PHP with libapache2-mod, the system will install apache2 module for php 7.4. What do you think if we change to "apt install libapache2-mod-php7.2 ..."? Thanks for the article.