Nextcloud iOS app cannot upload photos before 2020 when set upload entire camera roll

I would like to upload the entire camera roll from my iOS nextcloud app. However, I found photos taken after 2020 can be uploaded normally. But all the photos in 2019 and 2020 are just ignored. App can list those files, but just skip those files after some check. I thought that was because of HEIC, but I disable the maximum compatible and all the HEIC files after 2020 can be uploaded normally. Still no help with my photos before 2020. I am running a nextcloud server within my local network, version 27.0.2. I have completely no clue on this issue. Any one has any similar issues?

Thanks a lot.