Trying to install EmonCMS on Ubuntu 20.04LTS. The install script fails with this error:
PHP Warning: chdir(): No such file or directory (errno 2) in /opt/openenergymonitor/EmonScripts/common/emoncmsdbupdate.php on line 8
PHP Warning: require(process_settings.php): failed to open stream: No such file or directory in /opt/openenergymonitor/EmonScripts/common/emoncmsdbupdate.php on line 9
PHP Fatal error: require(): Failed opening required 'process_settings.php' (include_path='.:/usr/share/php') in /opt/openenergymonitor/EmonScripts/common/emoncmsdbupdate.php on line 9
When I checked /var/www there was no emoncms folder.
Iāve gotten the system to partially run by manually doing a git clone of emoncms to /var/www and changing the default passwords in settings.ini to match the ones in config.ini.
I still have 2 red lights under System Info: feedwriter and demandshaper.
cd /opt/openenergymonitor/EmonScripts/install/
nano config.ini
Set emonSD_pi_env=0
replace all āstableā with āmasterā
Save and quit
./main.sh
You can now access the server through the IP address. Everything works out of the box except for update which gives the āinvalid serial portā error.