Page 1 of 1

Canot migrate zimbra

Posted: Sat Dec 17, 2016 4:19 am
by whk102
I using zimbra 8 collab and zmztozmig.

When try import the account the log says:

Code: Select all

*****[INFO|main:1| 12/17/2016 01:08:19]: Start Logging: 
*****[INFO|main:1| 12/17/2016 01:08:19]: ********************************************************** 
*****[INFO|main:1| 12/17/2016 01:08:19]: ConfigFile: /opt/zimbra/conf/zmztozmig.conf 
*****[INFO|main:1| 12/17/2016 01:08:19]: Version: 1.4 
*****[INFO|main:1| 12/17/2016 01:08:19]: Thread count: 1 
*****[INFO|main:1| 12/17/2016 01:08:19]: Request URL: https://oldserver:7071/service/admin/soap 
*****[INFO|main:1| 12/17/2016 01:08:24]: Request URL: https://newserver:7071/service/admin/soap 
*****[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: Processing Account: myaccount@oldserver 
*****[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: Going to download TarredMailBox (myaccount@oldserver) 
*****[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: AccountID: null 
*****[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: Download TarredMailBox Error(myaccount@oldserver). 
*****[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: User myaccount@oldserver does not exists. 
*****[INFO|main:1| 12/17/2016 01:08:24]: ****************SUMMARY************************** 
*****[INFO|main:1| 12/17/2016 01:08:24]: Total Accounts processed         :    1 
*****[INFO|main:1| 12/17/2016 01:08:24]: Successfull Accounts             :    0 
*****[INFO|main:1| 12/17/2016 01:08:24]: Failed accounts                  :    1 
*****[INFO|main:1| 12/17/2016 01:08:24]: Total Migration Time(seconds)    :    0.038 
*****[INFO|main:1| 12/17/2016 01:08:24]: ************************************************* 

Code: Select all

[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: *******SOAP Request: : <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header><context xmlns="urn:zimbra"><userAgent xmlns="ZimbraProvisioningTool"/><type:format xmlns:type="xml"/><sessionId id="1"/><authToken>***hide_by_me_***</authToken></context></SOAP-ENV:Header><SOAP-ENV:Body><GetAccountRequest xmlns="urn:zimbraAdmin" applyCos="0"><account by="name">myaccount@oldserver</account></GetAccountRequest></SOAP-ENV:Body></SOAP-ENV:Envelope> 
[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: *******SOAP Response: : <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><context xmlns="urn:zimbra"><change token="120"/></context></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>no such account: myaccount@oldserver</faultstring><detail><Error xmlns="urn:zimbra"><Code>account.NO_SUCH_ACCOUNT</Code><Trace>qtp509886383-763:https://oldserver:7071/service/admin/soap:1481947704768:91f72ed618c2c53a</Trace></Error></detail></soap:Fault></soap:Body></soap:Envelope> 
[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: GetAccountRequest Failed: no such account: myaccount@oldserver
[WARNING|ZTOZThread1:13| 12/17/2016 01:08:24]: GetAccountInfoByName Failed: myaccount@oldserver
[INFO|ZTOZThread1:13| 12/17/2016 01:08:24]: AccountID: null 
[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: Download TarredMailBox Error(myaccount@oldserver). 
[SEVERE|ZTOZThread1:13| 12/17/2016 01:08:24]: User myaccount@oldserver does not exists.
But the account exist in old server. When use accounts=all fail all accounts (30 accounts) with same error.

Whats happen?

My conf file:

Code: Select all

SourceZCSServer=oldserver
SourceAdminUser=admin@oldserver
SourceAdminPwd=****
SourceAdminPort=7071
TargetZCSServer=newserver
TargetAdminUser=admin@newserver
TargetAdminPwd=****
TargetAdminPort=7071
Threads=1
WorkingDirectory=/tmp/ztozmig/mailboxdumps/
FailedDirectory=/tmp/ztozmig/mailboxfailures/
SuccessDirectory=/tmp/ztozmig/successes/
LogDirectory=/opt/zimbra/log/ztozmiglogs
KeepSuccessFiles=FALSE
Accounts=myaccount@oldserver

Re: Canot migrate zimbra

Posted: Sat Dec 17, 2016 5:11 am
by whk102
The zmztozmig tool works only over existent accounts in the new server :-/

Re: Canot migrate zimbra

Posted: Sat Dec 17, 2016 6:01 am
by phoenix
whk102 wrote:I using zimbra 8 collab and zmztozmig.
Use the ZeXtras Migration Tool, it's far easier to for moving your configuration to a new server (if that's what you're trying to do).

Re: Canot migrate zimbra

Posted: Wed Apr 04, 2018 11:53 am
by whk102
Thanks, but ZeXtras is very expensive, zmztozmig is free.

Re: Canot migrate zimbra

Posted: Sat Apr 07, 2018 2:32 pm
by phoenix
You get a thirty day free trial and it actually works very well. ;) Mind you, seventeen months waiting for your reply was rather a long time. :o