@j-ed
Here is my config:
<?php
$CONFIG = array (
'instanceid' => 'myinstanceid',
'passwordsalt' => 'mypasswordsalt',
'secret' => 'mysecret',
'allow_local_remote_servers' => true,
'blacklisted_files' =>
array (
0 => '.htaccess',
1 => 'Thumbs.db',
2 => 'thumbs.db',
),
'trusted_domains' =>
array (
0 => 'mydomain',
1 => 'myipv4',
2 => 'myipv6',
),
'datadirectory' => '/var/nextcloud_data',
'share_folder' => '/Mit mir geteilt',
'overwrite.cli.url' => 'mydomain',
'dbtype' => 'pgsql',
'version' => '29.0.7.1',
'dbname' => 'nextcloud_db',
'dbhost' => '127.0.0.1',
'dbport' => '5432',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud_db_user',
'dbpassword' => 'mydbpassword',
'installed' => true,
'default_phone_region' => 'DE',
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\PNG',
1 => 'OC\\Preview\\JPEG',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\BMP',
4 => 'OC\\Preview\\XBitmap',
5 => 'OC\\Preview\\Movie',
6 => 'OC\\Preview\\PDF',
7 => 'OC\\Preview\\MP3',
8 => 'OC\\Preview\\TXT',
9 => 'OC\\Preview\\MarkDown',
),
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'preview_max_scale_factor' => 1,
'memcache.local' => '\\OC\\Memcache\\APCu',
'overwriteprotocol' => 'https',
'logtimezone' => 'Europe/Berlin',
'log_rotate_size' => 26214400,
'auth.bruteforce.protection.enabled' => true,
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'updater.release.channel' => 'stable',
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
'overwriteprotocol' => 'https',
0 => 'Bots',
),
'mysql.utf8mb4' => true,
'ldapIgnoreNamingRules' => false,
'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '::1',
2 => 'mypiv4',
3 => 'myipv6',
),
'filelocking.enabled' => true,
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.5,
'dbindex' => 1,
),
'encryption.legacy_format_support' => false,
'maintenance_window_start' => 1,
);
My redis.conf (changes to standard)
bind 127.0.0.1 ::1
protected-mode yes
port 6379
tcp-backlog 511
unixsocket /var/run/redis/redis-server.sock
unixsocketperm 770
timeout 0
tcp-keepalive 300
daemonize yes
supervised no
pidfile /var/run/redis/redis-server.pid
loglevel notice
logfile /var/log/redis/redis-server.log
databases 16