Getting the following error after installation.
2016/03/03 13:21:44 [error] 8276#0: *5 FastCGI sent in stderr: “PHP message: REST Exception #404 > Could not find a service for user” while reading response header from upstream, client: 172.26.10.15, server: dreamfactory.dev, request: “GET /api/v2/system/environment HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “dreamfactory.dev”, referrer: “http://dreamfactory.dev/dreamfactory/dist/index.html”
Verified nginx running, and reachable.
Here is the top portion of the phpinfo()
PHP Version 5.5.9-1ubuntu4.14
System Linux B2BWebDev 3.19.0-25-generic #26~14.04.1-Ubuntu SMP Fri Jul 24 21:16:20 UTC 2015 x86_64
Build Date Oct 28 2015 01:37:05
Server API FPM/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/fpm
Loaded Configuration File /etc/php5/fpm/php.ini
Followed these instruction to configure nginx. https://wiki.dreamfactory.com/DreamFactory/Installation/Linux/Apt#Nginx
Here is my virtual host config.
server {
listen 80;
#listen [::]:80;
root /var/www/dreamfactory/public;
index index.php index.html index.htm;
server_name dreamfactory.dev;
location / {
try_files $uri $uri/ /index.php?$args;
}
error_page 404 /404.html;
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}