[/details]
Nextcloud version (eg, 12.0.2): 18.0.0
Operating system and version (eg, Ubuntu 17.04): 18.04
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version (eg, 7.1): 7.4.4
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N):N
Steps to replicate it:
- Fresh installation of NC 18
- Everything is fine
- Mounted 2 Tb external hdd in /etc/fstab
-
sudo -u www-data php /var/www/nextcloud/occ files:scan --all
throws error
The output of your Nextcloud log in Admin > Logging:
[PHP] Error: Trying to access array offset on value of type null at /var/www/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php#5230
GET /settings/user
from 192.168.178.32 by Matthias at 2020-03-29T12:17:36+00:00
The output of your config.php file:
<?php
$CONFIG = array (
'instanceid' => '',
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => '192.168.178.68:880',
),
'datadirectory' => '/media/sda1/nextcloud/nc_data/Matthias/files',
'dbtype' => 'mysql',
'version' => '18.0.0.10',
'overwrite.cli.url' => 'http://192.168.178.68:880/',
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis-server.sock',
'port' => 0,
'timeout' => 0.0,
),
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'Matthias',
'dbpassword' => '',
'installed' => true,
);
Do I have to change the fstab options? I can write into the datadirectory as user www-data nonetheless. Permissions are all set accordingly. What am I missing here? No additional apps are installed.