Nextcloud version (eg, 20.0.5): 21.0.2
Operating system and version (eg, Ubuntu 20.04): Linux 4.15.0-144-generic x86_64 (no more information - hosted environment)
Apache or nginx version (eg, Apache 2.4.25): no more information - hosted environment
PHP version (eg, 7.4): 7.4.19 (no more information - hosted environment)
The issue you are facing:
Another admin created a user with capital letters, which didn´t fit in our standard. Because it is not possible to change a username i deleted the user and created it with only lower-case letters.
David@Mail.Com was deleted
david@mail.com was created
Since then we get an error in our nextcloud log from the cron.php
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- create a user with capital letters
- delete the user
- create the same user without capital letters
The output of your Nextcloud log in Admin > Logging:
[files] Warning: initMountPoints() called with wrong user casing. This could be a bug. Expected: "david@mail.com" got "David@Mail.Com".
Stack: [
{"file":"\/www\/htdocs\/nextcloud20\/lib\/private\/Files\/Filesystem.php","line":377,"function":"initMountPoints","class":"OC\\Files\\Filesystem","type":"::"},
{"file":"\/www\/htdocs\/nextcloud20\/lib\/private\/legacy\/OC_Util.php","line":324,"function":"init","class":"OC\\Files\\Filesystem","type":"::"},
{"file":"\/www\/htdocs\/nextcloud20\/apps\/quota_warning\/lib\/CheckQuota.php","line":313,"function":"setupFS","class":"OC_Util","type":"::"},
{"file":"\/www\/htdocs\/nextcloud20\/apps\/quota_warning\/lib\/CheckQuota.php","line":133,"function":"getStorageInfo","class":"OCA\\QuotaWarning\\CheckQuota","type":"->"},
{"file":"\/www\/htdocs\/nextcloud20\/apps\/quota_warning\/lib\/CheckQuota.php","line":89,"function":"getRelativeQuotaUsage","class":"OCA\\QuotaWarning\\CheckQuota","type":"->"},
{"file":"\/www\/htdocs\/nextcloud20\/apps\/quota_warning\/lib\/Job\/User.php","line":40,"function":"check","class":"OCA\\QuotaWarning\\CheckQuota","type":"->"},
{"file":"\/www\/htdocs\/nextcloud20\/lib\/private\/BackgroundJob\/Job.php","line":52,"function":"run","class":"OCA\\QuotaWarning\\Job\\User","type":"->"},
{"file":"\/www\/htdocs\/nextcloud20\/lib\/private\/BackgroundJob\/TimedJob.php","line":59,"function":"execute","class":"OC\\BackgroundJob\\Job","type":"->"},
{"file":"\/www\/htdocs\/nextcloud20\/cron.php","line":150,"function":"execute","class":"OC\\BackgroundJob\\TimedJob","type":"->"}]
GET /cron.php
at 2021-06-18T11:25:01+00:00
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'instanceid',
'passwordsalt' => 'passwordsalt',
'secret' => 'secret',
'trusted_domains' =>
array (
0 => 'cloud.domain.com',
1 => 'www.cloud.domain.com',
),
'datadirectory' => '/www/htdocs/nextcloud20/data',
'dbtype' => 'mysql',
'version' => '21.0.2.1',
'overwrite.cli.url' => 'https://cloud.domain.com/',
'dbname' => 'dbname',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'dbtableprefix',
'mysql.utf8mb4' => true,
'dbuser' => 'dbuser',
'dbpassword' => 'dbpassword',
'installed' => true,
'tempdirectory' => '/www/htdocs/nextcloud20/tmp/',
'mail_smtpmode' => 'sendmail',
'mail_sendmailmode' => 'pipe',
'mail_from_address' => 'mail',
'mail_domain' => 'mail.com',
'maintenance' => false,
'theme' => '',
'loglevel' => 2,
'htaccess.RewriteBase' => '/',
'simpleSignUpLink.shown' => false,
'default_language' => 'de',
'default_locale' => 'de_DE',
'skeletondirectory' => '',
'trashbin_retention_obligation' => 'auto, 30',
'updater.release.channel' => 'stable',
'app_install_overwrite' =>
array (
0 => 'files_3d',
),
);
The output of your Apache/nginx/system log in /var/log/____
: no access (hosted environment)