This is an issue with Influxdb and not Mycodo. You can find many topics that have discussed this issue on Pi Zeros on github issues and this forum. This is just one of those:
opened 08:13PM - 06 Feb 23 UTC
not a mycodo issue
So I have created a brand new deployment using the fresh SD card and pulled the … install using the curl script/command. The installation goes through fine except at the end where it is trying to restart the daemon! It gets stuck there. This is on Raspberry Pi Zero. Now I take the same SD card over to a Raspberry Pi 4, remove my Mycodo folder and do another fresh install. Everything works fine as it should! Thanks. Next I take the SD card and pop it into Raspberry Pi Zero and I see that the daemon does not start. I look at the logs and see a message that something has terminated the daemon. I try this multiple times and try to start the daemon without much luck but then I run daemon in the debug mode on the Raspberry Pi Zero and again everything is fine. Not sure what his happening. Likely some timing issue with the slower processor. Any advice on how to fix this?