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


#1

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.

Thanks,
-jd


#2

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


#3

Works great! Thank you Milan!