Hi I have a Raspberry Pi running ICM solar monitoring, and emoncms.
Starting the demandshaper service with
systemctl status demandshaper.service
gives
demandshaper.service - Emoncms Demandshaper service
Loaded: loaded (/lib/systemd/system/demandshaper.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Tue 2023-05-02 00:21:09 SAST; 23s ago
Docs: https://github.com/emoncms/demandshaper/blob/master/readme.md
Process: 836 ExecStart=/usr/bin/php /opt/emoncms/modules/demandshaper--/demandshaper_run.php (code=exited, status=255/EXCEPTION)
Main PID: 836 (code=exited, status=255/EXCEPTION)
Trying /usr/bin/php /opt/emoncms/modules/demandshaper/demandshaper_run.php
results in
Could not open input file: /opt/emoncms/modules/demandshaper/demandshaper_run.php
And /usr/bin/php /opt/emoncms/modules/demandshaper--/demandshaper_run.php
PHP Warning: require(/opt/emoncms/modules/demandshaper/lib/scheduler2.php): failed to open stream: No such file or directory in /opt/emoncms/modules/demandshaper--/demandshaper_run.php on line 31
PHP Fatal error: require(): Failed opening required '/opt/emoncms/modules/demandshaper/lib/scheduler2.php' (include_path='.:/usr/share/php') in /opt/emoncms/modules/demandshaper--/demandshaper_run.php on line 31
Probably because -
ls /opt/emoncms/modules/
backup-- demandshaper-- postprocess-- sync-- usefulscripts
So question is - should those directories have βββ at the end? I dont think I changed them.
If I rename them to remove β then everything fails.
How do I recover without losing my feeds and data? Strangely enough all Services are running excepting demandshaper and emonPiLCD , and I donβt yet have devices other than the Pi connecting to Solar inverter