Hi,
again an absolute beginner needs your help
I have a running Nextloud on my
- Raspi 4 (configured to aarch64, but no native x64 install)
- debian buster light + libseccomp2.4.4 installed
- omv, docker
This is my docker compose:
--- version: "2" services: nextcloud: image: linuxserver/nextcloud container_name: nextcloud environment: - PUID=998 - PGID=100 - TZ=Europe/Berlin volumes: - /srv/dev-disk-by-uuid-33d220fd-843b-4798-9b8d-0dc25c0bf9e9/appdata/nextcloud/config:/config - /srv/dev-disk-by-uuid-33d220fd-843b-4798-9b8d-0dc25c0bf9e9/appdata/nextcloud/data:/data depends_on: - mariadb restart: unless-stopped mariadb: image: linuxserver/mariadb:alpine container_name: mariadb environment: - PUID=998 - PGID=100 - MYSQL_ROOT_PASSWORD=mariadbpw - TZ=Europe/Berlin volumes: - /srv/dev-disk-by-uuid-33d220fd-843b-4798-9b8d-0dc25c0bf9e9/appdata/mariadb:/config restart: unless-stopped swag: image: linuxserver/swag container_name: swag cap_add: - NET_ADMIN environment: - PUID=998 - PGID=100 - TZ=Europe/Berlin - URL=mydomainduckdns.org - SUBDOMAINS=wildcard - VALIDATION=duckdns - DUCKDNSTOKEN=myToken volumes: - /srv/dev-disk-by-uuid-33d220fd-843b-4798-9b8d-0dc25c0bf9e9/appdata/swag:/config ports: - 443:443 - 82:80 restart: unless-stopped
Everything works fine, but when I’m trying to upload larger files (4GB) to a nextcloud folder with unlimited space (1.6 TB), the upload starts and the single upload packages are stored in: \appdata\nextcloud\data\user\uploads. Then when processing the files (I gues reassembling the packages) I get after 1 min the error: Error when assembling chunks, status code 504
This is what I’ve done so far, reading the manuals:
Within the nextcloud container:
docker exec -it nextloud bash
nano /etc/php7/php.ini
There I edited:
max_execution_time=3600
max_input_time = 3600
upload_max_filesize=10G
post_max_size= 10G
output_buffering = 0
Is this ok so far?
The log from /appdata/nextcloud/config/log/nginx tells me:
[error] 396#396: *1836 upstream timed out (110: Operation timed out) while reading response header from upstream, client: my.external.ip.adress, server: _, request: “MOVE /remote.php/dav/uploads/user/web-file-upload-da6567856f30bd968ef290590c2b19f9-1619720946027/.file HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “nextcloud.mydomain.duckdns.org”
I assume I have to work on the timeout settings in swag? But I do not want to mess around there without your advice. Anybody a hint?
Thanks in advance!
Flo