How to get changes to html.haml files to reflect in UI?

Our CloudForms v3.1 login process requires the user to authenticate using their email address as the username value. This has caused multiple trouble tickets because users tend to use their SID instead of email address.

So I changed the login label value from “Username” to “Email Address” in the file /var/www/miq/vmdb/app/views/dashboard/login.html.haml. How do I get this change to reflect in the UI? I’ve tested this in the lab and was able to get it to change once I rebooted. I would rather not reboot our productions servers.


cd /var/www/miq/vmdb
bin/rails c
> MiqUiWorker.all.each &:kill

This will just stop the UI workers and the server process will start new ones almost immediately.

I hope this solves your problem,
Milan Falešník, QE

Works great! Thank you Milan!