How to show upload speed in Nextcloud 26 / 27?

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): Nextcloud 26.0.4 / Nextcloud 27.0.1
Operating system and version (eg, Ubuntu 20.04): TrueNAS 12.0U8.1 (Jail FreeBSD 12.4-RELEASE)
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.53 (FreeBSD)
PHP version (eg, 7.4): 8.2.8

The issue you are facing:
In Nextcloud 24, I can show the upload speed if I hover the progress bar. However, I cannot show the upload speed in Nextcloud 27. I tried Nextcloud 26 and get the same result.

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

Steps to replicate it:

  1. Upload file
  2. Hover the progress bar

The output of your Nextcloud log in Admin > Logging:

[index] Error: RuntimeException: Could not get appdata folder for theming at <<closure>>

0. /usr/local/www/nextcloud/lib/private/Files/AppData/AppData.php line 147
   OC\Files\AppData\AppData->getAppDataFolder()
1. /usr/local/www/nextcloud/apps/theming/lib/ImageManager.php line 383
   OC\Files\AppData\AppData->newFolder()
2. /usr/local/www/nextcloud/apps/theming/lib/ImageManager.php line 118
   OCA\Theming\ImageManager->getRootFolder()
3. /usr/local/www/nextcloud/apps/theming/lib/Controller/IconController.php line 118
   OCA\Theming\ImageManager->getImage()
4. /usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 230
   OCA\Theming\Controller\IconController->getFavicon()
5. /usr/local/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 137
   OC\AppFramework\Http\Dispatcher->executeController()
6. /usr/local/www/nextcloud/lib/private/AppFramework/App.php line 183
   OC\AppFramework\Http\Dispatcher->dispatch()
7. /usr/local/www/nextcloud/lib/private/Route/Router.php line 315
   OC\AppFramework\App::main()
8. /usr/local/www/nextcloud/lib/base.php line 1071
   OC\Route\Router->match()
9. /usr/local/www/nextcloud/index.php line 36
   OC::handleRequest()

GET /index.php/apps/theming/favicon?v=05d8a664
from local IP by ncadmin at 2023-07-27T04:11:48+00:00

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

<?php
$CONFIG = array (
  'instanceid' => 'oc09hnbyhcoq',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => 'nextcloud.mydomain.tld',
  ),
  'datadirectory' => '/usr/local/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '27.0.1.2',
  'overwrite.cli.url' => 'https://nextcloud.mydomain.tld',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:/tmp/mysql.sock',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxx',
  'dbpassword' => 'xxx',
  'installed' => true,
  'redis' =>
  array (
    'host' => '/var/run/redis/redis.sock',
    'port' => 0,
  ),
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
);

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

[Thu Jul 27 04:12:35.418638 2023] [mpm_event:notice] [pid 62394:tid 34370936832] AH00491: caught SIGTERM, shutting down
[Thu Jul 27 04:12:35.548780 2023] [mpm_event:notice] [pid 62573:tid 34370936832] AH00489: Apache/2.4.53 (FreeBSD) OpenSSL/1.1.1h-freebsd configured -- resumingnormal operations
[Thu Jul 27 04:12:35.549199 2023] [core:notice] [pid 62573:tid 34370936832] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

[Thu Jul 27 04:12:11.836750 2023] [access_compat:error] [pid 62397:tid 34385381888] [client localIP:35472] AH01797: client denied by server configuration: /usr/local/www/nextcloud/data/.ocdata
[Thu Jul 27 04:12:44.088556 2023] [access_compat:error] [pid 62577:tid 34385385728] [client localIP:35872] AH01797: client denied by server configuration: /usr/local/www/nextcloud/data/.ocdata

It works for me, but only when I put the mouse pointer to the very bottom of the progress bar. I would estimate that the area where it works has a height of about three to four pixels max.

Thank you, it does show an instantaneous upload speed in the bottom.

In Nextcloud 24, the speed keeps updating. It is still hard to monitor the performance in Nextcloud 27.