Coder Social home page Coder Social logo

Comments (12)

alashow avatar alashow commented on May 19, 2024

See #9

There is a gist for installation on ubuntu.

from datmusic-api.

mughu94 avatar mughu94 commented on May 19, 2024

i was followed the instruction but i had a blank page with "No input file specified" .

http://prntscr.com/es74x2

from datmusic-api.

alashow avatar alashow commented on May 19, 2024

Did you configure nginx as instructed in the gist?

from datmusic-api.

mughu94 avatar mughu94 commented on May 19, 2024

i'm using apache . and i was changed Virtual Host with following the instruction .

from datmusic-api.

mughu94 avatar mughu94 commented on May 19, 2024

i was changed into nginx , but now i have problem with 404 Not Found

this my .conf settings

###############################################################################

DO NOT EDIT THIS FILE.

Your changes to this file will be overwritten by ServerPilot.

For information on how to customize nginx settings, see

https://serverpilot.io/community/articles/customize-nginx-settings.html

###############################################################################

server {
listen 80;
listen [::]:80;
server_name
server-vkmp3
vkmp3.tk
www.vkmp3.tk
;
root /srv/users/serverpilot/apps/vkmp3/public/current/public;

location / {
    try_files $uri $uri/ /index.php?$query_string;
}

index index.php index.html index.htm;

}location ~ \.php$ {
    try_files $uri /index.php =404;
    fastcgi_split_path_info ^(.+\.php)(/.+)$;
    fastcgi_pass unix:/var/run/php/php7.1-fpm.sock;
    fastcgi_index index.php;
    fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    include fastcgi_params;
}

access_log  /srv/users/serverpilot/log/vkmp3/vkmp3_nginx.access.log  main;
error_log  /srv/users/serverpilot/log/vkmp3/vkmp3_nginx.error.log;

proxy_set_header    Host              $host;
proxy_set_header    X-Real-IP         $remote_addr;
proxy_set_header    X-Forwarded-For   $proxy_add_x_forwarded_for;

}

from datmusic-api.

alashow avatar alashow commented on May 19, 2024

Does /srv/users/serverpilot/apps/vkmp3/public/current/public folder exists and readable?

from datmusic-api.

mughu94 avatar mughu94 commented on May 19, 2024

it was exists and readable .

http://prntscr.com/es7p1l

from datmusic-api.

alashow avatar alashow commented on May 19, 2024

See /srv/users/serverpilot/log/vkmp3/vkmp3_nginx.error.log for error logs, to see which directory nginx hits.

from datmusic-api.

mughu94 avatar mughu94 commented on May 19, 2024

2017/04/04 08:01:34 [crit] 9055#0: *13 connect() to unix:/var/run/php/php7.1-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 36.79.160.53, server: server-vkmp3, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "vkmp3.tk"

2017/04/04 08:03:53 [crit] 9118#0: *5 connect() to unix:/srv/users/SYSUSER/run/APPNAME.php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 36.79.160.53, server: server-vkmp3, request: "GET /search?q=ungu HTTP/1.1", upstream: "fastcgi://unix:/srv/users/SYSUSER/run/APPNAME.php-fpm$

from datmusic-api.

alashow avatar alashow commented on May 19, 2024

It says /var/run/php/php7.1-fpm.sock doesn't exist. Did you install php7.1 properly?

from datmusic-api.

mughu94 avatar mughu94 commented on May 19, 2024

yes , serverpilot was installed all php version automatically . you should try this serverpilot.io for helping serverpilot users :D , i have done with this , and i want to try install your rep on ubuntu without serverpilot . thank you man

from datmusic-api.

alashow avatar alashow commented on May 19, 2024

I suggest using Forge & Envoyer. I use it myself for datmusic-api deployments (only envoyer).

from datmusic-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.