(NextcloudPi) Uploads written to local storage, not reaching external storage?

Setup description

I am running nextcloudpi on a Raspberry Pi 3.
I configured it to use external storage, which is two merged (via mergerfs) SSDs.
My system broke down after a power outage yesterday and I set it up anew, with the specs below.
Now I tried to upload photos from my mobile phone to the external storage using the nextcloud client (auto upload option). In the previous setup, this went flawlessly for several months. Now my raspberry pi did not report increased storage usage on the external storage, but instead recently reported too high storage usage (28GiB) on the local SD card, which is hosting the OS and nextcloud.

Closer inspection yielded that all uploads seem to be stuck in /var/www/nextcloud/data/ncp/uploads (24GiB).
How could this happen? Is it safe to preliminarly delete the contents of this folder?

NextCloudPi version v1.35.0
Nextcloud version (eg, 20.0.5): 20.0.8.1
Operating system and version (eg, Ubuntu 20.04): Debian GNU/Linux 10 (buster)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.38 (Debian)
PHP version (eg, 7.4): PHP 7.3.27-1~deb10u1 (cli) (built: Feb 13 2021 16:31:40) ( NTS )

The issue you are facing:

Gigantic amounts of data stuck in /var/www/nextcloud/data/ncp/uploads, even after reboots

