zmztozmig - upload too large

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
sononaco
Posts: 10
Joined: Fri Sep 12, 2014 11:35 pm

zmztozmig - upload too large

Postby sononaco » Tue Oct 16, 2012 9:37 pm

I have been trying migrate several email accounts from ZCS open source 7.2 to ZCS NE 8. All of my accounts except two copy over successfully. The two accounts that fail are approximately 2.5 GB. The 7.2 server has 4GB of RAM and the 8 server has 8 GB. On both servers I have increased the following setting:
zmlocalconfig -e rest_request_max_upload_size=2800000000

...and restarted ZCS.
I have tried going from the 7.2 server to the 8.0 and from the 8.0 server to the 7.2 server. I am still getting the "upload too large" message. Here is the output of zmztozmig:


[INFO|ZTOZThread1:12| 10/16/2012 10:14:18]: Download URL: .com:7071/service/home/[deleted 

Download(KB): 2526484.736 Upload(KB): NA[SEVERE|ZTOZThread1:12| 10/16/2012 11:39:57]: Download Finished(/tmp/ztozmig/mailboxdumps/[deleted]@[domain-deleted].com.tgz): Total KBytes downloaded: 2526484.736

[INFO|ZTOZThread1:12| 10/16/2012 11:39:58]: Finished mailbox ([deleted]@[domain-deleted].com) download.

[INFO|ZTOZThread1:12| 10/16/2012 11:39:58]: Download TarredMailBox Finsihed ([deleted]@[domain-deleted].com).

[INFO|ZTOZThread1:12| 10/16/2012 11:39:58]: Upload TarredMailBox Started... ([deleted]@[domain-deleted].com)

[INFO|ZTOZThread1:12| 10/16/2012 11:39:58]: Starting upload (/tmp/ztozmig/mailboxdumps/[deleted]@[domain-deleted].com.tgz)

[INFO|ZTOZThread1:12| 10/16/2012 11:39:58]: File Upload URL: .com:7071/service/home/[deleted

[INFO|ZTOZThread1:12| 10/16/2012 11:39:58]: File Path: /tmp/ztozmig/mailboxdumps/[deleted]@[domain-deleted].com.tgz

[INFO|ZTOZThread1:12| 10/16/2012 11:39:58]: File Size: 2526484736

Download(KB): 2526484.736 Upload(KB): 2526484.736[INFO|ZTOZThread1:12| 10/16/2012 11:41:11]: Response Message: upload too large: file '/': upload too large

[INFO|ZTOZThread1:12| 10/16/2012 11:41:11]: Upload Error (/tmp/ztozmig/mailboxdumps/[deleted]@[domain-deleted].com.tgz)

[INFO|ZTOZThread1:12| 10/16/2012 11:41:11]: Upload TarredMailBox Error ([deleted]@[domain-deleted].com).

[INFO|ZTOZThread1:12| 10/16/2012 11:41:11]: Moved /tmp/ztozmig/mailboxdumps/[deleted]@[domain-deleted].com.tgz to /tmp/ztozmig/mailboxfailures/[deleted]@[domain-deleted].com.tgz

[INFO|ZTOZThread1:12| 10/16/2012 11:41:11]: Total Time Taken (in seconds): 5213.166

[INFO|main:1| 10/16/2012 11:41:11]: ****************SUMMARY**************************

[INFO|main:1| 10/16/2012 11:41:11]: Total Accounts processed : 1

[INFO|main:1| 10/16/2012 11:41:11]: Successfull Accounts : 0

[INFO|main:1| 10/16/2012 11:41:11]: Failed accounts : 1

[INFO|main:1| 10/16/2012 11:41:11]: Total Migration Time(seconds) : 5213.166

[INFO|main:1| 10/16/2012 11:41:11]: *************************************************


Has anyone had a similar problem and worked out a solution?
Many thanks in advance.
--keith


Lammert
Posts: 8
Joined: Sat Sep 13, 2014 2:58 am

zmztozmig - upload too large

Postby Lammert » Sat Nov 03, 2012 8:18 am

I think you have set the rest_request_max_upload_size too low, 2800000000 bytes is only ~2.6 GB, and quite close to the mailbox size of 2.5 GB. Depending on your filesystem, blocksize etc. this may just be too low. Try setting it to 4 GB and then try again.
logangrimnar
Posts: 9
Joined: Sat Sep 13, 2014 2:02 am

zmztozmig - upload too large

Postby logangrimnar » Mon Nov 19, 2012 4:35 am

HI,


just got the same issue in my migration from ZNE 7 to 8. Does anyone found a solution even if it's involving to use another method ?
I've tried to increase the "rest_request_max_upload_size" but it doesn't change anything.
Regards,
johan.radyn
Posts: 7
Joined: Sat Sep 13, 2014 12:05 am

zmztozmig - upload too large

Postby johan.radyn » Tue Dec 04, 2012 4:26 pm

Found the solution here: VMware KB: Uploading a large file via REST to the Zimbra server fails with an error
[QUOTE]Set a new value for the maximum upload size by running the command:
zmlocalconfig -e rest_request_max_upload_size=value
Note: Specify the value in bytes.
Restart to make the change take effect:
zmmailboxdctl restart
You are now able to successfully upload files up to the new maximum size limit.[/QUOTE]
logangrimnar
Posts: 9
Joined: Sat Sep 13, 2014 2:02 am

zmztozmig - upload too large

Postby logangrimnar » Thu Dec 06, 2012 6:45 am

[quote user="johan.radyn"]Found the solution here: VMware KB: Uploading a large file via REST to the Zimbra server fails with an error[/QUOTE]
Hi,
works fine for me with 2Gb mailbox after setting this value on the destination server (and also on the source server in the doubt).
Thanks a lot !
maverik
Posts: 1
Joined: Mon Jun 27, 2016 3:13 pm

Re: zmztozmig - upload too large

Postby maverik » Mon Jun 27, 2016 4:13 pm

what is the solution??, the topic is removed in vmware :|

Return to “Administrators”

Who is online

Users browsing this forum: Bing [Bot] and 12 guests