Nextcloud 21 behave weird. images appears broken

I just installed the nextcloud 21 on my server but it is acting a bit weird.
pages are not loading as they should. when i click on the files i get the message ‘This operation is forbidden’.
also when i click on to Photos i get to see that the thumbnails appears like placeholders instead of the thumbnail Photo.
check the image below to have a look how some images appears broken.

can someone help me to fix this?
my server has enough memory 8G and the is CPU x4.

Unless you elaborate in details HOW you installed Nextcloud - no!

1 Like

i installed my nextcloud machine by using the shell scripts i got from the GitHub page.
i did precisely what is written on the GitHub page.
these are the links i follow to get the nextcloud installed. GitHub - nextcloud/vm: 💻☁📦 The Nextcloud VM (virtual machine appliance), Home/SME Server and scripts for RPi (4). Community developed and maintained. and https://docs.hanssonit.se/s/bj0vl1ihv0jgrmfm08j0/build-your-own/d/bj0vl4ahv0jgrmfm0950/nextcloud-vm
this is not the first time i’m installing the nextcloud with this shell scripts.
my older nextcloud machine version 20.0.5 is working fine with no problems. i decided to have a try by installing the newer version 21.0.2 but it seems that it has some problems.