--- /var/www/nextcloud/data/ncp/uploads ---------------------------------------------------------------------------------------------
                         /..                                                                                                         
  368.9 MiB [##########] /d301575470b329ad7c5d8726be2f3d4b
  368.9 MiB [##########] /bf3e50278a288ce695111037ee0d69eb
  368.9 MiB [##########] /4adc52dabb3312aaa9fdefb9ad20f4b9
  368.9 MiB [##########] /38c9cf79facb1d8976480f06cca2bc09
  368.9 MiB [##########] /142e603f70f99516777c99061fd4de15
  368.9 MiB [##########] /1308e09d4503099b9f87064a35ea3b70
  342.5 MiB [######### ] /f05cc4cdf36474bd34460215301d1857
  342.5 MiB [######### ] /dc9f97ba06ae4e4510cde5248ee8df16
  342.5 MiB [######### ] /ce83a32b79b339ff0ecbf9c8778364e0
  342.5 MiB [######### ] /8da93a86d7955bba65ff9a0e294de04b
  342.5 MiB [######### ] /58e10cc690ff5998c2fb275ad3cc4b82
  217.0 MiB [#####     ] /eabb65d87c7122d2a617eb2103752f18
  217.0 MiB [#####     ] /dcae2da61d992453a389f6c0d9cbc735
  217.0 MiB [#####     ] /cbb6f491523bdac619f0122efb2c9fc0
  217.0 MiB [#####     ] /233175558760c74ba45b0bf01ac0e579
   39.8 MiB [#         ] /b990c6289216e00ada72910e16aae0bd
   39.8 MiB [#         ] /af15aca9fe6f7ea884b9b971ed95569c
   39.8 MiB [#         ] /a7411b1822d99798e50a8e3c2cc68481
   39.8 MiB [#         ] /a322c6520cdd113e79bc0316ed95f2a6
   39.8 MiB [#         ] /8b68f898bf31d28d7f364c50d7ee833f
   39.8 MiB [#         ] /4ce8519988239a0b868065f060713158
   21.6 MiB [          ] /db38161c243b3f305d35a41ff05f24da
   21.6 MiB [          ] /d52aa8ea16c33c943b512e0500a184f9
   21.6 MiB [          ] /a04e142e4e903fe354fe4ce1acf3f1eb
   21.6 MiB [          ] /686d0f7ea3b9148c7dc75ba30da91456

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

The output of your Nextcloud log in Admin > Logging:
My Pi is currently in Maintenance mode to prevent further writes to the SD. How can I access the logs?

Error	RedisException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error. at /var/www/nextcloud/lib/private/Memcache/Redis.php#65	
2021-03-08T22:15:02+0100
Error	RedisException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error. at /var/www/nextcloud/lib/private/Memcache/Redis.php#65	
2021-03-08T22:15:02+0100
Fatal	RedisException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.	
2021-03-08T22:15:02+0100
Fatal	RedisException: MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapshotting fails (stop-writes-on-bgsave-error option). Please check the Redis logs for details about the RDB error.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

 'trusted_domains' => 
  array (
    0 => 'localhost',
    5 => 'nextcloudpi.local',
    7 => 'nextcloudpi',
    8 => 'nextcloudpi.lan',
    1 => '192.168.178.54',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '20.0.8.1',
  'overwrite.cli.url' => 'https://192.168.178.54/',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'ncadmin',
  'dbpassword' => 'N3SKJh3Qsc1CTmS1iK4hqDYkKi6cmjA9Yss/yt71Obs=',
  'installed' => true,
  'instanceid' => 'ocwn0g3teaag',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
    'timeout' => 0.0,
    'password' => '5I5wzFqhauV12MsLXT+K6ICAc5QVHoeRj2dfwQkjTTE=',
  ),
  'tempdirectory' => '/var/www/nextcloud/data/tmp',
  'mail_smtpmode' => 'sendmail',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_from_address' => 'admin',
  'mail_domain' => 'ownyourbits.com',
  'preview_max_x' => '2048',
  'preview_max_y' => '2048',
  'jpeg_quality' => '60',
  'overwriteprotocol' => 'https',
  'htaccess.RewriteBase' => '/',
  'theme' => '',
  'maintenance' => true,
  'loglevel' => 2,
);

The output of your Apache/nginx/system log in /var/log/apache2/nc-error.log:

41450] AH00646: Error writing to /var/log/apache2/nc-access.log
[Mon Mar 08 20:44:48.068648 2021] [log_config:warn] [pid 5511:tid 547272782224] (28)No space left on device: [client 192.168.178.100:45309] AH00646: Error writing to /var/log/apache2/nc-access.log
[Mon Mar 08 20:44:48.586796 2021] [log_config:warn] [pid 5511:tid 546568122768] (28)No space left on device: [client 192.168.178.100:41248] AH00646: Error writing to /var/log/apache2/nc-access.log
[Mon Mar 08 20:44:49.068168 2021] [log_config:warn] [pid 5511:tid 546601693584] (28)No space left on device: [client 192.168.178.100:49675] AH00646: Error writing to /var/log/apache2/nc-access.log
[Mon Mar 08 20:44:49.583475 2021] [log_config:warn] [pid 5511:tid 547222426000] (28)No space left on device: [client 192.168.178.100:33658] AH00646: Error writing to /var/log/apache2/nc-access.log
[Mon Mar 08 20:44:57.073896 2021] [log_config:warn] [pid 5511:tid 547096600976] (28)No space left on device: [client 192.168.178.100:33699] AH00646: Error writing to /var/log/apache2/nc-access.log
[Mon Mar 08 20:44:57.466532 2021] [log_config:warn] [pid 5511:tid 547359068560] (28)No space left on device: [client 192.168.178.100:53475] AH00646: Error writing t[Tue Mar 09 07:05:33.093551 2021] [ssl:warn] [pid 801:tid 547881387376] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Mar 09 07:05:33.105481 2021] [ssl:error] [pid 801:tid 547881387376] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 0112307086B5A933D74576F54C8FD74C8207A8AF / notbefore: Nov 27 22:55:31 2020 GMT / notafter: Nov 25 22:55:31 2030 GMT]
[Tue Mar 09 07:05:33.105723 2021] [ssl:error] [pid 801:tid 547881387376] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Tue Mar 09 07:05:33.242012 2021] [ssl:warn] [pid 974:tid 547881387376] AH01909: localhost:443:0 server certificate does NOT include an ID which matches the server name
[Tue Mar 09 07:05:33.242884 2021] [ssl:error] [pid 974:tid 547881387376] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: CN=archlinux / issuer: CN=archlinux / serial: 0112307086B5A933D74576F54C8FD74C8207A8AF / notbefore: Nov 27 22:55:31 2020 GMT / notafter: Nov 25 22:55:31 2030 GMT]
[Tue Mar 09 07:05:33.243028 2021] [ssl:error] [pid 974:tid 547881387376] AH02604: Unable to configure certificate localhost:443:0 for stapling
[Tue Mar 09 07:36:35.684462 2021] [access_compat:error] [pid 979:tid 547423752592] [client 192.168.178.104:43028] AH01797: client denied by server configuration: /var/www/nextcloud/config

This issue basically resolved itself by running the permission fixing script for the data folder. The data was eventually just deleted from the upload folder. However after a fresh install of the nextcloud app, I could restart the affected auto-uploads.