My config.php:
<?php
$CONFIG = array (
'instanceid' => '*',
'passwordsalt' => '*',
'secret' => '*',
'trusted_domains' =>
array (
0 => '*',
1 => '192.168.2.2',
2 => '192.168.178.30',
),
'datadirectory' => '/home/*/nextcloud/nextcloud_data',
'overwrite.cli.url' => 'https://*/nextcloud',
'dbtype' => 'mysql',
'version' => '9.1.0.16',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => '*',
'logtimezone' => 'Europe/Berlin',
'log_type' => 'owncloud',
'logfile' => '/var/log/nextcloud.log',
'loglevel' => '2',
'log_rotate_size' => '104857600',
'installed' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'appstore.experimental.enabled' => true,
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_from_address' => '*',
'mail_domain' => '*',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => '*',
'mail_smtpname' => '*',
'mail_smtppassword' => '*',
'loglevel' => 1,
'maintenance' => false,
);
I can’t find the log file in /var/log/nextcloud.log
But in my Data Directory. Is there a syntax error? I want to configure fail2ban.
Nextcloud 10, Stable, Bananian Linux like Debian, Banana PI 1