Hi
I recently upgraded my Emoncms / HomeAssistant server hardware to an Argon ONE M.2 Case, Raspberry Pi 4 and SSD. Software installed includes Raspberry Pi 32bit Lite, Node-RED, Emoncms, Docker + HomeAssistant and Remote.it.
The SSD image was installed using the Raspberry Pi Imager and then connected to the Pi to let it sort out disk size, etc. Emoncms DIY BUILD was installed using the installation script at EmonCMS Install Scripts .
NO emonhub so I changed…
hostname=Pegasus
install_emonhub=false
install_emoncms_emonpi_modules=false
install_firmware=false
install_emonpilcd=false
install_emonsd=false
install_wifiap=false
and commented out:
declare -A emoncms_emonpi_modules
(i.e. #declare -A emoncms_emonpi_modules)
I imported a backup from the previous installtion, Emoncms reported low-write 11.3.20 and all seemed to run correctly.
Initially the changeover went well but after ~2 months of working perfectly the system started intermittently “hanging” for no apparent reason (~10 events over the last three of weeks). Each time there was no access to Emoncms or HomeAssistant web pages, no MQTT broker and no SSH. Oddly it still responded to “ping” and the Pi board showed some processor activity (flashing green LED). Upon power cycling (generally the only way out!) it would run correctly again.
The previous system, based on Raspberry Pi 3 + HDD, had worked flawlessly for a few years. I was inclined to think the problem was a hardware issue and am pursuing that with the supplier of the parts.
However, during a rebuild, I noticed errors in the Emoncms installation script output. The attached file shows the issues (just a screen grab as it flew past). Re-installing everything again from scratch gave the same result. I have not noticed these messages before - but maybe I missed them.
ERRORS in emoncms installation script.txt (3.7 KB)
syslog shows a variety of issues but it is difficult to determine cause from effect.
Questions:
- Am I doing something wrong in my “NO emonhub” installation?
- Is it possible that the installation errors could cause the system to hang?
- Is there an installation log file which captures the whole of the installation process?
Thanks in advance for any ideas / help!