Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
THIS IS NO NEW INSTALLATION, I HAVE NEXTCLOUD UP AND RUNNING SINCE v18 NOW!
Nextcloud version (eg, 20.0.5): 25.0.3
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.5 LTS (GNU/Linux 5.4.0-139-generic x86_64)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.41 (Ubuntu)
PHP version (eg, 7.4): PHP 8.1.16
The issue you are facing:
Some users can not access their Files and Folders on the Web. They get an Error Message like “Directory is not available, please check log files or contact administrator”. So i started with
occ:scan -all . But this gets killed when scanning “uploads” folder or some other empty folder of those users who can see their folders. I can see memory raising till 100% and then the scan gets killed.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
i guess it only can be reproduced on my server…?!
The output of your Nextcloud log in Admin > Logging:
NOTHING RELATED TO THIS PROBLEM
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxxxxxx',
'passwordsalt' => 'XXXXXXXXX',
'secret' => 'XXXXXXXXX',
'trusted_proxies' =>
array (
0 => 'XXXXX',
1 => 'XXXXX',
2 => 'XXXXX',
),
'overwriteprotocol' => 'https',
'trusted_domains' =>
array (
0 => 'XXXXX',
1 => 'cloud.xxxx.xxx',
),
'htaccess.RewriteBase' => '/',
'datadirectory' => '/opt/nextcloud-data',
'dbtype' => 'mysql',
'version' => '25.0.3.2',
'overwrite.cli.url' => 'https://cloud.xxxxx.xxx',
'dbname' => 'nextcloud',
'dbhost' => 'localhost:3306',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'xxxxxxxxx',
'dbpassword' => 'xxxxxxxxxxxxxxxxxxxx',
'installed' => true,
'maintenance' => false,
'mysql.utf8mb4' => true,
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'memcache.local' => '\\OC\\Memcache\\APCu',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_smtpauth' => 1,
'mail_from_address' => 'xxxxx',
'mail_domain' => 'xxxxx.xxx',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'xxx.xxxxx.xx',
'mail_smtpport' => 'xxx',
'mail_smtpname' => 'xxxxx@xxxxx.xxx',
'mail_smtppassword' => 'xxxxxxxx',
'mail_smtpsecure' => 'ssl',
'theme' => '',
'loglevel' => 0,
'default_language' => 'de',
'default_locale' => 'de_DE',
'force_language' => 'de',
'force_locale' => 'de_DE',
'skeletondirectory' => '',
'updater.release.channel' => 'stable',
'default_phone_region' => 'DE',
'app_install_overwrite' =>
array (
0 => 'dashboard',
),
);
The output of your Apache/nginx/system log in /var/log/____
:
[Mon Feb 20 08:23:33.166036 2023] [php:error] [pid 117882] [client 1xxxxx:43036] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in /var/www/nextcloud/apps/files_sharing/lib/Cache.php on line 96
[Mon Feb 20 08:23:33.176005 2023] [php:error] [pid 117882] [client 1xxxxx:43036] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in Unknown on line 0
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
xxxxx@xxxxx:/var/www/nextcloud/data$ cat nextcloud.log
xxxxx@xxxxx:/var/www/nextcloud/data$
Its empty!