mylesagray / blog-comments

Comments for Blah, Cloud. Hugo blog
0 stars 0 forks source link

How to: Run emoncms on NginX and PHP5-FPM | Blah, Cloud #5

Open mylesagray opened 2 years ago

mylesagray commented 2 years ago

Written on 11/12/2012 19:43:46

URL: https://blah.cloud/ardunio-hacking/how-to-run-emoncms-on-nginx-and-php5-fpm/

mylesagray commented 2 years ago

Comment written by ziga on 02/22/2014 09:08:17

Hi I need help with setting up EmonCms with Nginx. Where should I write the write and nginx config for emoncms. I am hosting the EmonCms on my Pi.

Thanks for the answer.

mylesagray commented 2 years ago

Comment written by Myles Gray on 02/24/2014 13:29:32

The config lives in: /etc/nginx/sites-available/[youresitename.conf] then you need to symlink it to /etc/nginx/sites-enabled/[yoursitename.conf] and restart the nginx service.

mylesagray commented 2 years ago

Comment written by George Constantine on 07/27/2014 20:45:45

Thank you! Your instructions worked. (I used a socket instead of a port for php-fpm).
Unfortunately, although the inputs get updated by my arduino, the "spanner" icon is non-responsive. Has this occurred to anyone else? Is it because of nginx?

mylesagray commented 2 years ago

Comment written by Myles Gray on 07/28/2014 11:42:02

George, haven't looked at emoncms in a while - perhaps you have a newer version than I do but I don't have any spanner icon?

mylesagray commented 2 years ago

Comment written by Simsa on 04/09/2015 02:36:33

Hi Myles,

thanks for your tutorial! I have just one problem the dial animation is not working with nginx. Do you have a hint for that?

Thanks, Simsa

mylesagray commented 2 years ago

Comment written by Simsa on 04/22/2015 08:11:10

I noticed that the problem is deeper :) The feedlist is inactive and it doesn't show any values. With Apache2 it's all working.
Anyone a clue how to fix this?

mylesagray commented 2 years ago

Comment written by Simsa on 05/03/2015 14:59:30

It's working now. The solution was to point the url in emonhub to the new name and port where nginx was listening.