Where should i put nextcloud.conf

please I need assistance.
see below the info.

Results

  • core
    • EXTRA_FILE
      • nextcloud.conf

Raw output

Array
(
[core] => Array
(
[EXTRA_FILE] => Array
(
[nextcloud.conf] => Array
(
[expected] =>
[current] => fef1d674567f2a09bb0c5c41c666bb3772bc8cf23e30dd93bbb63988ca07bcee3f3957eaafe768371f686319ad74ab735e508515de55050abb557965d605cd34
)

            )

    )

)

Needs quite a bit more info. Where is this Raw output from? You can also format code blocks with three backticks on either end (```).

Hi @herman08, what is nextcloud.conf ?

this is my firstime install nextcloud using debian ,
the content nextcloud.conf :
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/nextcloud/
ServerName nextcloud.example.com

 Alias /nextcloud "/var/www/html/nextcloud/"

 <Directory /var/www/html/nextcloud/>
    Options +FollowSymlinks
    AllowOverride All
    Require all granted
      <IfModule mod_dav.c>
        Dav off
      </IfModule>
    SetEnv HOME /var/www/html/nextcloud
    SetEnv HTTP_HOME /var/www/html/nextcloud
 </Directory>

 ErrorLog ${APACHE_LOG_DIR}/error.log
 CustomLog ${APACHE_LOG_DIR}/access.log combined

and i got the error when i “checking for system and security issues”, Security & setup warnings

What error did you get? Maybe post an image of the error(s)?

https://docs.nextcloud.com/server/stable/admin_manual/configuration_server/security_setup_warnings.html

Here is the documentation page for the warnings, it may help you.

Hi @herman08, have you install apache package ? if yes, this file must be placed in /etc/apache2/sites-available/

after done these lines :

sudo a2ensite nextcloud.conf
sudo a2enmod rewrite
sudo a2enmod headers
sudo a2enmod env
sudo a2enmod dir
sudo a2enmod mime
sudo systemctl restart apache2

for a full install check this post : Making a nextcloud server on old laptop with personal domain - #5 by Mageunic

Security & setup warnings

It’s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.

There are some errors regarding your setup.

and when i clik “list of invalid scan” the error
Technical information

The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results

  • core
    • EXTRA_FILE
      • nextcloud.conf

Raw output

Array
(
[core] => Array
(
[EXTRA_FILE] => Array
(
[nextcloud.conf] => Array
(
[expected] =>
[current] => fef1d674567f2a09bb0c5c41c666bb3772bc8cf23e30dd93bbb63988ca07bcee3f3957eaafe768371f686319ad74ab735e508515de55050abb557965d605cd34
)

            )

    )

)

i already install package ,already placed in /etc/apache2/sites-available and already doing that command and already enabled all

@herman08 sorry, I forgot to tell you to delete nextcloud.conf from your nextcloud folder.

hi, finnaly after doing some research :thinking: :thinking: the nextcloud i update walah, the error is gone . thats is my final solution :grinning: :grinning:

thanks all.

1 Like