Plus / upload button not working in web interface

Nextcloud version (eg, 20.0.5): 25.0.1
Operating system and version (eg, Ubuntu 20.04): Unraid with latest Linuxserver Docker
Apache or nginx version (eg, Apache 2.4.25): nginx/1.20.2
PHP version (eg, 7.4): 8.0.25

The issue you are facing:
The plus button in the web interface is not working anymore. No matter what browser I use, when I click the button, nothing happens. This is true for all users. No error message is being shown and I can’t find anything in the logs. Uploading via drag and drop to the browser window still works. I didn’t change anything in my instance other than upgrading to NC 25 and updating the docker, whenever there is a new version. Can’t say for sure when the issues started.

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

Steps to replicate it:

  1. Login to nextcloud using any browser
  2. click the plus button in files (at any folder level)
  3. nothing happens

The output of your Nextcloud log in Admin > Logging:

Nothing really there…

memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) at /config/www/nextcloud/apps/mail/vendor/bytestream/horde-stream/lib/Horde/Stream.php#402","userAgent":"--","version":"25.0.1.1","data":{"app":"PHP"}}
{"reqId":"vjruIDdcyf6oiQp1YI3I","level":2,"time":"2022-11-16T06:10:01+00:00","remoteAddr":"","user":"--","app":"files","method":"","url":"--","message":"User admin still has unscanned files after running background scan, background scan might be stopped prematurely","userAgent":"--","version":"25.0.1.1","data":{"app":"files"}}

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

 <?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => '192.168.1.115',
    'port' => 6379,
  ),
  'filelocking.enabled' => true,
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/config/www/nextcloud/apps',
      'url' => '/apps',
      'writable' => true,
    ),
  1 => 
    array (
      'path' => '/config/www/nextcloud/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),       
  ),         
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'auth.bruteforce.protection.enabled' => true,
  'blacklisted_files' => 
  array (    
    0 => '.htaccess',
    1 => 'Thumbs.db',
    2 => 'thumbs.db',
  ),         
  'trusted_domains' => 
  array (    
    0 => 'localhost',
    1 => 'xxx.org',
    2 => '192.168.1.70',
  ),         
  'trusted_proxies' => 
  array (    
    0 => '192.168.1.50',
  ),         
  'overwrite.cli.url' => 'https://xxx.org',
  'overwritehost' => 'xxx.org',
  'overwriteprotocol' => 'https',
  'datadirectory' => '/data',
  'dbtype' => 'pgsql',
  'version' => '25.0.1.1',
  'filesystem_check_changes' => 1,
  'dbname' => 'nextcloud',
  'dbhost' => '192.168.1.95',
  'dbport' => '5432',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nc',
  'dbpassword' => 'xxx',
  'installed' => true,
  'default_phone_region' => 'DE',
  'enabledPreviewProviders' => 
 array (    
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\MP3',
    6 => 'OC\\Preview\\TXT',
    7 => 'OC\\Preview\\MarkDown',
    8 => 'OC\\Preview\\OpenDocument',
    9 => 'OC\\Preview\\Krita',
    10 => 'OC\\Preview\\HEIC',
    11 => 'OC\\Preview\\Movie',
    12 => 'OC\\Preview\\MKV',
    13 => 'OC\\Preview\\MP4',
    14 => 'OC\\Preview\\AVI',
    15 => 'OC\\Preview\\MOV',
    16 => 'OC\\Preview\\MSOffice2003',
    17 => 'OC\\Preview\\MSOfficeDoc',
    18 => 'OC\\Preview\\PDF',
    19 => 'OC\\Preview\\Image',
    20 => 'OC\\Preview\\Photoshop',
  ),         
  'maintenance' => false,
  'data-fingerprint' => 'xxx',
  'mail_from_address' => 'xxx',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'gmail.com',
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '587',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpname' => 'xxx@gmail.com',
  'mail_smtppassword' => 'xxx',
  'theme' => '',
  'loglevel' => 2,
  'updater.release.channel' => 'stable',
  'app_install_overwrite' => 
  array (
    0 => 'onlyoffice',
    1 => 'socialsharing_email',
    2 => 'files_downloadactivity',
    3 => 'apporder',
    4 => 'checksum',
    5 => 'cfg_share_links',
    6 => 'fulltextsearch',
    7 => 'fulltextsearch_elasticsearch',
    8 => 'files_fulltextsearch',
    9 => 'richdocumentscode',
    10 => 'bookmarks_fulltextsearch',
    11 => 'imageconverter',
    12 => 'video_converter',
    13 => 'files_trackdownloads',
    14 => 'extract',
    15 => 'quickaccesssorting',
    16 => 'metadata',
    17 => 'transfer',
    18 => 'audioplayer_sonos',
    19 => 'dicomviewer',
    20 => 'drawio',
    21 => 'duplicatefinder',
    22 => 'officeonline',
    23 => 'ransomware_protection',
  ),
);

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

empty

OK, found the problem myself by disabling one app after the other.

It is the “Transfer” app (Version 0.6) which seems to be incompatible with NC 25 so far:

https://github.com/danth/transfer/issues/79

By disabling the “Transfer” app, the upload (+) button is working again. Hope this helps somebody else who ran into this issue.

1 Like