Yes, it’s possible. For example, a user might right-click and copy an installation link where & is escaped as \&. If that link is opened in a browser, the script could end up with serial written as SERIAL=123456\, which is wrong. That link was meant for the Terminal use with wget or curl.
This is the most likely reason it didn’t work.
@jaldeguer, please open install.sh and check line 11—if the serial ends with a backslash, that explains it.
No worries, I’ve updated install.cgi on our server to always return clean serial and key values.
Indeed, It turns out that copying and pasting the script into Hostinger’s terminal browser was introducing some strange hidden characters, which caused the installation to fail, even after I tried pasting it into TextEdit on my Mac as plain text.
To avoid that issue, I uploaded the updated virtualmin-install.sh file directly to a fresh Hostinger VPS using scp and ran the script there. This time, it ran perfectly without a hitch!
That’s a weird one. I find those terminals so obnoxious the first thing I do is set up my ssh keys and go to a terminal window. Isn’t this an option on Macs? I know Windows is a separate program like Putty.