I first tried following the next instruction:
Which at step one resulted in mayor errors and the process being killed:
Starting scan for user 1 out of 3 (Some_user_without_groupfolder_access)
Starting scan for user 2 out of 3 (Some_user_with_Groupfolder_access)
Exception during scan: An exception occurred while executing 'SELECT `fileid` FROM `oc_filecache` WHERE (`storage` = ?) AND (`path_hash` = ?)' with params [1, "1e6013faa7e8570d55f5164261dc1b4d"]:
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
#0 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(169): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException()
#1 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(145): Doctrine\DBAL\DBALException::wrapException()
#2 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(911): Doctrine\DBAL\DBALException::driverExceptionDuringQuery()
#3 /var/www/nextcloud/lib/private/DB/Connection.php(194): Doctrine\DBAL\Connection->executeQuery()
#4 /var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(200): OC\DB\Connection->executeQuery()
#5 /var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(216): Doctrine\DBAL\Query\QueryBuilder->execute()
#6 /var/www/nextcloud/lib/private/Files/Cache/Cache.php(472): OC\DB\QueryBuilder\QueryBuilder->execute()
#7 /var/www/nextcloud/lib/private/Files/Cache/Wrapper/CacheJail.php(144): OC\Files\Cache\Cache->getId()
#8 /var/www/nextcloud/lib/private/Files/Cache/Wrapper/CacheWrapper.php(151): OC\Files\Cache\Wrapper\CacheJail->getId()
#9 /var/www/nextcloud/apps/groupfolders/lib/Mount/RootEntryCache.php(47): OC\Files\Cache\Wrapper\CacheWrapper->getId()
#10 /var/www/nextcloud/lib/private/Files/Cache/Wrapper/CacheWrapper.php(151): OCA\GroupFolders\Mount\RootEntryCache->getId()
#11 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(386): OC\Files\Cache\Wrapper\CacheWrapper->getId()
#12 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(391): OC\Files\Cache\Scanner->scanChildren()
#13 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(391): OC\Files\Cache\Scanner->scanChildren()
#14 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(391): OC\Files\Cache\Scanner->scanChildren()
#15 /var/www/nextcloud/lib/private/Files/Cache/Scanner.php(340): OC\Files\Cache\Scanner->scanChildren()
#16 /var/www/nextcloud/lib/private/Files/Utils/Scanner.php(260): OC\Files\Cache\Scanner->scan()
#17 /var/www/nextcloud/apps/files/lib/Command/Scan.php(151): OC\Files\Utils\Scanner->scan()
#18 /var/www/nextcloud/apps/files/lib/Command/Scan.php(207): OCA\Files\Command\Scan->scanFiles()
#19 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OCA\Files\Command\Scan->execute()
#20 /var/www/nextcloud/core/Command/Base.php(169): Symfony\Component\Console\Command\Command->run()
#21 /var/www/nextcloud/3rdparty/symfony/console/Application.php(1012): OC\Core\Command\Base->run()
#22 /var/www/nextcloud/3rdparty/symfony/console/Application.php(272): Symfony\Component\Console\Application->doRunCommand()
#23 /var/www/nextcloud/3rdparty/symfony/console/Application.php(148): Symfony\Component\Console\Application->doRun()
#24 /var/www/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run()
#25 /var/www/nextcloud/console.php(100): OC\Console\Application->run()
#26 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
#27 {main}
Starting scan for user 3 out of 3 (Some_other_user)
Killed
After this i tried the next proposed solution which actually solved some problems (but not all).
Then I went back to the first procedure, which this time didn’t cause any errors.
But still didn’t solve the problem.
So to be clear:
The newer problem in my log file named (and occured after my initial post):
OCP\Files\NotPermittedException: Could not create path
Is SOLVED with the instructions.
But the one in my log file that is named:
Exception: Failed to move groupfolder item to trash
Still occurs…
I do not wish to move this question to another topic, as i’m quite sure it is a problem on it’s own that has not been solved yet… (or that i’m aware of after frantically searching for a solution on the forum.)
Is there any more information that can help search for a solution?
Thanks a lot.