[SOLVED] Import account Read timed out

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
danielw
Posts: 3
Joined: Tue Jul 18, 2017 10:56 am

[SOLVED] Import account Read timed out

Postby danielw » Tue Jul 18, 2017 11:23 am

Hi all,

I'm finally migrating from version 8.6.0 FOSS (Ubuntu 12.04) to 8.7.11 FOSS (Ubuntu 16.04). Because I want to clean things up I chose to create the domains, COS and users on the new server by hand.

For the users I want to migrate to the new server I make an export from the account on the old server with the CLI:

Code: Select all

/opt/zimbra/bin/zmmailbox -z -m USER getRestURL "//?fmt=tgz" > /PATH/USER.tgz


So far everything goes well.

Next is to import the account on the new installed server with CLI:

Code: Select all

/opt/zimbra/bin/zmmailbox -z -m USER postRestURL "//?fmt=tgz&resolve=replace" /PATH/USER.tgz


But there it goes wrong.... After about 60-90 seconds I get this error:
ERROR: zclient.IO_ERROR (Read timed out) (cause: java.net.SocketTimeoutException Read timed out)

I'm looking for day's finding a solutions, but none of the suggestions I found on this forum or by google worked (like changing timeout values like zimbraReverseProxyUpstreamReadTimeout or zimbraReverseProxyUpstreamSendTimeout)

To make it even more interesting: importing the TGZ through the webmail from a user succeed without problems! :?

But I want to script things, so I don't have to manually import all the mailbox items per user. So I want to use the CLI method.

Hope someone have a suggestion what to do. ;)


phoenix
Ambassador
Ambassador
Posts: 26349
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: Import account Read timed out

Postby phoenix » Tue Jul 18, 2017 1:04 pm

Don't waste your time doing any of those steps, use the ZeXtras Migration Tool and make your life a lot easier - it's easy to use, it works and it's free.
Regards

Bill

Rspamd: A high performance spamassassin replacement

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
User avatar
DualBoot
Elite member
Elite member
Posts: 1090
Joined: Mon Apr 18, 2016 8:18 pm
Location: France - Earth
ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
Contact:

Re: Import account Read timed out

Postby DualBoot » Tue Jul 18, 2017 1:31 pm

Use -t 0 option
And if it is not enough modify memory allocation for zmjava command into zmlocalconfig.
danielw
Posts: 3
Joined: Tue Jul 18, 2017 10:56 am

Re: Import account Read timed out

Postby danielw » Wed Jul 19, 2017 1:39 pm

Thanks DualBoot, I will try it today! I let now if it works!

Thanks Phoenix. I want a clean and fresh new installation. So first I want to try the "old" way before using migration tools!
danielw
Posts: 3
Joined: Tue Jul 18, 2017 10:56 am

Re: Import account Read timed out

Postby danielw » Wed Jul 19, 2017 7:12 pm

Adding the -t 0 to the zmmailbox command for importing the mailbox backup did the trick! :D :D

Thanks!

** SOLVED **

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 8 guests