<?php
$CONFIG = array (
'passwordsalt' => 'removed',
'secret' => 'removed',
'trusted_domains' =>
array (
0 => '192.168.178.12',
1 => 'mydomain.com',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '29.0.1.1',
'overwrite.cli.url' => 'https://mydomain.com',
'dbname' => 'nextcloud_db',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud_db_user',
'dbpassword' => 'removed',
'installed' => true,
'instanceid' => 'ocfj09ydf7l8',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => '0',
'dbindex' => '0',
'timeout' => '0.5',
'password' => 'removed',
),
'memcache.local' => '\\OC\\Memcache\\Redis',
'filelocking.enabled' => 'true',
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'upgrade.disable-web' => true,
'log_type' => 'file',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'loglevel' => '2',
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'mail_smtpmode' => 'smtp',
'remember_login_cookie_lifetime' => '2520168',
'auto_logout' => false,
'log_rotate_size' => '0',
'trashbin_retention_obligation' => 'auto, 60',
'versions_retention_obligation' => 'auto, 180',
'activity_expire_days' => '120',
'simpleSignUpLink.shown' => false,
'default_phone_region' => 'de',
'logtimezone' => 'Etc/UTC',
'htaccess.RewriteBase' => '/',
'mail_sendmailmode' => 'smtp',
'mail_smtpsecure' => 'ssl',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_from_address' => 'mail',
'mail_domain' => 'removed',
'mail_smtphost' => 'removed',
'mail_smtpport' => '465',
'mail_smtpname' => 'removed',
'mail_smtppassword' => 'removed',
'preview_concurrency_new' => '6',
'preview_concurrency_all' => '12',
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Imaginary',
1 => 'OC\\Preview\\Image',
2 => 'OC\\Preview\\MarkDown',
3 => 'OC\\Preview\\MP3',
4 => 'OC\\Preview\\TXT',
5 => 'OC\\Preview\\OpenDocument',
6 => 'OC\\Preview\\Movie',
7 => 'OC\\Preview\\Krita',
),
'preview_imaginary_url' => 'http://127.0.0.1:9000',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'preview_max_memory' => '256',
'maintenance' => false,
);
Steps To Reproduce
Hello guys :)
thank you for the awesome VM.
After upgrading from Nextcloud 28.0.6 to 29.0.1 I see the following security warning in the admin web interface:
Your data directory and files are probably accessible from the internet. The .htaccess file is not working. It is strongly recommended that you configure your web server so that the data directory is no longer accessible, or move the data directory outside the web server document root.
Expected Result
No security warning because I didn't change anything manually and the warning was not there in 28.0.6.
If you need any more information, I'll provide it. Thank you in advance :)
Actual Result
I get a security warning. I checked some other threads about this error, but I think my configs are fine:
/var/www/nextcloud/config/config.php
/etc/apache2/sites-available/mydomain.com.conf
Build Version
29.0.1
Environment
By using the scripts
Environment Details
Ubuntu 22.04.4 with ZFS on Proxmox.
php -vapache -v