Hi,
I have updated to 2.3 for my emonpi and after version, AC detected and 0 Temp sensor (I have no temp sensor so thats normal) the LCD on the emonpi stays lit and displays "Raspberry Pi Booting...". The recent update was an attempt fix though, as the LCD and buttons were not functioning before the update.
Toggle switch does not funtion to display feeds from solar or power and reset button does nothing either.
The web view to emoncms shows low write version 8.5 and diplays feeds without error or problem (although power feed stopped a day or so ago)
Any suggestions for a fix to the external diplay freeze and inactive buttons? I have the device open and it appears dust free.
Regards,
Joe
Re: LCD Frozen at Raspberry Pi Booting...
Hi Joe,
Sorry to hear about the issue. I'm incorrect in reading you said the Raspberry Pi has booted? Can you accept the emoncms Web interface? If so could you post your update log? Do you have ssh access? If so could you take a look at
tail /var/log/emonpilcd.log
And
tail /var/log/daemon.log
Do you experience the same issue after power cycling and restarting the unit?
Re: LCD Frozen at Raspberry Pi Booting...
Hi Glyn. Thanks for answering my question.
Yes booted and web interface working as normal. Also experiencing same problem after restarting.
I was able to SSH to the unit. Here are the tails for the logs you asked for. Please note the unit is beside me and not currnetly connected to CT or AC sensors.:
tail /var/log/emonpilcd.log
2016-02-22 02:17:28,954 INFO emonPiLCD Start
2016-02-22 02:17:29,091 INFO I2C LCD Detected on 0x27
tail /var/log/daemon.log
Feb 22 02:17:31 emonpi mysqld: 160222 2:17:31 [Note] Event Scheduler: Loaded 0 events
Feb 22 02:17:31 emonpi mysqld: 160222 2:17:31 [Note] /usr/sbin/mysqld: ready for connections.
Feb 22 02:17:31 emonpi mysqld: Version: '5.5.43-0+deb7u1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Debian)
Feb 22 02:17:32 emonpi /etc/mysql/debian-start[3209]: Upgrading MySQL tables if necessary.
Feb 22 02:17:32 emonpi /etc/mysql/debian-start[3213]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Feb 22 02:17:32 emonpi /etc/mysql/debian-start[3213]: Looking for 'mysql' as: /usr/bin/mysql
Feb 22 02:17:32 emonpi /etc/mysql/debian-start[3213]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Feb 22 02:17:32 emonpi /etc/mysql/debian-start[3213]: This installation of MySQL is already upgraded to 5.5.43, use --force if you still need to run mysql_upgrade
Feb 22 02:17:32 emonpi /etc/mysql/debian-start[3229]: Checking for insecure root accounts.
Feb 22 02:17:32 emonpi /etc/mysql/debian-start[3234]: Triggering myisam-recover for all MyISAM tables
Re: LCD Frozen at Raspberry Pi Booting...
Logfiles look fine.
Can you restart the LCD service
$ sudo service emonPiLCD restart
then take a look:
tail /var/log/emonpilcd.log
what version of SD card are you running, what does this return:
sudo grep ls /boot | grep emonSD
Re: LCD Frozen at Raspberry Pi Booting...
This was the response to restart LCD:
pi@emonpi ~ $ sudo service emonPiLCD restart
[....] Stopping system emonPiLCD daemon:start-stop-daemon: warning: failed to kill 2485: No such process
No process in pidfile '/var/run/emonPiLCD.pid' found running; none killed.
failed!
and this to the SD card ping:
pi@emonpi ~ $ sudo grep ls /boot | grep emonSD
grep: /boot: Is a directory
LCG Log:
pi@emonpi ~ $ tail /var/log/emonpilcd.log
2016-02-22 02:17:28,954 INFO emonPiLCD Start
2016-02-22 02:17:29,091 INFO I2C LCD Detected on 0x27
2016-02-24 11:06:28,646 INFO emonPiLCD Start
2016-02-24 11:06:28,755 INFO I2C LCD Detected on 0x27
Re: LCD Frozen at Raspberry Pi Booting...
Just an update on what I have additionally tried (and worked for one boot)
Downloaded a new SD card image and replaced the files on the boot SD with the downloaded files
This made the emonpi start with the scrolling information then went to a functioning LCD and toggle button.
:)
I then ran an update that sent it back to the current problem again!
:(
LCD service does not appear to be running:
pi@emonpi ~ $ sudo service emonPiLCD status
[FAIL] /usr/share/emonPiLCD/emonPiLCD.py is not running ... failed!
and running a restart:
pi@emonpi ~ $ sudo service emonPiLCD start
[ ok ] Starting system emonPiLCD daemon:.
has no effect on the frozen "Raspberry Pi Booting..."/unresponsive toggle situation.
Logs are currently:
pi@emonpi ~ $ tail /var/log/daemon.log
Feb 22 12:17:33 emonpi mysqld: 160222 12:17:33 [Note] /usr/sbin/mysqld: ready for connections.
Feb 22 12:17:33 emonpi mysqld: Version: '5.5.43-0+deb7u1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 (Debian)
Feb 22 12:17:35 emonpi /etc/mysql/debian-start[3228]: Upgrading MySQL tables if necessary.
Feb 22 12:17:35 emonpi /etc/mysql/debian-start[3232]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Feb 22 12:17:35 emonpi /etc/mysql/debian-start[3232]: Looking for 'mysql' as: /usr/bin/mysql
Feb 22 12:17:35 emonpi /etc/mysql/debian-start[3232]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Feb 22 12:17:35 emonpi /etc/mysql/debian-start[3232]: This installation of MySQL is already upgraded to 5.5.43, use --force if you still need to run mysql_upgrade
Feb 22 12:17:35 emonpi /etc/mysql/debian-start[3248]: Checking for insecure root accounts.
Feb 22 12:17:35 emonpi /etc/mysql/debian-start[3253]: Triggering myisam-recover for all MyISAM tables
Mar 1 19:05:33 emonpi wpa_supplicant[1780]: wlan0: WPA: Group rekeying completed with b8:c7:5d:09:20:ef [GTK=TKIP]
and
pi@emonpi ~ $ $ tail /var/log/emonpilcd.log
-bash: $: command not found
Are there any other suggetios (should I Factory Reset?)
Joe
Re: LCD Frozen at Raspberry Pi Booting...
Just ran an update and this is from emoncms/admin/getemonpiupdatelog
Filesystem is unlocked - Write access type ' rpi-ro ' to lock Stopping system emonPiLCD daemon:start-stop-daemon: warning: failed to kill 3506: No such process No process in pidfile '/var/run/emonPiLCD.pid' found running; none killed. failed! Starting emonPi Update >
Re: LCD Frozen at Raspberry Pi Booting...
Hi guys,
This issue has been fixed. It was due to a module dependency required for latest features such as displaying 3G GSM dongle signal status on the emonPi LCD when using a USB 3G dongle. Dependency will now be installed during emonPi update process. Please run emonPi update again and confirm the issue is fixed.
Thanks,
Re: LCD Frozen at Raspberry Pi Booting...
Thanks Glyn,
I can confirm this last update fixed the problem!
Screen is back to normal and toggle button as well.
Much appreciated!
Joe