Comments (14)
Could you please provide us Nginx log file, located by default in /var/log/nginx/nginx_error.log ?
from 92five.
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.
What Distro is running on the server? Can you post your nginx config for the site?
from 92five.
As @Chaosbit said, it would be easier for us to investigate with your configuration.
from 92five.
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.
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.
In which step?
from 92five.
Just visiting the homepage gives me this error
from 92five.
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.
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.
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.
@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.
@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.
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)
- whoops update HOT 2
- Postgresql. Support. HOT 1
- Error after running php artisan migrate HOT 4
- Shared Host: Host Gator : Missing Laravel and Composer files HOT 2
- missing files?
- apache url issue mod rewrite HOT 2
- Error upon installation HOT 1
- Long first names don't show well.
- Support for Stories/Wiki and Comments
- By default, the database does not accept Cyrillic HOT 1
- Change default web-font "Lato"
- 404 application error HOT 1
- Updating to Laravel 5.0 HOT 8
- [Enhancement] UI: Project View should have a link to create new tasks and files
- Task List - Ajax Request
- retina.min.js is missing HOT 1
- First Name/Last Name when creating new user issue
- Any jobs to continue the free project? HOT 1
- problem with debug mode ... HOT 2
- min server requirments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 92five.