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?
nginx error log
[error] 4446#0: *3 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.0.254, server: abc.xxx.xxx, request: "GET / HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "abc.xxx.xxx"
i tried chown
chown -R nginx.nginx <nextcloud_dir>/
nginx nextcloud config: