Hi! After three years running Emoncms on an EmonPi2 without problems I decided to update the software. I took a monthly backup and then did an update all. One of the things I wanted to get fixed was that the driver for the LCD display was crashing. After restarting I couldn’t get past login - not sure if my Apple password manager did something funny but anyway I can’t log in with any credentials. Looking at online help I could see there’s a reset password php script so I. tried to SSH from my Mac using Termius (like Putty) to the local address (192.168…) by connection is not allowed. A little more digging online and I see that SSH needs to be enabled via the push button and LCD screen on the Emonpi2… but the LCD screen is the thing I wanted to fix!
My Emoncms application on my phone still works, but while I can see inputs, feeds etc. I don’t think you can run command line stuff. I guess it has the password embedded in the app, but I don’t want to logout of it as it’s the only remaining monitoring I have!
Any other smart ideas (not too smart ideally as I don’t speak Linux) - or is getting a new SD card from the shop maybe and doing a restore of my database?
Thanks for any helpful suggestions!
Hello @RichardinCancale
You can enable SSH by removing the SD card and opening it with an SD card reader on your computer. Then add an empty file called “ssh” to the boot partition. Then place the card back in the emonPi2 and boot it up again, you should now be able to ssh in and change the password 
Thanks Trystan, that sounds like a possible route. May I ask a dumb question (another one!) - the computer I have with an SD card reader is a Windows 10 machine - not Linux. How would I create an empty file in the boot partition of the SD card using normal Windows utilities? Can I just use Notepad for example, with no file type and save an empty document?
The boot partition is FAT32 and so should open on windows fine. Yes then use notepad to add the file. This is common to all RaspberryPi OS builds e.g https://linuxize.com/post/how-to-enable-ssh-on-raspberry-pi/#enabling-ssh-on-a-pre-imaged-sd-card-headless
Thanks - I succeeded with that and can get to the login using PuTTY on the old Windows 10 PC. Couldn’t get the credentials to work though, tried combinations of user: pi, emonsd, raspberry and pw: emonsd, emonpi2016. Any other combinations been used in living memory?
Good news was that I did rediscover my EmonCMS password so I have updated to latest stable successfully. Bad news - the LCD driver still says ‘Failed’ so maybe a hardware fault on it, or could it be a firmware update is needed on the Emonpi2?