Exception during scan: Invalid path

Nextcloud version 17.0.1
Operating system and version Ubuntu 18.04
Apache or nginx version Apache 2.4.25
PHP version 7.12

root@cloud:/mnt/nextcloud/data/igor/files# sudo -u www-data php /var/www/nextcloud/occ files:scan --path=/igor
Starting scan for user 1 out of 1 (igor)
Exception during scan: Invalid path
#0 /var/www/nextcloud/lib/private/Files/Storage/Local.php(133): OC\Files\Storage\Local->getSourcePath(’’)
#1 /var/www/nextcloud/lib/private/Files/Storage/Common.php(146): OC\Files\Storage\Local->is_dir(’’)
#2 /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php(164): OC\Files\Storage\Common->isCreatable(’’)
#3 /var/www/nextcloud/lib/private/Files/Utils/Scanner.php(204): OC\Files\Storage\Wrapper\Wrapper->isCreatable(’’)
#4 /var/www/nextcloud/apps/files/lib/Command/Scan.php(145): OC\Files\Utils\Scanner->scan(’/igor’, true, NULL)
#5 /var/www/nextcloud/apps/files/lib/Command/Scan.php(201): OCA\Files\Command\Scan->scanFiles(‘igor’, ‘/igor’, Object(Symfony\Component\Console\Output\ConsoleOutput), false, true, false)
#6 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /var/www/nextcloud/core/Command/Base.php(166): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/nextcloud/3rdparty/symfony/console/Application.php(908): OC\Core\Command\Base->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/nextcloud/3rdparty/symfony/console/Application.php(269): Symfony\Component\Console\Application->doRunCommand(Object(OCA\Files\Command\Scan), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/nextcloud/3rdparty/symfony/console/Application.php(145): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/nextcloud/lib/private/Console/Application.php(213): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/nextcloud/console.php(97): OC\Console\Application->run()
#13 /var/www/nextcloud/occ(11): require_once(’/var/www/nextcl…’)
#14 {main}
±--------±------±-------------+
| Folders | Files | Elapsed time |
±--------±------±-------------+
| 0 | 0 | 00:00:00 |
±--------±------±-------------+
root@cloud:/mnt/nextcloud/data/igor/files#