Nc-who fails with "include(/config.php): Failed to open stream: No such file or directory"

good morning, unfortunately i’m having the same issue. no matter what I do, it always ends with this error :confused::

root@mj-nextcloud01:~# nc-who
.. loading modules - nc/nextcloudPHP Warning:  include(/config.php): Failed to open stream: No such file or directory in Standard input code on line 5
PHP Warning:  include(): Failed opening '/config.php' for inclusion (include_path='.:/usr/share/php') in Standard input code on line 5
PHP Warning:  Undefined variable $CONFIG in Standard input code on line 6
PHP Warning:  foreach() argument must be of type array|object, null given in Standard input code on line 6

the user www-data definitely has write permissions to its home directory /var/www

the server is:

Linux mj-nextcloud01 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

the nextcloud version is:

nextcloud Hub 10 (31.0.2)

what else can i try?