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
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
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
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
 
OP
OP
E

eb_reef

Active Member
View Badges
Joined
Mar 13, 2018
Messages
155
Reaction score
87
Rating - 0%
0   0   0
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:~ $
 
OP
OP
E

eb_reef

Active Member
View Badges
Joined
Mar 13, 2018
Messages
155
Reaction score
87
Rating - 0%
0   0   0
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'.
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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.
 

Modell

New Member
View Badges
Joined
Feb 15, 2014
Messages
21
Reaction score
9
Location
Chesapeake Beach, MD
Rating - 0%
0   0   0
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
 

Weasel1960

Valuable Member
View Badges
Joined
Aug 22, 2020
Messages
2,139
Reaction score
9,995
Location
Monticello, WI
Rating - 0%
0   0   0
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.
 

Ranjib

7500 Club Member
View Badges
Joined
Apr 16, 2016
Messages
9,843
Reaction score
17,058
Location
Pleasant Hill, Concord
Rating - 0%
0   0   0
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.
 

Modell

New Member
View Badges
Joined
Feb 15, 2014
Messages
21
Reaction score
9
Location
Chesapeake Beach, MD
Rating - 0%
0   0   0
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!
 

High pressure shells: Do you look for signs of stress in the invertebrates in your reef tank?

  • I regularly look for signs of invertebrate stress in my reef tank.

    Votes: 35 31.0%
  • I occasionally look for signs of invertebrate stress in my reef tank.

    Votes: 27 23.9%
  • I rarely look for signs of invertebrate stress in my reef tank.

    Votes: 21 18.6%
  • I never look for signs of invertebrate stress in my reef tank.

    Votes: 30 26.5%
  • Other.

    Votes: 0 0.0%
Back
Top