Hi
After updating to 9 the Refresh Log for updates has stoped working the update is working as i can see an updated log /var/log/emonpiupdate.log has the right time and date it just not showing in the GUI
Steve
Archived Forum |
|
update to 9.3 admin page logsSubmitted by smitt1979 on Fri, 27/11/2015 - 13:56Hi After updating to 9 the Refresh Log for updates has stoped working the update is working as i can see an updated log /var/log/emonpiupdate.log has the right time and date it just not showing in the GUI Steve » |
Re: update to 9.3 admin page logs
Pretty sure that got removed from the UI in this release if I'm remembering my Git notification emails correctly
Re: update to 9.3 admin page logs
Hi Steve, at the moment a big restructure is taking place in the emoncms git repo, which has resulted in the update branch being temporarily removed, hence the error which you are seeing.
This restructure is to try and make it much easier longterm for users to obtain the correct version (branch) and avoid confusion, not just for emonpi, but emonbase too. If you look at the emoncms git repo, you'll see that v9.0 & v9.x have been removed (merged into master), and further changes will be made in the coming days.
Be assured that there is not an update available for you at the moment, and when the restructure is complete, this issue will correct itself.
Paul
Re: update to 9.3 admin page logs
Thanks Paul
Re: update to 9.3 admin page logs
Hi
Can I rekindle this post as it’s been a while now and this is still now working for me? I reinstall my SD card i use the emonSD-17Jun2015.img from http://openenergymonitor.org/emon/node/10729 and then update to 9 using the guide http://openenergymonitor.org/emon/node/11407 and i log viewer is still not working the logs are outputting to the /var/log/emonpiupdate.log but not displaying on the admin page is anyone else have the same problem
Thanks Steve
Re: update to 9.3 admin page logs
The /var/log/emonpiupdate.log has been recently moved to /home/pi/data/emonpiupdate.log to make the changes persistent between reboots as /var/log is mounted as tempfs and gets reset on reboot.
What branch is your emoncms on? If you have updated to 9.x then 'Stable' would be the best branch to be on, this is what will be on all emonPi's by default in the future once the 22nd Dec image is released. If your on Master or Stable branch the log should update to show from /home/pi/data
Re: update to 9.3 admin page logs
Hi Glyn
im running 9.3 branch stable
pi@emonpi /var/www/emoncms/Modules $ cd /var/www/emoncms && git branch -a
low-write
master
* stable
remotes/origin/Extended
remotes/origin/HEAD -> origin/v8.5
remotes/origin/low-write
remotes/origin/master
remotes/origin/postgreSQLite
remotes/origin/stable
remotes/origin/v8.5
there is a /home/pi/data/emonpiupdate.log but its empty
there is also a log file in /var/log/emonpiupdate.log this is the log file the data is going to
pi@emonpi /var/log $ nano emonpiupdate.log
GNU nano 2.2.6 File: emonpiupdate.log
Filesystem is unlocked - Write access
type ' rpi-ro ' to lock
Stopping system emonPiLCD daemon:.
Starting emonPi Update >
Fri Jan 8 20:59:03 UTC 2016
git pull /home/pi/emonpi
Already up-to-date.
git pull /home/pi/RFM2Pi
Already up-to-date.
git pull /home/pi/emonhub
Already up-to-date.
git pull /home/pi/oem_openHab
/home/pi/emonpi/update: line 47: cd: /home/pi/oem_openHab: No such file or directory
Already up-to-date.
git pull /home/pi/oem_node-red
/home/pi/emonpi/update: line 51: cd: /home/pi/oem_node-red: No such file or directory
Already up-to-date.
git pull /var/www/emoncms/usefulscripts
/home/pi/emonpi/update: line 55: cd: /home/pi/usefulscripts: No such file or directory
Already up-to-date.
Steve
Re: update to 9.3 admin page logs
Ah got it, you need to update the cron entry to point to /home/pi/data/emonpiupdate.log
$ crontab -e
* * * * * /home/pi/emonpi/update >> /home/pi/data/emonpiupdate.log 2>&1
Re: update to 9.3 admin page logs
Hi Glyn
Yep that got it working :)
Thanks for the help
Steve