Hi @droidus,
on snap installations the correct command should be: sudo nextcloud.occ files:scan --all -vvv
sudo nextcloud.occ files:scan --all -vvv