How to Install Nextcloud on Debian 12 -> problem showing the nextcloud install page

Discussion in 'HOWTO-Related Questions' started by vikozo, Aug 16, 2023.

  1. vikozo

    vikozo New Member

    i have followed this tutorial

    How to Install Nextcloud on Debian 12
    This tutorial will show you how to install Nextcloud on a Debian 12 server. You will install Nextcloud with Apache2 web server, MariaDB server, and PH...

    have done on the server in ispconfig DNS als A record nxtcld-04

    at the point where it show the apache2 conf file i have

    1 <VirtualHost *:80>
    2 ServerName
    3 DocumentRoot /var/www/nextcloud/
    5 # log files
    6 ErrorLog /var/log/apache2/
    7 CustomLog /var/log/apache2/ combined
    9 <Directory /var/www/nextcloud/>
    10 Options +FollowSymlinks
    11 AllowOverride All
    13 <IfModule mod_dav.c>
    14 Dav off
    15 </IfModule>
    17 SetEnv HOME /var/www/nextcloud
    18 SetEnv HTTP_HOME /var/www/nextcloud
    19 </Directory>
    20 </VirtualHost>

    sudo systemctl restart apache2
    the page is only showing the default homepage of Apache2 Debian Default Page

    what is wrong with my conf file?
    have a nice day
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you followed the tutorial, including this part
    sudo a2ensite nextcloud.conf
    sudo apachectl configtest
    If there are errors in the conf, configtest shows them.
    (please post code and listings in CODE tags).
    Then restart apache so the new virtualhost takes effect
    systemctl restart apache2
  3. vikozo

    vikozo New Member

    @Taleman thanks for your feedback
    yes i have done so
    <VirtualHost *:80>
        DocumentRoot /var/www/nextcloud/
        # log files
        ErrorLog /var/log/apache2/
        CustomLog /var/log/apache2/ combined
        <Directory /var/www/nextcloud/>
            Options +FollowSymlinks
            AllowOverride All
            <IfModule mod_dav.c>
                Dav off
            SetEnv HOME /var/www/nextcloud
            SetEnv HTTP_HOME /var/www/nextcloud
    root@nxtcld-04:/etc/apache2/sites-available#  a2ensite nextcloud.conf
    Site nextcloud already enabled
    root@nxtcld-04:/etc/apache2/sites-available# apachectl configtest
    Syntax OK
    root@nxtcld-04:/etc/apache2/sites-available# systemctl restart apache2
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Do you have other vhosts on this server in Apache that use an IPv4 address instead of * for the IPv4 address?
  5. vikozo

    vikozo New Member

  6. vikozo

    vikozo New Member

    have been 000-default and default-ssl, i renamed both then it worked

Share This Page