Results 1 to 5 of 5

Thread: zmztozmig - upload too large

  1. #1
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    2
    Rep Power
    7

    Question zmztozmig - upload too large

    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:

    Code:
    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:


    Code:
    [INFO|ZTOZThread1:12| 10/16/2012 10:14:18]: Download URL: https://mail.[domain-deleted].com:7071/service/home/[deleted]@[domain-deleted].com?fmt=tgz&authToken=0_9c1ae6eb79e438a1bc608612b3fa235b38e520aa_69643d33363a31393338333438312d616234612d343135652d623563322d3233656432653262343937623b6578703d31333a313335303437363034303531383b61646d696e3d313a313b747970653d363a7a696d6272613b 
    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: https://mail2.[domain-deleted].com:7071/service/home/[deleted]@[domain-deleted].com?fmt=tgz&resolve=skip 
    [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

  2. #2
    Join Date
    Oct 2012
    Posts
    8
    Rep Power
    2

    Default

    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.

  3. #3
    Join Date
    May 2011
    Posts
    9
    Rep Power
    4

    Default

    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,
    Release 7.0.1_GA_3105.UBUNTU10_64 UBUNTU10_64 NETWORK edition.

  4. #4
    Join Date
    Feb 2009
    Location
    Stellenbosch, South Africa
    Posts
    7
    Rep Power
    6

    Default

    Found the solution here: VMware KB: Uploading a large file via REST to the Zimbra server fails with an error

    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.

  5. #5
    Join Date
    May 2011
    Posts
    9
    Rep Power
    4

    Default

    Quote Originally Posted by johan.radyn View Post
    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 !
    Release 7.0.1_GA_3105.UBUNTU10_64 UBUNTU10_64 NETWORK edition.

Similar Threads

  1. Replies: 23
    Last Post: 10-22-2012, 06:24 AM
  2. Replies: 0
    Last Post: 09-25-2012, 06:21 AM
  3. zmztozmig - Passwords?
    By dhayes in forum Administrators
    Replies: 3
    Last Post: 08-10-2012, 05:26 AM
  4. zmztozmig - Passwords?
    By dhayes in forum Migration
    Replies: 1
    Last Post: 08-09-2012, 10:51 PM
  5. Replies: 0
    Last Post: 09-10-2009, 12:27 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •