I’m using emonCMS 9.3.1 and the version of Modules/app that predates that new configuration “app-pre-mysolar-history”.
I wanted to try out the newer app, so I did the following (commentary on this technique is welcome.)
- cd /var/www/html/ //go to where the emonCMS directory lives
- cp -a emoncms emoncms_test //make a copy of emonCMS for testing
- cd emoncms_test/Modules //go to where the app folder lives in my test version
- rm -r app //remove the old app code
- git clone GitHub - emoncms/app: Emoncms App module: application specific dashboards: includes myelectric, mysolarpv, myheatpump and solar + wind app.
This seemed to work, except that when I tried to configure the mySolar app I got error when I entered my feeds. Something like “cannot be an array.” But the app would actually run, and display my data, but it wouldn’t save the feeds to the configuration. When I would refresh the page, or navigate away, the feeds were again unconfigured (empy configuration – “factory settings”).
So, I guessed there was version dependencies and I would need a more recent version of emonCMS overall to run the new app. Fine, I can work on this some other time.
The problem is that now, back in my original emonCMS folder that I didn’t touch, the feeds are gone from my configuration of the older mySolar app I am accustomed to. I add them back in and hit save, but they are gone again when I refresh.
Any suggestions?
Thanks,
Brandon