Support intro
Nextcloud 26 in Docker, apache-stable image, MariaDB 10-5.19
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:
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 :heart:
Nextcloud version (eg, 20.0.5): 26.0.0
Operating system and version (eg, Ubuntu 20.04): replace me
Apache or nginx version (eg, Apache 2.4.25): replace me
PHP version (eg, 7.4): 8.1.17
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- Start container
- log into NC
- Goto Files-Media folder
- Host Crash
Issues: I have a large data directory of 500GB images which I am mapping as a volume to the Nextcloud container. One of the subfolders has about 1000 files in one directory.
When I log in via (any) web browser and access the folder with 1000 images, the NC container activity goes through the roof and browser becomes unresponsive. After 1 minute or 2 the entire host systems breaks down and reboots.
Host system has ARM processor, 4 cores, 4GB ram
What I have tried:
- restrict NC container to 525MB / 1GB memory
- restrict NC container to 1.0-3.5 CPU
- add Redis caching with / without vm.overcommit_memory=1 options
I cannot stabilise the container once I enter said folder. What is NC doing there that takes so much activity and how can I stabilise the container?
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => 'ockrumwjt7bi',
'passwordsalt' => 'aaa',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'x.x.x.x:8585',
1 => 'myDomain',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '26.0.0.11',
'overwrite.cli.url' => 'http://1x.x.x.x:8585',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'xxx',
'installed' => true,
# 'memcache.locking' => '\\OC\\Memcache\\Redis',
# 'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.local' => '\\OC\\Memcache\\APCu',
# 'redis' =>
# array (
# 'host' => 'redis',
# 'password' => '',
# 'port' => 6379,
# ),
);
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
PASTE HERE
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.
PASTE HERE