TruenasScale: PhotoPrism, lost the directories and the pictures

Hi Folks, I really need your dire help.

I consider myself a noob in Truenas scale, though, I have created my own NAS server, using TNs, and installed photo prism which syncs from photosync app from my iPhone it was all working fine till today, till I changed some user settings in TNs and did a INDEX rebuild in PhotoPrism, as some of my videos and pictures were not displaying. so I thought to rebuild the index and as soon as the rebuilding started there were many deleted and missing commands in the logs of the photoprism app.

Suddenly, I see after indexing in photo prism, all my pictures and videos are not visible in photoprism, I really have no clue what ACL changes could have done this.
I somehow have the dataset still with me in TN.(which was also removed as I changed the built in users to built in administrator) but I Reverted it back, so my directories are visible.

Could you please help me to fix this, I want to import all my pics/videos from the already created dataset.

and I do not want to mess up the ACL /user setting.
Currently, in my Pool, I have one dataset which has all the pictures and this pictures directories are used in the photo prism configuration (for Storage, original and recent).

What should I do? like permission, so that I get back everything in photo prism ?