Giter VIP home page Giter VIP logo

Comments (14)

dvdpearson avatar dvdpearson commented on July 24, 2024

Could you please provide us Nginx log file, located by default in /var/log/nginx/nginx_error.log ?

from 92five.

w33zy avatar w33zy commented on July 24, 2024

Here is the nginx error i got. I only masked the domain and ip. Also the 92five app is sitting beside several WordPress sites being served by Nginx. So I am reluctant to try the solutions that I see on StackOverflow

2014/09/23 14:25:45 [crit] 11433#0: *41354 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 184.176.244.217, server: project.website.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "project.website.com"
2014/09/23 14:28:50 [crit] 11433#0: *41366 connect() to unix:/var/run/php5-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 184.176.244.217, server: project.website.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "project.website.com"

from 92five.

Chaosbit avatar Chaosbit commented on July 24, 2024

What Distro is running on the server? Can you post your nginx config for the site?

from 92five.

dvdpearson avatar dvdpearson commented on July 24, 2024

As @Chaosbit said, it would be easier for us to investigate with your configuration.

from 92five.

w33zy avatar w33zy commented on July 24, 2024

I am running Ubuntu 12.04.4 LTS

Here is a copy of my server block

server {

    server_name project.website.com www.project.website.com;

    access_log   /var/log/nginx/project.website.com.access.log rt_cache;
    error_log    /var/log/nginx/project.website.com.error.log;

    root /var/www/project.website.com/htdocs;
    index index.php index.htm index.html;



    location ~ \.php$ {
        try_files $uri /index.php =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;
    }   

    include common/php.conf;
    include common/locations.conf;

}

from 92five.

w33zy avatar w33zy commented on July 24, 2024

So my Nginx setup to run php5-fpm on 127.0.0.1:9000 not unix:/var/run/php5-fpm.sock.

I editted the location block and now I am getting the Whoops, looks like something went wrong error

from 92five.

Chaosbit avatar Chaosbit commented on July 24, 2024

In which step?

from 92five.

w33zy avatar w33zy commented on July 24, 2024

Just visiting the homepage gives me this error

from 92five.

w33zy avatar w33zy commented on July 24, 2024

I enabled debug mode and saw that it was a file write error. I ended up setting /storage/.. to 0777 in trying to troubleshoot the error.

Can we get more specific details on the chmod/permission values for folders and files?

from 92five.

w33zy avatar w33zy commented on July 24, 2024

This is the furthest I have reached http://project.website.com/install/adminaccount, then I get the Oops Something went wrong error.

Passed that step. Am I correcting assuming that when the docs say make a folder or file 'writable', it means setting the permission to 0777

from 92five.

chintanbanugaria avatar chintanbanugaria commented on July 24, 2024

Sorry guys had been busy so couldn't able to participate in the discussion. @w33zy Either 0777 or 0755 according to your configuration. Exactly where have you been stuck. @dvdpearson and @Chaosbit Thanks guys for answering while I wasn't there. :)

from 92five.

w33zy avatar w33zy commented on July 24, 2024

@chintanbanugaria I got it working only after setting most folders to 0777 recursively.

BTW... is it possible to change the user avatar pic? My admin account is using the 'CB' avatar pic

from 92five.

chintanbanugaria avatar chintanbanugaria commented on July 24, 2024

@w33zy Actually I am working on that. Currently you can replace your avataar manually. The profile pics are located at assets/images/profilepics.
Please make sure that your image has a png extension and 128 x128 of dimenstion.

from 92five.

lancepioch avatar lancepioch commented on July 24, 2024

For the original issue, I've created wiki instructions, found here: https://github.com/chintanbanugaria/92five/wiki/Installation-Instructions#nginx

The original issue can be closed. If there's anymore problems, separate issues can be created.

from 92five.

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.