Preview Generator not working on Group Folders

Hello. I’m running NC 28.0.3 installed on an Ubuntu 22.04 Server confgured with PHP 8.3 and NGINX. I also run the Docker Version of Imaginary to generate the previews. Preview Generator as such seems to work, although it is very very slow… Sadly, I can’t find a way to generate previews in my Group Folders, where I have a lot of shared photos I’d like to have previews for.

When I run sudo -u www-data php /nextcloud/occ preview:generate-all it doesn’t scan the group folders. Also specifying the path with sudo -u www-data php /nextcloud/occ preview:generate-all --path="/__groupfolders/2/Photos" doesn’t work - it’s completing instantaniously without any ouput.

Is there any way to generate the previews for files in the group folders?