Hi all.
My raspberry pi was happily updating emoncms.org until I did a sudo apt-get upgrade/update.
Since then my feeds (on both the local pi and emoncms.org show as inactive)
Tailing the /var/log/rfm12piphp.log shows updates and the sending remote data message. The pi page shows the scripts is running message and authentication is successful.
Where should I look from here please?
Thank you.
Duchess
Re: Problem updating emoncms.org after sudo apt-get upgrade on a raspberry pi
Are there any error messages in the log?
I presume that you were updating/upgrading the Raspberry Pi (not emoncms).
Paul
Re: Problem updating emoncms.org after sudo apt-get upgrade on a raspberry pi
Hi Paul
The log just shows the following after a reboot:
00,21,03,00s
Sending remote data00,21,04,00s
00,21,04,00s
Sending remote data00,21,04,00s
00,21,08,00s
Sending remote data00,21,08,00
git pull origin master returns with
fatal: Not a git repository (or any of the parent directories): .git
I also noticed the following error appearing once:
PHP Fatal error: Call to a member function fetch_object() on a non-object in /var/www/emoncms/Modules/raspberrypi/raspberrypi_model.php on line 29
Thank you for the help.
Penny
Re: Problem updating emoncms.org after sudo apt-get upgrade on a raspberry pi
My bad, once I cd'd to the /var/www/emoncms folder the git pull origin master does an update. However the feed status on the local pi still shows inactive :-(
Penny
Re: Problem updating emoncms.org after sudo apt-get upgrade on a raspberry pi
Ok, fixed it. What I needed to do was as follows:
All good now, thanks for listening guys :-)
Penny
Re: Problem updating emoncms.org after sudo apt-get upgrade on a raspberry pi
It looks as though you've updated and almost reinstalled emoncms, but great news that you are back working OK.
Paul