Closed Spencer-0003 closed 2 years ago
Try to put debug => true
and try again, you should be able to get an error log
I've added debug to my config
<?php
return array (
'base_url' => 'https://cdn.mydomain',
'debug' => true,
'db' =>
array (
'connection' => 'sqlite',
'dsn' => '/config/www/xbackbone/resources/database/xbackbone.db',
'username' => NULL,
'password' => NULL,
),
'storage' =>
array (
'driver' => 's3',
'path' => '/',
'key' => 'keyId',
'secret' => 'keySecret',
'region' => 'UK',
'endpoint' => 'https://s3.eu-central-003.backblazeb2.com',
'bucket' => 'CDN-Spencer0003',
),
);
but I'm not getting any logs other than
2022/06/18 06:10:23 [error] 381#381: *114 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /info.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mydomainhere"
2022/06/18 06:10:24 [error] 380#380: *132 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /info.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mydomainhere"
2022/06/18 17:14:51 [error] 382#382: *500 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 172.17.0.1, server: _, request: "GET /info.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "mydomainhere"
There is anything in the /logs directory of xbb?
If not, is probably something wrong with your current configuration: the info.php
script that your log mention is not even present in xbackbone 🤷
Maybe is something related to your nginx conf:
https://serverfault.com/questions/517190/nginx-1-fastcgi-sent-in-stderr-primary-script-unknown
System Info
Describe the bug The file can be downloaded but will not play on the website.
To Reproduce Steps to reproduce the behavior:
Expected behavior Video should play.
Screenshots
Logs PHP error logs are empty Nginx error logs