[SOLVED] Import account Read timed out
Posted: 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:
So far everything goes well.
Next is to import the account on the new installed server with CLI:
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.
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
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
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.