Page 1 of 1
I cloned a Droplet - Vesta NGINX Start Failed
Posted: Tue Nov 05, 2019 10:23 pm
by bgbs
Basically when I cloned the Digital Ocean Droplet, the previous server's IP are still displayed. The console throws error 99 because the websites on this cloned server are still trying to connect to the previous server. However, in Vesta I cannot update the IP anywhere. When I go to add a new domain, it does not list the new server's IP.
Any ideas what to do?
Re: I cloned a Droplet - Vesta NGINX Start Failed
Posted: Wed Nov 06, 2019 2:27 am
by plutocrat
I've forgotten where this is in the web interface, but it is there somewhere. Maybe under the server tab?
Meanwhile, these commands might help you out (use sudo if running as admin)
v-list-sys-ips
v-add-sys-ip
v-delete-sys-ip
v-update-sys-ip
I seem to remember after running these, that there were also files left in /etc/apache/conf.d/ and /etc/nginx/conf.d/ that needed to be looked at. Basically need to remove ones referencing the old IP.
Re: I cloned a Droplet - Vesta NGINX Start Failed
Posted: Wed Nov 06, 2019 2:34 am
by plutocrat
OK, when you log in to vestaCP as admin, on the top row you see Packages, IP, Users,
Go to IP section. Add new IP. Assign it to all users. Delete old IP.
See if that works.