Cant locate any config files in Nextcloud-AIO

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
  • Operating system and version (e.g., Ubuntu 24.04):
    • Unraid 6.12.13
  • Web server and version (e.g, Apache 2.4.25):
    • replace me
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.3.13
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)
    • Nextcloud-aio
  • Are you using Cloudflare, mod_security, or similar? (Yes / No)
    • Cloudflare

Summary of the issue you are facing:

I’m running Unraid with nextcloud installed from the aio - this was done following this video:

After a bit of tweaking etc. I got it all working, and I can upload smaller files, but I’m running into issues with uploading larger files… after doing some reading into it and asking a couple of people on discord, I think I need to alter the chunk sizes in apache etc. config files… and I cant seem to find them anywhere, they dont seem to be in their usual places, or anywhere people say to look for them! I dont know if this is down to it being an aio installation or something, but it’s driving me crazy, because I cant upload 90% of my files and make use of nextcloud properly!

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

There’s too many logs that mean nothing to me here, so if any of the raw logs from the below help, let me know!

Hi, see GitHub - nextcloud/all-in-one: 📦 The official Nextcloud installation method. Provides easy deployment and maintenance with most features included in this one Nextcloud instance.

Thanks!

Are you referring to this?

if I’m reading this right, it means that enabling chunking would let me upload bigger files? if so, is there anywhere that explains how to enable chunking?

Which client? The only one I’m aware of that exceeds 100 MB by default is the Desktop client (though the iOS client I believe uses exactly 100 MB when on WiFi ).

The Desktop client’s maxChunkSize can be overrriden by following the instructions in the Desktop Client Manual.

1 Like

All of them as far as I’m aware, it wont work uploading through a browser either

Just gone to check to make sure - Followed the file location and everything exactly from the desktop client manual - it says the chunk size settings should be in the config file in nextcloud the %appdata% folder, and there’s nothing there!!

I’m about ready to give up with nextcloud I think, I’ve spent hours following guides etc. to find config files that arent even there, or dont contain what they say they do!

image

Then your issue is something else. The web UI in <=v30 uses a 10MB default chunk size.

I would suggest eliminating some variables to isolate the cause of your problem.

Also make sure things like Rocket loading are off in CF. It may have nothing to do with Cloudflare, but if you can easily eliminate it by disabling CF’s proxy feature entirely (to test).

Basically simplify by removing the pieces you can to isolate the cause.

AIO is already a self-tuned stack. Changing parameters within it should not be necessary just to get a basic deployment going. The kind of problems you’re describing would usually be reverse proxy related or… well there are other possibilities.

When you upload via the web browser, monitor the Network tab in your browser inspector (and check the Console tab after too). When the upload fails there may be some clues in there.

it says the chunk size settings should be in the config file in nextcloud the %appdata% folder, and there’s nothing there!!

They’re not already there. They have defaults. You add them if you want to change them.

1 Like