Server is uploading excessive amounts of data every night

Nextcloud version (eg, 20.0.5): 27.1.3-ls281
Operating system and version (eg, Ubuntu 20.04): Linux 5.19.14-Unraid x86_64
Apache or nginx version (eg, Apache 2.4.25): swag:2.7.4-ls253
PHP version (eg, 7.4): 8.2.10
I am using linuxserver’s docker containers for nextcloud and nginx/swag

The issue you are facing:

Every night my router is getting hit with a ton of data being uploaded in the range of 500gb to 1tb. Picture below is from last night.


I have tracked down that this data is coming from my Nextcloud container. I am not sure what is happening as stored on the server is only about 40gb of data between all the users. So I can’t understand why it would be sending out 10 to 20 times that amount of data every night. I assume it is trying to sync the clients but I am not exactly sure how to get further.

Is this the first time you’ve seen this error? (N):

Steps to replicate it:

If I start the container it will consistently upload data overnight. Stopping the container will stop the overnight data.

The output of your config.php file in /path/to/nextcloud

  GNU nano 7.2                                                             config.php                                                                        
<?php
$CONFIG = array (
  'datadirectory' => '/data',
  'instanceid' => '*',
  'passwordsalt' => '*',
  'secret' => '*',
  'trusted_domains' =>
  array (
    0 => '192.168.1.88:3434',
    1 => 'nextcloud.*.com',
  ),
  'trusted_proxies' =>
  array (
    0 => 'swag',
  ),
  'dbtype' => 'mysql',
  'version' => '27.1.3.2',
  'overwrite.cli.url' => 'https://nextcloud.*.com/',
  'overwritehost' => 'nextcloud.*.com',
  'overwriteprotocol' => 'https',
  'dbname' => 'nextcloud',
  'dbhost' => '192.168.1.88:3306',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '*!',
  'installed' => true,
  'theme' => '',
  'loglevel' => 2,
  'maintenance' => false,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'filelocking.enabled' => 'true',
  'memcache.locking' => '\\OC\\Memcache\\APCu',
  'memories.exiftool' => '/config/www/nextcloud/apps/memories/bin-ext/exiftool-amd64-musl',
  'memories.vod.path' => '/config/www/nextcloud/apps/memories/bin-ext/go-vod-amd64',
  'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
  'memories.vod.ffprobe' => '/usr/bin/ffprobe',
  'app_install_overwrite' =>
  array (
    0 => 'mindmap_app',
  ),
  'enabledPreviewProviders' =>
  array (
    0 => 'OC\\Preview\\Movie',
  ),
  'upgrade.disable-web' => true,
);

Output errors in nextcloud.log in /var/www/ pastebin blocked the file so I am just sharing the latest ones.

Error	core	Renewing session token failed	
2023-11-08T21:23:11-0500
Error	richdocuments	GuzzleHttp\Exception\ServerException: Server error: `GET https://collabora.*****.com/hosting/capabilities` resulted in a `522 ` response	
2023-11-01T09:32:49-0400
Error	core	Movie preview generation failed Output: ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers built with gcc 12.2.1 (Alpine 12.2.1_git20220924-r10) 20220924 configuration: --prefix=/usr --disable-librtmp --disable-lzma --disable-static --disable-stripping --enable-avfilter --enable-gnutls --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libmp3lame --enable-libopenmpt --enable-libopus --enable-libplacebo --enable-libpulse --enable-librist --enable-libsoxr --enable-libsrt --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-lto --enable-pic --enable-postproc --enable-pthreads --enable-shared --enable-vaapi --enable-vdpau --enable-vulkan --optflags=-O3 --enable-libjxl --enable-libsvtav1 --enable-libvpl libavutil 58. 2.100 / 58. 2.100 libavcodec 60. 3.100 / 60. 3.100 libavformat 60. 3.100 / 60. 3.100 libavdevice 60. 1.100 / 60. 1.100 libavfilter 9. 3.100 / 9. 3.100 libswscale 7. 1.100 / 7. 1.100 libswresample 5. 0.100 / 5. 0.100 libpostproc 57. 1.100 / 57. 1.100 /data/Hugh/files/Nextcloud intro.mp4: No such file or directory	
2023-10-29T19:09:18-0400