Nextcloud migrate to new server error

I migrated nextcloud from the old server to the new server (CentOS 7 > CentOS 8)

but encountered an internal server error,

i checked many places and tried many methods, but nothing worked

is there another place I haven’t checked?

error screen:

nginx error log

[error] 4446#0: *3 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client:, server:, request: "GET / HTTP/2.0", upstream: "fastcgi://", host: ""

i tried chown

chown -R nginx.nginx <nextcloud_dir>/

nginx nextcloud config:

php-fpm config:

I didn’t check the details but there seem to be a few differences to the version in the documentation:

I’d try this version first and then slowly move to an individual version if needed.