Increase WebDAV file upload limits in nextcloud AIO

The Basics

  • Nextcloud Server version:
    • 33.0.2
  • Operating system and version:
    • Ubuntu 24.04
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • Cloudflare Tunnel

Summary of the issue you are facing:

Recently, I installed nextcloud AIO via docker compose on a fresh install of ubuntu 24.04 running on a VPS. The only other programs installed are the cloudflare daemon and portainer running in another docker container. I installed it based on the instructions for cloudflare tunnels, however, it is set to bypass right now because WebDAV would not work otherwise.

The issue I am facing arised when I attempted to set up goodnotes sync with the WebDAV server. For the most part it worked fine, however, it failed with one of my documents which is 175Mb. Additionally, I’ve been able to trigger this by uploading the same file via windows 11.

Configuration

Nextcloud Docker Compose

name: nextcloud-aio

services:
  nextcloud-aio-mastercontainer:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: always
    container_name: nextcloud-aio-mastercontainer
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
    network_mode: bridge
    ports:
      - "8080:8080"
    environment:
      APACHE_PORT: 11000
      APACHE_IP_BINDING: 0.0.0.0
      APACHE_ADDITIONAL_NETWORK: ""
      SKIP_DOMAIN_VALIDATION: true
      NEXTCLOUD_MEMORY_LIMIT: 2048M
      NEXTCLOUD_MAX_TIME: 12000
      NEXTCLOUD_UPLOAD_LIMIT: 32G
      PHP_UPLOAD_LIMIT: 100G

volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer
    external: true

How did it fail? What’s the error? When you say from Windows, how precisely? Via Microsoft’s WebDAV client? Via the Nextcloud Desktop client? etc.

Server logs?

I would suggest testing via the Web UI to eliminate extra variables.

I installed it based on the instructions for cloudflare tunnels, however, it is set to bypass right now because WebDAV would not work otherwise.

How are you accessing your instance if Cloudflare Tunnel is disabled at the moment?

In general, there are no upload limits in AIO that you’d hit anywhere near the 100MB mark. This still sounds like something at the Cloudflare level given the range, but most specific details are needed.

1 Like

I was originally using the built in windows 11 file explorer and the webdav share mounted to a drive letter, and when I attempted to uploaded the same file I received the error code 0x800700DF, however, now I can no longer remount the share, though this seems to be a windows issue as goodnotes is still able to sync files (aside from the large one previously mentioned).

I am, however, able to upload this file via the web UI.

Nextcloud logs: Orchestrator/nextcloud.log at master · CanineData/Orchestrator · GitHub

The access policy in cloudflare trust is set to bypass currently, I did not mean that the tunnel itself was disabled.

How would I go about diagnosing whether or not cloudflare is at fault?

Then, yes, this is Cloudflare. When using the Nextcloud clients, you can use chunking to stay under CF’s 100MB limit. When using non-Nextcloud clients, it’ll depend whether whatever you’re using supports NC’s chunking. Or you don’t use CF.

See AIO: Cloudflare Caveats

1 Like

Alright thanks for the help