Hello there!
I deployed nextcloud (image: linuxserver:nextcloud, vers. 20.0.4), mariadb and redis using docker-compose on a debian host. See my docker-compose.yml at the end of this post. I connected to the mariadb and logged in. So far, so good. 3 questions:
- While Iām sure that the mariadb works fine, Iād like to make sure that redis does itās job.
I edited the beginning of my nextcloud_config/www/nextcloud/config/config.php
as follows:
<?php
$CONFIG = array (
āmemcache.localā => ā\OC\Memcache\Redisā,
āmemcache.distributedā => ā\OC\Memcache\Redisā,
āmemcache.lockingā => ā\OC\Memcache\Redisā,
āredisā =>
array (
āhostā => āredisā,
āportā => 0,
ātimeoutā => 0,
ādbindexā => 0,
),
I am wondering if the syntax is ok like this. The official nextcloud docs use one "" only :
āmemcache.distributedā => ā\OC\Memcache\Redisā,
The log of my running stack shows pages full of
Is that supposed to look like this? How may I get confirmation, that redis works?
-
I would like to make sure that Upload filesize and timeout are set properly. I have read, that I need to set some variables in [/etc/php7/php.ini] and [/etc/php/conf.d/zzz-custom.ini]. I am refering to the variables
change client max body size
upload_max_filesize
post_max_size
But I am not able to locate these directories and files. Did they move? Could you please help me out? -
Iād like to download and enable the Community Document Server. But my attempt to do so fail with the following error messages:
Error PHP Out of memory (allocated 12582912) (tried to allocate 378292112 bytes) at /config/www/nextcloud/lib/private/Installer.php#287
Error settings GuzzleHttp\Exception\ConnectException: cURL error 28: Operation timed out after 120000 milliseconds with 203445820 out of 378283893 bytes received (see libcurl - Error Codes)
Has this something to do with the issues described in point 1 or 2? How to fix?
Thank you very much in advance. Canāt wait to get Nexcloud properly up and running!
version: ā2.1ā
services:
nextcloud:
image: Package nextcloud Ā· GitHub
container_name: nextcloud
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Oslo
- REDIS_HOST=redis
- NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.subseascanning.com
volumes:
- /var/lib/docker/volumes/nextcloud_config:/config
- /var/lib/docker/volumes/nextcloud_data:/data
ports:
- 21005:443
depends_on:
- mariadb
- redis
restart: always
mariadb:
image: ghcr.io/linuxserver/mariadb:latest
container_name: mariadb_nc
environment:
End - PUID=1000
- PGID=1000
- TZ=Europe/Oslo
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=root
- FILE__MYSQL_PASSWORD=/home/dejhost/compose/setup/mysql_password
volumes:
- /var/lib/docker/volumes/mariadb_nc_config:/config
ports:
- 21006:3306
restart: always
redis:
image: redis:latest
container_name: redis_nc
ports:
- ā21001:6379ā
restart: always