-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
502 error #8
Comments
Hi @jameshope87, I didn't check it out for a while but maybe this documentation can be helpful: https://pm2.io/doc/en/runtime/guide/startup-hook/?utm_source=pm2&utm_medium=website&utm_campaign=rebranding#update-startup-hook |
Hi! |
After several errors, I finally managed to install pm2 with my nodejs version (10.15.2). Could you guys help me? |
Hey @jeremyfritzen It uses docker to bring all dependencies and was tested by me and @phardy |
Hi! I'm a little bit new on docker so maybe I missed something. Anyway, I will give it a try tonight! |
I decided to setup multiple docker containers because docker is designed to be single threaded (you can overcome this but it's not recommended). So, it's logically divided to audio and video streams, nginx server and nodejs application. Except certificates and htpasswd files, everything inside. Certs and passwords must belong to the running instance :) |
Thank you! |
@ivadim is Theresa any config file to indicate which record device to use (as in a standard uv4l installation)? |
I tried to install it again. Everything works like a charm! Just for your information, I'm going to work on some new features:
Thanks again for your work! |
@jeremyfritzen which raspbian kernel version and docker version did you use? |
I used raspbian buster lite OS and just carefully followed the instructions. Just FYI: I forked the project from ivadim on my github and added a function to notify parents when the temperature is outside a range. I packed it in a dedicated container to try to follow the original philosophy of ivadim. |
My problem is exactly the same with #23, I am trying to do this on raspberry pi zero and apparently all images are built with armv7 support and rpi zero supports only arm6. |
Indeed, the issue seems to be related to the Rpi zero. 2 things come to mind: Please keep us updated |
I've updated images to be compatible with armv6 (raspberry pi 1/2 and raspberry pi zero). |
I was able to get this running on a pi zero following the install document. The only thing not working is the audio which I created an issue - #28 for. |
Can also confirm it works on PI zero, apart from the audio service - same problem with #28. |
Hello,
After following your guide, I have rebooted my raspberry pi and tried to access the browser through the IP address.
It asks me for the username and password, but then showed a 502 error. Bad gateway.
I have noticed that the pm2 server is not running. Running the command below fixes it:
sudo pm2 start server/app.js --name="fruitnanny"
is there a way to make this run automatically on boot?
The text was updated successfully, but these errors were encountered: