EnergyX
(Mark)
3
Thanks heaps Glyn!
I was completely lost, but it is now all working. Curiously, it seems that data was still logging to emoncms.org – so I’m extra happy that I don’t have any data gaps. The download log did not work. I have attached the log from PuTTY. Should I append the community topic with your procedure?
Mark
emonUpdateLog.txt (39.1 KB)
···
From: Glyn Hudson
Sent: Friday, April 28, 2017 11:17 PM
To: arrcrashedagain@yahoo.com.au
Subject: [Community] [PM] Upgrade emonpi created a brick
glyn.hudson Glyn Hudson
April 28
Hi Mark,
I recent update required an update to emoncms settings.php file. This file is located in /var/www/emoncms/settings.php, the update script looks to see if there are any user changes to the settings file and if not the settings.php can safely be updated with default.emonpi.settings.php.
What I think has happened in your case is easier you had made a customisation to settings.php or your are running an old version of emonSD.
This fix this, you will need to connect via SSH and manually update the settings file (creating a backup first):
$ rpi-rw
$ cp /var/www/emoncms/settings.php /var/www/emoncms/backup.settings.php
$ cp /var/www/emoncms/default.emonpi.settings.php /var/www/emoncms/settings.php
$ rpi-roEmoncms should now load up. I would be interested to see your emonpiupdate.log logfile to work out exactly what has happened during the update. This can be downloaded from the Setup > Admin > Download log. Please could you attach the logfile to this email.
If emoncms is still not running you will need to copy and paste emonpi update log file manually via ssh this can be done using
$ cat ~/data/emonpiupdate.log
Then copy the text on display
Visit Message or reply to this email to respond.
To unsubscribe from these emails, click here.