Hi,
I'm following the instructions to install the ready made images for the Pi from here-> http://emoncms.org/site/docs/raspberrypihdd
Everything works :-) until I do the git pull to update the system :-( (see the end of the instructions.)
When I do that, reboot and log into emoncms in the web browser I get a screen with the following text.
settings.php file error
missing setting: feed_settings
To fix check that the settings are set in settings.php or try re-creating your settings.php file from default.settings.php template
I'm new to Linux so haven't a clue what I have done wrong if anything at all.
Thanks for any insights
Re: emoncms + Pi + HDD: missing setting: feed_settings??
This section on that page should resolve the problem, If you have already done this once it maybe that updating with git has over written your installation (deleted setting.php)
There is a preferred alternative that's not yet fully documented That uses debian packages, have a look at this (rather longish) thread it explains how to start from scratch with the latest raspbian image and install emonCMS using the easier method
http://openenergymonitor.org/emon/node/4908
the bit you should read starts about post 20-22 on Fri, 04/04/2014 - 22:38.
Paul
Re: emoncms + Pi + HDD: missing setting: feed_settings??
I have just transplanted the relevant part to its own thread for easier access. should you decide to go that route :-)
Creating a local EmonCMS installation on a Raspberry Pi
Paul
Re: emoncms + Pi + HDD: missing setting: feed_settings??
Thanks Paul,
Will give that a whirl.
I had seen the other thread on setting things up in a few commands but had thought the pre baked image route would be easier.
I guess now I am where I am then
doing the update and fixing the settings file will be the easier route.Actually on 2nd thoughts, making a copy of the settings.php file to oldsettings.php, then doing the update and then overwriting settings.php with oldsettings.php might be easier. Will give that a try.Trust the experts!!!! - saving the old version didn't work.....
However the values for user id and password were "root" and "raspberry" as per the old settings file....
Simon
PS Not sure who has write access to the wiki pages but some of this ought to be documented there.
Re: emoncms + Pi + HDD: missing setting: feed_settings??
The pre made image was definitely the way to go at the time (and still is for some) the apt packaging wasn't available then, the raspbian image is also a little out of date but that's easily updated.
I'm sure you've got it sussed, but you should back up your copy setttings.php somewhere outside of the emoncms folders.
Paul
Re: emoncms + Pi + HDD: missing setting: feed_settings??
Thanks Paul,
I took the default settings file in the end as you suggested which meant I'm not getting the error about the missing settings but now I'm not getting any inputs - this was working before. One step forward, one back......
Maybe I need to bite the bullet, re-image the HDD and follow your new instructions...
Simon