Manual Installation Issue and nginx configuration

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;
}

}

I’m getting the same error when running php artisan serve.

Laravel development server started on http://0.0.0.0:8000/
[Mon Mar  7 10:11:38 2016] 172.26.10.15:40740 [200]: /dreamfactory/dist/index.html
[Mon Mar  7 10:11:38 2016] 172.26.10.15:40741 [200]: /dreamfactory/dist/styles/styles.07300592.css
[Mon Mar  7 10:11:38 2016] 172.26.10.15:40742 [200]: /dreamfactory/dist/scripts/vendor.8baef916.js
[Mon Mar  7 10:11:38 2016] 172.26.10.15:40746 [200]: /dreamfactory/dist/vendor/ace/ace.js
[Mon Mar  7 10:11:39 2016] 172.26.10.15:40744 [200]: /dreamfactory/dist/vendor/ace/mode-javascript.js
[Mon Mar  7 10:11:39 2016] 172.26.10.15:40743 [200]: /dreamfactory/dist/scripts/app.fb07cdba.js
[Mon Mar  7 10:11:40 2016] 172.26.10.15:40747 [200]: /dreamfactory/dist/vendor/ace/ace.js
[Mon Mar  7 10:11:40 2016] 172.26.10.15:40748 [200]: /dreamfactory/dist/vendor/ace/mode-javascript.js
[Mon Mar  7 10:11:41 2016] REST Exception #404 > Could not find a service for user

ok, my bad. I didn’t run php artisan dreamfactory:setup the second time after creating the .env file. All good now.