How to (re)scan files without command line access?

Dear Tihnk,
create a phpx-file e.g. “filescan.phpx”

<?php exec("php /www/htdocs/<w022222>/path-to-nextcloud/console.php file:scan --all -v 2>&1", $out, $result); echo "Returncode: " .$result ."<br>"; echo "Ausgabe des Scripts: " ."<br>"; echo "<pre>"; print_r($out); ?>

Then call this file in your preferred browser. Please also have a look at this ticket

Cheers, Carsten

1 Like