Once you add or restore files manualy to a user "files" folder, you must tell nextcloud to rescan and reindex the user files library, otherwise the files will not show up on user front end view
The user files generally are stored on /data/USERAME path
occ files:scan --path="/USERNAME/files"