Trouble installing reef-pi

eb_reef

Active Member
View Badges
Joined
Mar 13, 2018
Messages
155
Reaction score
87
Rating - 0%
0   0   0
I am having trouble installing reef-pi. I have an older pi Model B Rev 2.0.

I follow these instructions https://reef-pi.github.io/general-guides/install/ and everything appears to work fine but I cannot get to the web UI. Also there is no web server running that I can find nor anything listening to a port other than ssh. Is there something else I am supposed to do in order to get the web interface up?

Edit: I installed the latest reef-pi for pi3 version pH sub-system
 
I am having trouble installing reef-pi. I have an older pi Model B Rev 2.0.

I follow these instructions https://reef-pi.github.io/general-guides/install/ and everything appears to work fine but I cannot get to the web UI. Also there is no web server running that I can find nor anything listening to a port other than ssh. Is there something else I am supposed to do in order to get the web interface up?

Edit: I installed the latest reef-pi for pi3 version pH sub-system
Troubleshooting guide: https://reef-pi.github.io/additional-documentation/troubleshooting/
do you have ssh access to the pi, if so, can you try these and let us know whats the output of this command:
Code:
sudo systemctl status reef-pi.service
 
Troubleshooting guide: https://reef-pi.github.io/additional-documentation/troubleshooting/
do you have ssh access to the pi, if so, can you try these and let us know whats the output of this command:
Code:
sudo systemctl status reef-pi.service

Code:
pi@sm-pi:~ $  
pi@sm-pi:~ $ sudo systemctl status reef-pi.service 
● reef-pi.service - raspberry pi based reef tank controller 
  Loaded: loaded (/lib/systemd/system/reef-pi.service; enabled; vendor preset: enabled) 
  Active: activating (auto-restart) (Result: signal) since Tue 2018-03-27 11:26:36 EDT; 51s ago 
 Process: 16258 ExecStart=/usr/bin/reef-pi -config /etc/reef-pi/config.yml (code=killed, signal=ILL) 
Main PID: 16258 (code=killed, signal=ILL) 

Mar 27 11:26:36 sm-pi systemd[1]: reef-pi.service: Failed with result 'signal'. 
pi@sm-pi:~ $ reef-pi -version 
Illegal instruction 
pi@sm-pi:~ $
 
Code:
pi@sm-pi:~ $ sudo journalctl -fu reef-pi.service 
-- Logs begin at Mon 2018-03-26 21:33:03 EDT. -- 
Mar 27 11:28:07 sm-pi systemd[1]: Started raspberry pi based reef tank controller. 
Mar 27 11:28:07 sm-pi systemd[1]: reef-pi.service: Main process exited, code=killed, status=4/ILL 
Mar 27 11:28:07 sm-pi systemd[1]: reef-pi.service: Unit entered failed state. 
Mar 27 11:28:07 sm-pi systemd[1]: reef-pi.service: Failed with result 'signal'. 
Mar 27 11:29:37 sm-pi systemd[1]: reef-pi.service: Service hold-off time over, scheduling restart. 
Mar 27 11:29:37 sm-pi systemd[1]: Stopped raspberry pi based reef tank controller. 
Mar 27 11:29:37 sm-pi systemd[1]: Started raspberry pi based reef tank controller. 
Mar 27 11:29:37 sm-pi systemd[1]: reef-pi.service: Main process exited, code=killed, status=4/ILL 
Mar 27 11:29:37 sm-pi systemd[1]: reef-pi.service: Unit entered failed state. 
Mar 27 11:29:37 sm-pi systemd[1]: reef-pi.service: Failed with result 'signal'.
 
Code:
pi@sm-pi:~ $ sudo journalctl -fu reef-pi.service
-- Logs begin at Mon 2018-03-26 21:33:03 EDT. --
Mar 27 11:28:07 sm-pi systemd[1]: Started raspberry pi based reef tank controller.
Mar 27 11:28:07 sm-pi systemd[1]: reef-pi.service: Main process exited, code=killed, status=4/ILL
Mar 27 11:28:07 sm-pi systemd[1]: reef-pi.service: Unit entered failed state.
Mar 27 11:28:07 sm-pi systemd[1]: reef-pi.service: Failed with result 'signal'.
Mar 27 11:29:37 sm-pi systemd[1]: reef-pi.service: Service hold-off time over, scheduling restart.
Mar 27 11:29:37 sm-pi systemd[1]: Stopped raspberry pi based reef tank controller.
Mar 27 11:29:37 sm-pi systemd[1]: Started raspberry pi based reef tank controller.
Mar 27 11:29:37 sm-pi systemd[1]: reef-pi.service: Main process exited, code=killed, status=4/ILL
Mar 27 11:29:37 sm-pi systemd[1]: reef-pi.service: Unit entered failed state.
Mar 27 11:29:37 sm-pi systemd[1]: reef-pi.service: Failed with result 'signal'.
reef-pi is not running on your Raspberry Pi. I think you are running wrong binary, i.e. you are trying to run pi 3 binary on pi 2.
Can you run following commands:
Code:
file /usr/bin/reef-pi
uname -a
 
I am pretty sure this is wrong binary issue, pi model B is similar to pi zero (processor wise), and pi 2/3 is a different processor. Try uninstalling existing reef-pi , and then install the pi-zero version of reef-pi.

I should probably document this in the installation guide,
sorry about the trouble.
 
I am unable to run the UI. It appears the service is running properly, but when I try to run the UI, I get a .txt file back. What am I missing?
image.jpg
 
I am unable to run the UI. It appears the service is running properly, but when I try to run the UI, I get a .txt file back. What am I missing?
image.jpg
@Modell I think you should probably start a new thread in the DIY section and tag @Ranjib this thread looks old as it is from 2018. He is pretty good about replying quickly. Summarize what you have done and what’s not working.
 
I am unable to run the UI. It appears the service is running properly, but when I try to run the UI, I get a .txt file back. What am I missing?
image.jpg
Something else is wrong here. This is a php script, its not belong to reef-pi. reef-pi is built with different technology than what you are showing here. This is something else... i dont know exactly what it is.. but its written in php and not configured properly (hence its serving the raw php code instead of html/ui). Think what you have insteallled? the command `sudo lsof -i :80` should give you the pid of the process thats running this. ps should reveal which process it is from the pid.
 
Here’s my response to that command:
image.jpg

Not sure what's happening but try reformatting your SD card and follow these instructions to install, hope it helps.

 
Thank you. I have managed to get it running. Temp sensor works. Now I need to figure out how to get it to control my Sainsmart relay board. I’ll start a new thread when I get frustrated enough with that. Thanks Again!
 

IF YOU HAD TO TAKE A REEFING EXAM, WOULD YOU PASS?

  • Yes!

    Votes: 32 45.7%
  • Not yet, but I have one that I want to buy in mind!

    Votes: 9 12.9%
  • No.

    Votes: 26 37.1%
  • Other (please explain).

    Votes: 3 4.3%
Back
Top