SolusVM: Cancelling stuck migrations Print

  • 5

There is a rare bug which can occur with SolusVM, in which migrations will get stuck at 0% - no matter how much time passes, like so:

When this happens, do the following:

1) Connect to the SolusVM master via SSH

2) Execute the following command to create a database backup of the SolusVM master (it's unlikely it will be needed, but, better safe than sorry!):

curl -o svmdbdump.sh https://raw.githubusercontent.com/solusvm-support/helpers/master/svmdbdump.sh && sh svmdbdump.sh

3) Execute the following command to launch a MySQL session:

MYSQL_PWD=`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $3}'` mysql `cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $1}'` -u`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $2}'` -h`cat /usr/local/solusvm/includes/solusvm.conf | awk -F ":" '{print $4}'`

4) Execute the following three commands, replacing "ID" with the ID of the VPS as shown in the URL when managing the VPS (i.e. https://yoursolusvm.com/admincp/manage.php?id=99999 - 99999 is the ID in this example)

update migrations set status = 2 where vserverid = 99999;
update migrations set status2 = 1 where vserverid = 99999;
update migrations set status3 = 1 where vserverid = 99999;

5) Open the SolusVM Migration page for the VPS in question.

6) Select "Migration failed. Clean ip the destination node and boot the source virtual server" 

You're done!


Was this answer helpful?

« Back

We've worked with 25,506 customers in 143 countries - come & join us!
C I Wing September 19, 2024
"Support is brilliant"

Highly recommending Ethernet Servers, top notch and support is brilliant. Go for it as I am using the VPS already.

Paola Meyer September 5, 2024
"Splendid service"

All tickets are handled in timely manner. One of the best customer attentions I've had in the last 15 years. I wholeheartedly recommend ethernetservers.com for their splendid service.

Robin Gupta September 3, 2024
"Very happy"

I've been using Ethernet Servers since 2014, and they’ve always provided excellent service. I have many shared hosting accounts with them, and for the past five months, I’ve also been using their managed dedicated servers. What really stands out is their support. George, who I respectfully call Sir, is always there when I need help. He’s very knowledgeable and professional, and his assistance has made a big difference for me. If you’re looking for affordable and reliable web hosting, I highly recommend Ethernet Servers. They’ve been great to work with, and I’m very happy with their service. Thanks for everything!

David August 9, 2024
"Service is excellent"

The service is excellent. George went above and beyond. In this day and age, it is very nice to have a real person that I can deal with rather than a chatbot or some nameless/faceless tech support department as is often the case at other hosting providers. Highly recommended.


Ethernet Servers Ltd
124 City Road
London
EC1V 2NX
United Kingdom


Registered Limited Company: #09114946

Telephone:
+44 330 043 1258

Email:
hello@ethernetservers.com

Copyright © 2014 - 2024 - Ethernet Servers Ltd - All Rights Reserved.

Proudly serving customers in 143 countries since July 2014!