multiple upload of files is not allowed, only one file is allowed

Nextcloud version (eg, 20.0.5): Nextcloud 28.0.2
Operating system and version (eg, Ubuntu 20.04): CentOS Stream release 9
Apache or nginx version (eg, Apache 2.4.25): Server version: Apache/2.4.57 (CentOS Stream) Server built: Oct 4 2023 00:00:00
PHP version (eg, 7.4): PHP 8.2.15 (cli) (built: Jan 16 2024 12:19:32) (NTS gcc x86_64) Copyright (c) The PHP Group Zend Engine v4.2.15, Copyright (c) Zend Technologies with Zend OPcache v8.2.15, Copyright (c), by Zend Technologies

The issue you are facing:
multiple upload of files is not allowed, only one file is allowed

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

The output of your Nextcloud log in Admin > Logging:

{"reqId":"Zb3TxBQxV_QjGyl7BrFldAAAAEA","level":3,"time":"2024-02-03T13:48:53+08:00","remoteAddr":"192.168.50.208","user":"adminroot","app":"no app in context","method":"PUT","url":"/remote.php/dav/files/adminroot/New%20folder/Gordon-College-NCM-109-Topic-3-pregnant-woman-with-preexisting-and-newly-acquired-illness.pdf","message":"settings is empty.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","version":"28.0.2.5","data":[],"id":"65bdd3d6dbc64"}

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

?php
$CONFIG = array (
  'instanceid' => 'ocagvneip6l0',
  'passwordsalt' => 'sdtOA4YG65u0XJMJ3WOD0/8ze1FLu5',
  'secret' => 'xxxxxxxxxxxxxxxxxx',
  'trusted_domains' =>
  array (
    0 => '192.168.50.221',
    1 => 'xxxx.com',
  ),
  'datadirectory' => '/home/xxx/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '28.0.2.5',
  'overwrite.cli.url' => 'http://192.168.50.221/nextcloud',
  'dbname' => 'xxxDB28_0_1',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oc_adminlinux4',
  'dbpassword' => 'xxxxxxxxxx',
  'installed' => true,
  'skeletondirectory' => '',
  'default_phone_region' => 'xx',
  'filelocking.enabled' => true,
  'maintenance_window_start' => 1,
  'logtimezone' => 'xxxxxxx',
  'loglevel' => 3,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 0.0,
  ),
  'mail_from_address' => 'xxxxxxx',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'xxxxxxx',
  'mail_smtphost' => 'xxxxxxxxxx',
  'mail_smtpport' => 'xxx',
  'mail_smtpauth' => 1,
  'mail_smtpname' => 'xxxxxxxxxxx',
  'mail_smtppassword' => 'xxxxxxxxxx',
  'defaultapp' => '',
  'maintenance' => false,
  'updater.secret' => 'xxxxxxxxxxxxxxxx',
  'theme' => '',
  'app_install_overwrite' =>
  array (
    0 => 'file_upload_notification',
  ),
);

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

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using fe80::d6f5:efff:fe90:f0c8%eno5. Set the 'ServerName' directive globally to suppress this message
[Mon Jan 29 09:15:26.810869 2024] [lbmethod_heartbeat:notice] [pid 4642:tid 4642] AH02282: No slotmem from mod_heartmonitor
[Mon Jan 29 09:15:26.813394 2024] [mpm_event:notice] [pid 4642:tid 4642] AH00489: Apache/2.4.57 (CentOS Stream) configured -- resuming normal operations
[Mon Jan 29 09:15:26.813413 2024] [core:notice] [pid 4642:tid 4642] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Mon Jan 29 09:15:43.364750 2024] [access_compat:error] [pid 4647:tid 4816] [client 192.168.50.208:52753] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata
[Mon Jan 29 09:17:57.786789 2024] [access_compat:error] [pid 4647:tid 4852] [client 192.168.50.208:52865] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata
[Mon Jan 29 09:18:24.459606 2024] [access_compat:error] [pid 4895:tid 4958] [client 192.168.50.208:52890] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata
[Mon Jan 29 09:20:51.935298 2024] [access_compat:error] [pid 4895:tid 4944] [client 192.168.50.208:52945] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata
[Mon Jan 29 09:41:56.681435 2024] [access_compat:error] [pid 4645:tid 4783] [client 192.168.50.208:53468] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata
[Mon Jan 29 09:43:56.642793 2024] [access_compat:error] [pid 4895:tid 4957] [client 192.168.50.208:53497] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata
[Mon Jan 29 09:54:43.562915 2024] [access_compat:error] [pid 4647:tid 4850] [client 192.168.50.208:53720] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata
[Mon Jan 29 09:57:32.716646 2024] [access_compat:error] [pid 4646:tid 4811] [client 192.168.50.208:53804] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata
[Mon Jan 29 10:01:47.959468 2024] [access_compat:error] [pid 4647:tid 4802] [client 192.168.50.208:53909] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata
[Mon Jan 29 10:02:26.762203 2024] [access_compat:error] [pid 4895:tid 4952] [client 192.168.50.208:53936] AH01797: client denied by server configuration: /home/owncloud/nextcloud/data/.ocdata

thanks

I downloaded and installed again the new NextCloud version 28.0.2 on linux with apache and mysql and it successfully installed and I got it working.

although I tried to upload 8 files again but only one was uploaded

thanks

see this one on github

1 Like

Probably unrelated, but it appears you’ve force enabled the above app, which means it’s active even though it’s not compatible with any modern version of Nextcloud… It’s the source of the “settings is empty” log entries.