Steps to reproduce
1.Install NGiNX and PHP7.4 and related PHP modules by yum
2.I configured /etc/nginx/conf.d/owncloud.conf and /etc/php.ini, /etc/php-fpm.conf
3.systemctl start php-fpm, systemctl start nginx
4. I access to owncloud/index.php and configure DB parameter, after then owncloud shows
internal server error.
5. /var/log/nginx/error.log shows
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/styles.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/select2/select2.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/inputs.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/header.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/icons.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/fonts.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/apps.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/global.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/fixes.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/multiselect.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/mobile.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/jquery-ui/themes/base/jquery-ui.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/jquery-ui-fixes.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/tooltip.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/css/jquery.ocdialog.css?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/jquery-migrate/jquery-migrate.min.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/jquery/dist/jquery.min.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/jquery-ui/ui/jquery-ui.custom.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/underscore/underscore.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/moment/min/moment-with-locales.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/jquery.ocdialog.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/bowser/src/bowser.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/handlebars/handlebars.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/blueimp-md5/js/md5.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/bootstrap/js/tooltip.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/backbone/backbone.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/es6-promise/es6-promise.auto.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/davclient.js/lib/client.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/oc-dialogs.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/clipboard/dist/clipboard.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/js.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/l10n.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/l10n/ja.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/octemplate.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/eventsource.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/config.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/search/js/search.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/oc-requesttoken.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/apps.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/mimetype.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/snapjs/dist/latest/snap.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/select2/select2.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/mimetypelist.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/oc-backbone.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/oc-backbone-webdav.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/jquery.avatar.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/placeholder.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/files/fileinfo.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/js/files/client.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/jquery-migrate/jquery-migrate.min.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/jquery-ui/ui/jquery-ui.custom.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/underscore/underscore.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/moment/min/moment-with-locales.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/handlebars/handlebars.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/blueimp-md5/js/md5.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/bootstrap/js/tooltip.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/backbone/backbone.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/es6-promise/es6-promise.auto.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/davclient.js/lib/client.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
2021/03/07 19:18:33 [error] 10492#10492: *288 FastCGI sent in stderr: “Primary script unknown” while reading response header from upstream, client: 192.168.10.14, server: jtsb.ip-dream.biz, request: “GET /owncloud/core/vendor/clipboard/dist/clipboard.js?v=18779503ed56677e2fea400b1284d7f9 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “jtsb.ip-dream.biz”
Expected behaviour
No error and shows owncloud WebSite
Actual behaviour
Above error occurs and frequently shows error message “Internal Server error”
Server configuration
Operating system: CentOS7.7
Web server:: NGiNX Ver 1.1.18
Database:: MariaDB 5.5
PHP version:: Ver7.4 (I also tried Ver7.2)
ownCloud version: (see ownCloud admin page) (10.0.6)
Updated from an older ownCloud or fresh install: : fresh install
Where did you install ownCloud from: install from owncloud.org by using yum
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results into https://gist.github.com/ and puth the link here.
**The content of config/config.php:
<?php $CONFIG = array ( 'updatechecker' => false, 'instanceid' => 'ocn42gm6tqzz', 'passwordsalt' => 'p2O6MGReAJ+x2WqTaj0zsei7sABeYO', 'secret' => 'kG6lfUEwLMuBRnBna01eJf0hZvdXX4kiuLgbrEhzAdAcp4Wh', 'trusted_domains' => array ( 0 => 'jtsb.ip-dream.biz', ), 'datadirectory' => '/usr/share/owncloud/data', 'overwrite.cli.url' => 'https://jtsb.ip-dream.biz/owncloud', 'dbtype' => 'mysql', 'version' => '10.6.0.5', 'dbname' => 'owncloud', 'dbhost' => 'localhost:3306', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_Administrator', 'dbpassword' => 'eF0YOj3Q5YN6ogp3GdVIzvuUezrAPU', 'logtimezone' => 'UTC', 'apps_paths' => array ( 0 => array ( 'path' => '/usr/share/owncloud/apps', 'url' => '/apps', 'writable' => false, ), 1 => array ( 'path' => '/usr/share/owncloud/apps-external', 'url' => '/apps-external', 'writable' => true, ), ), 'installed' => true, ); ``` Log in to the web-UI with an administrator account and click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' This report includes the config.php settings, the list of activated apps and other details in a well sanitized form. or If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your ownCloud installation folder { "system": { "updatechecker": false, "instanceid": "ocn42gm6tqzz", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "jtsb.ip-dream.biz" ], "datadirectory": "\/usr\/share\/owncloud\/data", "overwrite.cli.url": "https:\/\/jtsb.ip-dream.biz\/owncloud", "dbtype": "mysql", "version": "10.6.0.5", "dbname": "owncloud", "dbhost": "localhost:3306", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "UTC", "apps_paths": [ { "path": "\/usr\/share\/owncloud\/apps", "url": "\/apps", "writable": false }, { "path": "\/usr\/share\/owncloud\/apps-external", "url": "\/apps-external", "writable": true } ], "installed": true } } *ATTENTION:* Do not post your config.php file in public as is. Please use one of the above methods whenever possible. Both, the generated reports from the web-ui and from occ config:list consistently remove sensitive data. You still may want to review the report before sending. If done manually then it is critical for your own privacy to dilligently remove *all* host names, passwords, usernames, salts and other credentials before posting. You should assume that attackers find such information and will use them against your systems. ``` **List of activated apps:** None ``` If you have access to your command line run e.g.: sudo -u www-data php occ app:list from within your ownCloud installation folder. ``` **Are you using external storage, if yes which one:** local/smb/sftp/... None **Are you using encryption:** yes/no No **Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/... No #### LDAP configuration (delete this part if not used) ``` With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your ownCloud installation folder Without access to your command line download the data/owncloud.db to your local computer or access your SQL server remotely and run the select query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap'; Eventually replace sensitive data as the name/IP-address of your LDAP server or groups. ``` ### Client configuration **Browser:** **Operating system:** ### Logs #### Web server error log ``` Insert your webserver log here ``` #### ownCloud log (data/owncloud.log) ``` Insert your ownCloud log here ``` #### Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```