What does "Pending" mean in the file list?

It means that the size of the folder could not be fully calculated and is therefore still pending.

I usually only know this from “External storage”. I haven’t seen that with groupfolders yet.

Try scanning the group folder again with → occ ← using:

occ groupfolders:scan <folder_id>

You can find out the folder_id with

occ groupfolders:list

or simply scann all groupfolders with

occ groupfolders:scan --all

Of course, it can happen that files in the groupfolder are corrupt and the scan stops with an error. Then you should scan again with -vv flag (–verbose), then it shows exactly at which file it derails. usually you can simply remove or replace the troublemaker.

Hope this helps,
much luck

1 Like

Thanks for that tip. I had found occ files:scan but guessed this isn’t do group folders.

1 Like

I can’t get occ groupfolders:scan --all to work. Must be something daft I’m doing. I got a list of group folder IDs using occ groupfolders:list (so I’m running occ okay) but when I try occ groupfolders:scan 1, I get a similar error.

[root@moorfield003 nextcloud]# sudo -u nginx php --define apc.enable_cli=1 occ groupfolders:scan --all
An unhandled exception has been thrown:
TypeError: OCA\GroupFolders\ACL\ACLManagerFactory::getACLManager(): Argument #1 ($user) must be of type OCP\IUser, null given, called in /data/nextcloud/apps/groupfolders/lib/Mount/MountProvider.php on line 206 and defined in /data/nextcloud/apps/groupfolders/lib/ACL/ACLManagerFactory.php:37
Stack trace:
#0 /data/nextcloud/apps/groupfolders/lib/Mount/MountProvider.php(206): OCA\GroupFolders\ACL\ACLManagerFactory->getACLManager()
#1 /data/nextcloud/apps/groupfolders/lib/Command/Scan.php(82): OCA\GroupFolders\Mount\MountProvider->getMount()
#2 /data/nextcloud/3rdparty/symfony/console/Command/Command.php(298): OCA\GroupFolders\Command\Scan->execute()
#3 /data/nextcloud/core/Command/Base.php(177): Symfony\Component\Console\Command\Command->run()
#4 /data/nextcloud/3rdparty/symfony/console/Application.php(1040): OC\Core\Command\Base->run()
#5 /data/nextcloud/3rdparty/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#6 /data/nextcloud/3rdparty/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#7 /data/nextcloud/lib/private/Console/Application.php(211): Symfony\Component\Console\Application->run()
#8 /data/nextcloud/console.php(100): OC\Console\Application->run()
#9 /data/nextcloud/occ(11): require_once('/data/nextcloud...')
#10 {main}[root@moorfield003 nextcloud]#
1 Like

Later… okay, had enough for a supposedly lazy Sunday. Known bug in recent versions:

TypeError: OCA\GroupFolders\ACL\ACLManagerFactory::getACLManager(): Argument #1 ($user) must be of type OCP\IUser · Issue #2473 · nextcloud/groupfolders · GitHub

1 Like