Me again.
Likely some stupid mistakes on my part. Let's start with the service not binding to the IP. I get this every time I reboot the pi:
If I manually restart the service, it binds fine and the site comes up. Obviously, this is some form of dependency / race condition. I assume there is a way to determine what that race condition is, and to set a dependency. In systemctl? Guideance is apppriciated.
Second issue is after I get the service started. I notice the following error:
I do have the following set in my /boot/config.txt and rebooted numerous times since it was set:
This is obviously causing issues with getting the pH probe set up. :P
Likely some stupid mistakes on my part. Let's start with the service not binding to the IP. I get this every time I reboot the pi:
Code:
May 10 20:09:52 nautilus reef-pi[415]: 2023/05/10 20:09:52 Successfully started subsystem: temperature
May 10 20:09:52 nautilus reef-pi[415]: 2023/05/10 20:09:52 Successfully started subsystem: doser
May 10 20:09:52 nautilus reef-pi[415]: 2023/05/10 20:09:52 Successfully started subsystem: phprobes
May 10 20:09:52 nautilus reef-pi[415]: 2023/05/10 20:09:52 Successfully started subsystem: macro
May 10 20:09:52 nautilus reef-pi[415]: 2023/05/10 20:09:52 reef-pi version 6.0 is up and running
May 10 20:09:52 nautilus reef-pi[415]: 2023/05/10 20:09:52 Starting https server at: 192.168.56.219:443
May 10 20:09:52 nautilus reef-pi[415]: 2023/05/10 20:09:52 ERROR: Failed to run https server. Error: listen tcp 192.168.56.219:443: bind: cannot assign requested address
May 10 20:09:52 nautilus reef-pi[415]: Methods: [GET]
May 10 20:09:52 nautilus reef-pi[415]: 2023/05/10 20:09:52 API Doc path: /api/settings
May 10 20:09:52 nautilus reef-pi[415]: 2023/05/10 20:09:52 Starting health checker
If I manually restart the service, it binds fine and the site comes up. Obviously, this is some form of dependency / race condition. I assume there is a way to determine what that race condition is, and to set a dependency. In systemctl? Guideance is apppriciated.
Second issue is after I get the service started. I notice the following error:
Code:
Failed to initialize i2c. Error:open /dev/i2c-1: no such file or directory
I do have the following set in my /boot/config.txt and rebooted numerous times since it was set:
Code:
dtparam=i2c_arm=on