System Information
- Nextcloud version (eg, 12.0.2): 18.0.0 (installed with Docker, see details below)
- Host system: Linux raspberrypi 4.19.66-v7+ #1253 SMP Thu Aug 15 11:49:46 BST 2019 armv7l GNU/Linux
- Docker version: 19.03.5, build 633a0ea
- docker-compose version: 1.24.1, build 4667896
- docker-compose file:
version: '2'
volumes:
db:
driver: local
data:
driver: local
services:
db:
image: postgres:alpine
mem_limit: 50m
volumes:
- db:/var/lib/postgresql/data
env_file:
- db.env
networks:
- internal
app:
image: nextcloud:apache
mem_limit: 300m
hostname: <my-hostname>
depends_on:
- db
env_file:
- db.env
- app.env
networks:
- web
- internal
ports:
- 8080:80
labels:
- traefik.enable=true
- traefik.frontend.rule=Host:<my-hostname>
- traefik.port=80
- traefik.docker.network=web
volumes:
- data:/var/www/html
networks:
web:
external: true
internal:
The issue you are facing:
Sometimes, Nextcloud takes all of the available RAM and Swap memory. When it happens, I have no choice but to stop the container. I noticed that it happens when I switch from one tab to another. For instance, I first visit the “Activity” tab, then click on the “Files” tab, but instead of loading the tab, it will keep loading while the memory is being filled on my Raspberry.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Visit the Activity tab
- Click on another tab
Sorry, I cannot give more details for now, I don’t understand at all what is going on. Most of the time, it works fine.
The output of your Nextcloud log in Admin > Logging:
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'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,
),
),
'passwordsalt' => 'W1ADxxD5S7ZesWZdRinlwPTly6Sujw',
'secret' => 'xvHTw1FrhQpo2kGTMGMFzLCpl9mzTBriijryuMaDKV+h5Um0',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '<my-domain>',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '18.0.0.10',
'overwrite.cli.url' => 'http://localhost',
'overwriteprotocol' => 'https',
'dbname' => 'nextcloud',
'dbhost' => 'db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_admin',
'dbpassword' => '<db-pasword>',
'installed' => true,
'instanceid' => 'oce7wys7ujj6',
'maintenance' => false,
);