Fresh install and does see files

You changed the datadir afterwards, you have to do a few things:

You can then also run the occ command, if that is scanning any file…
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#scan