Services Error


 

Neil B

New member
Hi All,

I've got my HeaterMeter v4.1.2 up and running (very excited) and have been setting up the web interface.

Unfortunately I've done something to stuff up the Servies Tab as every time I try and access it I get the following message

XML Parsing Error: not well-formed Location: http://192.168.1.12/luci/;stok=22bd81057b069d3170da3281b93d78d2/admin/services/ Line Number 292, Column 1:<h2><a id="content" name="content">500 Internal Server Error</a></h2> ^

I have tried turning the HeaterMeter off and back on and have also reloaded the disk image file - but to no avail.

Does anyone have any suggestions.

Thanks

Neil
 
There's something messed up with the msmtp configuration and it can't load the page. I've not been able to reproduce this problem. Is there any chance I can SSH into this to take a look? If not, just ssh or telnet in yourself and `rm /etc/msmtprc` and reboot and that may fix it. If that's even not up your alley, you can re-flash the whole image from System -> Backup / Flash Firmware, unchecking the "Keep settings" checkbox which will reset all your settings.

EDIT: If you can do a settings backup first and send me the tar.gz file I'd appreciate it too. bmayland at capnbry.net
It will have your wifi password in it if you're already set that but I promise to not look at it :)
 
Hi Brian,

Appreciate your response.

I'll attempt to do the settings back up first and will send that to you.

Thanks for your help and also the wonderful Heatermeter - I've had lots of fun doing this project :-)

Regards

Neil
 
Working with Neil we were able to nail down what caused this and integrate a solution that will prevent the error from happening again.

What happened was that the "account name" field had a dot in it, which caused the parse to fail. luci-msmtp v2 and above will only allow alphanumerics to be entered into the "account name" field. For >99% of users, you should not change the default msmtp account name from "default" anyway because HeaterMeter alerts go to the msmtp account named "default". The label "account name" is somewhat misleading because this is what msmtp calls the account, and is not related to your email provider at all.
 

 

Back
Top