Nextcloud VM crashing due to large files being uploaded

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Hello. I am trying to upload large mp4 files to my Nextcloud VM in proxmox, but everytime the file is more than 5 GB, the entire VM crashes. The SCSI controller is set to VirtIO SCSI single and IO threading is enabled. I would have replied this on the thread Nextcloud VM Crashes When Syncing Large Files , but the thread is locked.

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud Hub 10 (31.0.13)
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 13
  • Web server and version (e.g, Apache 2.4.25):
    • 2.4.25
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • 8.2.29
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • When uploading large files
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

When uploading large files that are 5 GB+, the VM will crash.

Log entries

Journalctl logs for VM: Apr 20 02:38:11 proxmoxserver pvedaemon[1510478]: start VM 107: UPID:proxmoxserv - Pastebin.com

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.

https://pastee.dev/p/kMggNnC8

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

https://pastebin.com/9TudZxNR

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

https://pastebin.com/uuyguWxb

Apps

The output of occ app:list (if possible).

https://pastebin.com/N3xNAjWM

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

I’ve been running Nextcloud AIO on Proxmox for almost 3 years without stability issues, including daily work with files 10 GB+.

I’ve documented my large file sync tests here:
https://help.nextcloud.com/t/testing-large-file-synchronization-with-nextcloud-aio-and-nginx-proxy-june-2025-update/226681

And here is the complete deployment guide of my setup (Proxmox + Nginx Proxy Manager + Nextcloud AIO + Watchtower):
https://help.nextcloud.com/t/proxmox-nginx-nextcloud-aio-watchtower-deployment-guide/233643

If I can suggest one thing: avoid using Proxmox helper scripts for this type of installation. Stick to the official Nextcloud AIO documentation (which my guide follows) and you should not see VM crashes from large file uploads.

2 Likes

Let me guess: Your VM’s RAM happens to be 5GB-10GB?

Have you configured PHP/PHP-FPM to upload files somewhere other then the tmp folder (RAM)?

Thank you. I will look at these soon.

I did not configure PHP/PHP-FPM. Where would I edit this, please?

Just to answer this…

I’ve been running the Nextcloud VM since around 2016 (when Nextcloud was founded) - without any issues. :wink:

AIO is great and @szaimen is doing a great job. I’m not arguing against that - just that both images works really good.

This script installs the TurnKey ISO, as you can see here: https://github.com/community-scripts/ProxmoxVE/blob/19c5671d3fdcddc55c592b822592acc496eb4e60/vm/nextcloud-vm.sh#L467

I have no idea how PHP-FPM is configured in the TurnKey ISO, nor whether they even use it.

In case you don’t get any further help here, It might also be worth asking here or here, and of course here.

1 Like

Thank you for sharing this. I went ahead and deleted my existing nextcloud instance for this, downloaded the 500 GB version but when viewing the installation guide I get this message:

Would you have the installation guide? Thanks!