Nextcloud data directory is flagged by updater as extra file

and my config.php
‘datadirectory’ => ‘/var/www/html/nextcloud/truenas’,

so why nextcloud is considering my data directory as external file ?

Your data directory should not be under the web root. Moving it will improve security and possibly also solve your issue.

moving it wouldn’t cause allot of issues ? and is it easy steps ?
also its on the same directory as the original data file