Hi, setting up a new tank, run Robo Tank on my main tank but wanted to run Reef-Pi on smaller tank for breeding clowns
Install went smooth, but Reef-pi won't start on boot, require systemctl start reef-pi then works fine
Fresh raspberry install, nothing else installed
When running sudo netstat -tvlnp shows
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 586/sshd: /usr/sbin
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 562/cupsd
tcp6 0 0 :::80 :::* LISTEN 1351/reef-pi
tcp6 0 0 :::22 :::* LISTEN 586/sshd: /usr/sbin
tcp6 0 0 ::1:631 :::* LISTEN 562/cupsd
After fresh boot Reef-pi isn't listed
Journal as follows
Sep 09 12:55:04 raspberrypi reef-pi[1351]: 2022/09/09 12:55:04 API Request:' GET /api/me' from: 192.168.1.66:65376
Sep 09 12:55:04 raspberrypi reef-pi[1351]: 2022/09/09 12:55:04 API Request:' GET /api/health_stats' from: 192.168.1.66:65379
Sep 09 12:56:01 raspberrypi reef-pi[1351]: 2022/09/09 12:56:01 health check: Used memory: 2.31 Load5: 0.22
Sep 09 12:56:01 raspberrypi reef-pi[1351]: 2022/09/09 12:56:01 API Request:' GET /api/me' from: 192.168.1.66:65379
Sep 09 12:56:56 raspberrypi reef-pi[1351]: 2022/09/09 12:56:56 API Request:' GET /api/me' from: 192.168.1.66:65379
Sep 09 12:56:56 raspberrypi reef-pi[1351]: 2022/09/09 12:56:56 API Request:' GET /api/health_stats' from: 192.168.1.66:65376
Sep 09 12:57:01 raspberrypi reef-pi[1351]: 2022/09/09 12:57:01 health check: Used memory: 2.32 Load5: 0.23
After reboot back journal shows
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Successfully unloaded module: equipment
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Successfully unloaded module: ato
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Successfully unloaded module: temperature
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Successfully unloaded module: macro
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Stopping health checker
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 reef-pi is shutting down
Sep 09 13:04:10 raspberrypi systemd[1]: Stopping raspberry pi based reef tank controller...
Sep 09 13:04:11 raspberrypi systemd[1]: reef-pi.service: Succeeded.
Sep 09 13:04:11 raspberrypi systemd[1]: Stopped raspberry pi based reef tank controller
Sep 09 12:57:55 raspberrypi reef-pi[1351]: 2022/09/09 12:57:55 API Request:' GET /api/me' from: 192.168.1.66:65376
Sep 09 12:57:55 raspberrypi reef-pi[1351]: 2022/09/09 12:57:55 API Request:' GET /api/health_stats' from: 192.168.1.66:65379
Sep 09 12:58:01 raspberrypi reef-pi[1351]: 2022/09/09 12:58:01 health check: Used memory: 2.33 Load5: 0.23
Looks like it stopped on reboot, but didn't restart
Any ideas
Cheers
Install went smooth, but Reef-pi won't start on boot, require systemctl start reef-pi then works fine
Fresh raspberry install, nothing else installed
When running sudo netstat -tvlnp shows
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 586/sshd: /usr/sbin
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 562/cupsd
tcp6 0 0 :::80 :::* LISTEN 1351/reef-pi
tcp6 0 0 :::22 :::* LISTEN 586/sshd: /usr/sbin
tcp6 0 0 ::1:631 :::* LISTEN 562/cupsd
After fresh boot Reef-pi isn't listed
Journal as follows
Sep 09 12:55:04 raspberrypi reef-pi[1351]: 2022/09/09 12:55:04 API Request:' GET /api/me' from: 192.168.1.66:65376
Sep 09 12:55:04 raspberrypi reef-pi[1351]: 2022/09/09 12:55:04 API Request:' GET /api/health_stats' from: 192.168.1.66:65379
Sep 09 12:56:01 raspberrypi reef-pi[1351]: 2022/09/09 12:56:01 health check: Used memory: 2.31 Load5: 0.22
Sep 09 12:56:01 raspberrypi reef-pi[1351]: 2022/09/09 12:56:01 API Request:' GET /api/me' from: 192.168.1.66:65379
Sep 09 12:56:56 raspberrypi reef-pi[1351]: 2022/09/09 12:56:56 API Request:' GET /api/me' from: 192.168.1.66:65379
Sep 09 12:56:56 raspberrypi reef-pi[1351]: 2022/09/09 12:56:56 API Request:' GET /api/health_stats' from: 192.168.1.66:65376
Sep 09 12:57:01 raspberrypi reef-pi[1351]: 2022/09/09 12:57:01 health check: Used memory: 2.32 Load5: 0.23
After reboot back journal shows
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Successfully unloaded module: equipment
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Successfully unloaded module: ato
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Successfully unloaded module: temperature
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Successfully unloaded module: macro
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 Stopping health checker
Sep 09 13:04:10 raspberrypi reef-pi[1351]: 2022/09/09 13:04:10 reef-pi is shutting down
Sep 09 13:04:10 raspberrypi systemd[1]: Stopping raspberry pi based reef tank controller...
Sep 09 13:04:11 raspberrypi systemd[1]: reef-pi.service: Succeeded.
Sep 09 13:04:11 raspberrypi systemd[1]: Stopped raspberry pi based reef tank controller
Sep 09 12:57:55 raspberrypi reef-pi[1351]: 2022/09/09 12:57:55 API Request:' GET /api/me' from: 192.168.1.66:65376
Sep 09 12:57:55 raspberrypi reef-pi[1351]: 2022/09/09 12:57:55 API Request:' GET /api/health_stats' from: 192.168.1.66:65379
Sep 09 12:58:01 raspberrypi reef-pi[1351]: 2022/09/09 12:58:01 health check: Used memory: 2.33 Load5: 0.23
Looks like it stopped on reboot, but didn't restart
Any ideas
Cheers