Hi I have a Raspberry Pi running ICM solar monitoring, and emoncms.
Starting the demandshaper service with
systemctl status demandshaper.service
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)
Could not open input file: /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 -
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