4
Unable to cancel Mailbox Migration
Problem reported by Damir Matešić - 6/7/2017 at 5:08 AM
Submitted
I started one mailbox migration using IMAP and is impossible to cancel it. I click on cancel and after a refresh the progress is showing again.

18 Replies

Reply to Thread
0
Derek Curtis Replied
Employee Post
Hi, Damir. Mailbox migrations are, and have been, an all or nothing request. Once the migrations starts it will continue to run until complete, unless there's an error. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com
0
Damir Matešić Replied
Strange behavior. Thnx for the explanation.
2
Shaun Peet Replied
Hi Derek,
 
I'd suggest you change this back to "reported" because there are issues in the migration process where they get stalled for whatever reason, and then don't show in the "current migrations" area of the admin but do show as in progress in the user area with no way to cancel them other than to delete the folders from the server and bounce the service.
 
It happened to me last week, and there are other threads in the community about the same subject.  Ideally, the "cancel" button should either 1) not exist if it doesn't do anything, or 2) actually cancel a migration.
 
Shaun
 
1
Damir Matešić Replied
Hi Derek,

Shaun is right 100%. For what the cancel button if it does not do anything. 

Also after migration of a mailbox (4GB) i wanted to delete it and it stucks. I had to delete the folder and stop/start the service.

Something is wrong here.
1
Shaun Peet Replied
Here are the other two older threads which discussed this behavior of a hung migration with no way to cancel it from the UI.  Again, this happened to me last week so this is not resolved.
 
http://portal.smartertools.com/community/a1186/mailbox-migration-issue.aspx
 
http://portal.smartertools.com/community/a2432/how-to-cancel-a-sm-mailbox-migration.aspx
 
 
1
Derek Curtis Replied
Employee Post
Jeez...pilling on! :)
 
Okay, I've modified this and alerted the developers. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com
0
Shaun Peet Replied
Sorry! I know it sounds like negativity all the time but we have shared interest in making SM the best it can be. I try not to be overly negative with suggestions if at all possible. We also develop custom software and our most critical users often provide the best suggestions for improvement (even if sometimes it's delivered in a harsh manner).
0
Derek Curtis Replied
Employee Post
Absolutely...and I didn't take any of this as being negative. Was just trying some levity...guess it failed. (Not the first time, nor will it be the last.)

We certainly appreciate everyone's input and desire to help.
Derek Curtis COO SmarterTools Inc. www.smartertools.com
0
Shaun Peet Replied
I took it as levity - I noticed the smiley face. But there's some truth too - even I think I'm piling on. But not in a negative way - it's (hopefully) constructive criticism piling on :)
2
Derek Curtis Replied
Employee Post
It takes a brave man to admit when he's wrong...and I was wrong. The cancel button WILL cancel the migration. What that means is that no more information will be brought into the system, but if things like emails, contacts, etc. are already queued up, then those will complete. That's why, Damir, when you hit the Cancel button there's still a progress bar: it has to finish what it's already started.
 
As for migrations hanging, we're looking into that. Going to leave this as "Submitted" for now, though, as we'll want to recreate it so we can find out what's going on. 
Derek Curtis COO SmarterTools Inc. www.smartertools.com
1
Derek Curtis Replied
Employee Post
As an aside, I was informed that there is a mailbox import log in the SmarterMail logs folder..that may at least help with figuring out what is causing the problem.
Derek Curtis COO SmarterTools Inc. www.smartertools.com
1
Damir Matešić Replied
Ok, i started a migration of one big account (gmail, aprox. 3GB). I hit cancel after 2-3 minutes but the migration did finish to end (about 30 minutes later). So maybe the cancel does not work wery well or the way i was thinking it should....
0
Damir Matešić Replied
Hi, are there any news?
0
JC P Replied
Is there a temporary workaround for this? Pressing 'Cancel' simply does nothing and just closes the popup window, so accessing the 'Mailbox Migration' link again returns you to the same dialog/popup.
0
JerseyConnect Team Replied
We recently ran into this condition you describe. If the migration errors for any reason it will hang like this. Additionally if you look in Manage -> User Activity -> Current Migrations, nothing will be listed.

You can work around it by using the API to force another migration. In our case we would just create a new user in the domain to use as our migration source. This guaranteed the migration finshed quickly and successfully.

The quick and dirty method we used was to create an HTML form that submits to the QueueMailBoxMigration function and then access the form right from the server. Here is the form we used:

-------------------
<form target="_blank" action='http://SERVER_IP/Services/svcUserAdmin.asmx/QueueMailBoxMigration' method="POST">

<table cellspacing="0" cellpadding="4" frame="box" bordercolor="#dcdcdc" rules="none" style="border-collapse: collapse;">
<tr>
<td class="frmHeader" background="#dcdcdc" style="border-right: 2px solid white;">Parameter</td>
<td class="frmHeader" background="#dcdcdc">Value</td>
</tr>


<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">AuthUserName:</td>
<td><input class="frmInput" type="text" size="50" name="AuthUserName"></td>
</tr>

<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">AuthPassword:</td>
<td><input class="frmInput" type="text" size="50" name="AuthPassword"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="IMPORTTYPE=Other" name="parameters"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="ACCOUNTTYPE=IMAP" name="parameters"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="DELETECURRENTMAILBOX=true" name="parameters"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="IMPORTITEMS=email" name="parameters"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="PORT=143" name="parameters"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="DESTINATION=" name="parameters"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="USESSL=false" name="parameters"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="SERVERADDRESS=" name="parameters"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="PASSWORD=" name="parameters"></td>
</tr>
<tr>
<td class="frmText" style="color: #000000; font-weight: normal;">parameters</td>
<td><input class="frmInput" type="text" size="50" value="USERNAME=" name="parameters"></td>
</tr>

<tr>
<td></td>
<td align="right"> <input type="submit" value="Invoke" class="button"></td>
</tr>
</table>


</form>
--------------

In the form action just insert your server's IP, then load the form in a browser and fill out the fields.
1
Scot Desort Replied
Hello 

We are on v15.7 and have this same issue. On the server side under current migrations, it shows 0 active migrations. But on the user side, it shows a migration in process, 0 messages imported. Clicking CANCEL doesn't seem to cancel the migration.

We don't have physical access to the server disk to upload forms or delete things in directories. How would it be best to proceed with this to get this migration stopped so we can retry it?


1
Damir Matešić Replied
Scot, i raccomand you to change the mail server software. I have a ticket opened for 6 months with no resolution.
0
Paul Blank Replied
Stay with SM and try Bittitan for migrations. Simple and cheap enough. Once you figure it out, it works very well. Bit of a learning curve, as it's not that intuitive. But it does let you run a "no-migration" trial, and then a partial migration (e.g. all data in a range up to 30 days ago);  then a final migration of that recent stuff, with no duplicates migrated. Neat. 

Note that their support is quite good, but you'll often have to submit a question and wait some time for an answer. 

Reply to Thread