Preview Generator on specific Path

Hi all.

I’m having difficulty running the preview generator for specific path only. The documentation stated:

You can also limit the generation to one or more paths using --path="/[username]/files/[folder path]", e.g. --path="/alice/files/Photos"

I’m not sure that’s the folder path or the username to use. I have tried this information and none of them run correctly. What did I miss? Please help with direction for clarification?

username: tom
mount path: /mnt/myfiles/Tmp/Photos/tom
External Storage Path: /SyncFiles/Tmp/Photos/tom

Which folder path should I use? The mount path or the external storage path? Can you help me with the whole command on what I need to run to make it works in this scenario?

This is what I have and it’s not working.

sudo -u www-data php /var/www/nextcloud/occ preview:generate-all -vvv --path="/tom/files/SyncFiles/Tmp/Photos/tom”

I have tried this as well.

sudo -u www-data php /var/www/nextcloud/occ preview:generate-all -vvv --path="/tom/files/mnt/myfiles/Tmp/Photos/tom”

Please advise?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.