We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Error: email is not valid [Solved]
Error: email is not valid [Solved]
Firstly, please let me take this opportunity to first say hello!
Basically, I've come across a problem I've never had before and I'm starting to tear my hair out! I'm using a new VPS and I'm having no luck installing Vesta at all. It doesn't matter whether my box is running CentOS, Debian or Ubuntu. I get this every single time (see last line):
I've added rules in my iptables config to allow ANYTHING to go through so I can't understand what's going on. I've even gone as far as disabling iptables and I still get nothing. Has anyone come across this before and/or does anyone have a solution? Unfortunately, the installation immediately exits and will not allow any further progress.
Thanks,
Steeve
Basically, I've come across a problem I've never had before and I'm starting to tear my hair out! I'm using a new VPS and I'm having no luck installing Vesta at all. It doesn't matter whether my box is running CentOS, Debian or Ubuntu. I get this every single time (see last line):
Code: Select all
_| _| _|_|_|_| _|_|_| _|_|_|_|_| _|_|
_| _| _| _| _| _| _|
_| _| _|_|_| _|_| _| _|_|_|_|
_| _| _| _| _| _| _|
_| _|_|_|_| _|_|_| _| _| _|
Vesta Control Panel
Following software will be installed on your system:
- Nginx frontend web server
- Apache application web server
- Bind DNS server
- Exim mail server
- Dovecot IMAP and POP3 server
- MySQL database server
- Vsftpd FTP server
Do you want to proceed? [y/n]): y
Please enter valid email address: *****@*****.***
Please enter hostname [*****]: *****.*****.***
Error: email *****@*****.*** is not valid
Thanks,
Steeve
Last edited by mcsteevie on Fri Jan 30, 2015 5:17 am, edited 1 time in total.
Re: Not getting very far
This should fix the email problem regardless of the os your running
If not try running this
Code: Select all
echo "nameserver 8.8.8.8" > /etc/resolv.conf
Code: Select all
bash vst-install.sh --force
-
- Posts: 54
- Joined: Wed Dec 11, 2013 9:05 pm
Re: Not getting very far
If you have not setup DNS for your email's domain it will not work. Because the installer check to see if the email's domain is valid. I would recommend using a Gmail, Outlook, Yahoo email to use during setup.
Re: Not getting very far
Thank you. I wish it was that simple! I have 8.8.8.8 and 8.8.4.4 as nameservers in my resolv.conf file and I've also tried with opendns (208.67.220.220 & 208.67.222.222) just in case. I've also tried with a gmail and outlook account without success. There appears to be no dns issue as I am able to resolve domain names without any problem.
Unfortuantely, using --force also has no effect.
Any ideas? Thanks
Unfortuantely, using --force also has no effect.
Any ideas? Thanks
Re: Not getting very far
If you like I can try and install it. Just shoot me a pm with your login details. Also perform an a fresh install of the os you would like to use.mcsteevie wrote:Thank you. I wish it was that simple! I have 8.8.8.8 and 8.8.4.4 as nameservers in my resolv.conf file and I've also tried with opendns (208.67.220.220 & 208.67.222.222) just in case. I've also tried with a gmail and outlook account without success. There appears to be no dns issue as I am able to resolve domain names without any problem.
Unfortuantely, using --force also has no effect.
Any ideas? Thanks
Re: Not getting very far
Thanks. I've PM'd over the details.
This is what I'm doing after a fresh install of the OS:
The response I'm getting halfway through the installation is this:
This is what I'm doing after a fresh install of the OS:
Code: Select all
printf "nameserver 8.8.4.4\nnameserver 8.8.8.8" > /etc/resolv.conf
apt-get remove bind9 bind9* && apt-get remove --purge bind9
apt-get remove apache2 apache2* && apt-get remove --purge apache2*
rm -fr /etc/apache2
apt-get update
iptables -I INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
apt-get install curl
curl -O http://vestacp.com/pub/vst-install.sh
chmod +x vst-install.sh
./vst-install.sh -f
Code: Select all
Error: email **********@gmail.com is not valid
Error: can't create admin user
Re: Not getting very far
And you don't have user "admin"?mcsteevie wrote: The response I'm getting halfway through the installation is this:Code: Select all
Error: email **********@gmail.com is not valid Error: can't create admin user
Check please -> cat /etc/passwd
Re: Not getting very far
Thanks. No, it's not in there so there doesn't appear to be a conflict.skurudo wrote:And you don't have user "admin"?mcsteevie wrote: The response I'm getting halfway through the installation is this:Code: Select all
Error: email **********@gmail.com is not valid Error: can't create admin user
Check please -> cat /etc/passwd
Something is just preventing it from creating the user. Looking at the shell script, I can see that the installer tries to verify the email tld before it creates a user but I can't see how this could fail as all DNS appears to be working fine. I can ping any domain/perform lookups without problems (in this example, I've checked Gmail, Outlook etc.) I've even tried commenting out the code that checks the domain in the installer but it still doesn't create the user.
Re: Not getting very far
Well, I've just managed to get it up and running! I had a feeling and went with it...
It installed without a problem on a 32-bit OS. Previously, I've only tried installing on 64-bit builds of Debian, Ubuntu and CentOS. I have no idea why that's making a difference at the moment but for some reason it matters!
It's not a big issue for me as I don't have big memory requirements but if anyone else runs into this, I'd be interested to find out. I'll post again if I find out anything else.
It installed without a problem on a 32-bit OS. Previously, I've only tried installing on 64-bit builds of Debian, Ubuntu and CentOS. I have no idea why that's making a difference at the moment but for some reason it matters!
It's not a big issue for me as I don't have big memory requirements but if anyone else runs into this, I'd be interested to find out. I'll post again if I find out anything else.