Photos showing in albums but not in library after repair
I have a brand new iMac and have transferred my Photos library from my old MacBook Pro without any issues.
After importing some photos from my phone I realised this had created duplicates due to the fact that .heic files were imported from the phone which were not identified as duplicates with the same jpeg that had synchronised through Photo Stream. In trying to clean up I noticed Photos would not let me delete the heic files, so initiated a repair of the library, thinking it would help.
The result is that after the repair my photos show in the albums but not in the photos/moments/... and the app opens as if there were no photos (with an introductory message indicating what to do to start using the Photos app).
I checked the Library contents and all my photos seam to be in the master folder but Photos somehow has lost the link to them. I have tried repairing again but nothing helps.
Has anyone had the same issue and solved it?
Thanks
iMac 27", macOS 10.14