Results 1 to 7 of 7

Thread: deploy zimlets not happening

  1. #1
    Join Date
    May 2007
    Location
    AZ, USA
    Posts
    55
    Rep Power
    9

    Question deploy zimlets not happening

    I placed gtranslator, collector, and starexpert_save_EN in the /opt/zimbra/zimlets dir, then using zimbra user did the zmzimletctl deploy zimlet.zip name commands.

    received back:
    INFO: deploying on sevrname.domain.com
    INFO: deploy initiated. (check servers mailbox.log for status)

    But, never see the 3 zimlets in the adminUI when selecting the zimlets icon.

    not sure if it is safe to view mailbox.log for fear of a corruption of the log file.

    Any idea of the exact CLI to view the mailbox.log file (safely)?

    Any idea why I am not seeing the zimlets now on the admin UI?

  2. #2
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    22

    Default

    In one terminal while you deploy in another you can simply:
    tail -f /opt/zimbra/log/mailbox.log

  3. #3
    Join Date
    May 2007
    Location
    AZ, USA
    Posts
    55
    Rep Power
    9

    Default

    Does any of this make sense?

    [zimbra@java zimlets]$ ls
    Zimlet_Starxpert_Save_EN.zip com_zimbra_collector.zip com_zimbra_email.zip com_zimbra_local.zip com_zimbra_url.zip
    com_zimbra_cert_manager.zip com_zimbra_date.zip com_zimbra_gtranslator.zip com_zimbra_phone.zip com_zimbra_ymemoticons.zip


    [zimbra@java zimlets]$ zmzimletctl deploy com_zimbra_collector.zip
    [] INFO: Deploying on java.domain.org
    [] INFO: Deploy initiated. (check the servers mailbox.log for the status)

    LOG OUTPUT:

    2008-07-21 18:19:38,026 INFO [btpool0-57] [name=zimbra;ip=10.1.18.1;] soap - DeployZimletRequest
    2008-07-21 18:19:38,027 INFO [Thread-27100] [] zimlet - deploy
    java.lang.NegativeArraySizeException
    at com.zimbra.cs.zimlet.ZimletFile$ZimletRawEntry.<in it>(ZimletFile.java:105)
    at com.zimbra.cs.zimlet.ZimletFile.initialize(ZimletF ile.java:171)
    at com.zimbra.cs.zimlet.ZimletFile.<init>(ZimletFile. java:146)
    at com.zimbra.cs.service.admin.DeployZimlet$DeployThr ead.run(DeployZimlet.java:96)
    at java.lang.Thread.run(Thread.java:595)
    Last edited by jason; 07-21-2008 at 06:26 PM. Reason: changed

  4. #4
    Join Date
    May 2007
    Location
    AZ, USA
    Posts
    55
    Rep Power
    9

    Default

    Mike, I sent this one for a support ticket, as we are in need of these 3 zimlets deployed. If you or anyone else knows more/have seen this, please advise.
    The zimlets are in the right directory, and I used the right commands.
    -Thanks in advance.

  5. #5
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    9

    Default

    For StarXpert_save_EN it is normal that it doesn't work.
    Simply because this is a zip file, but it is not the zimlet. The zimlet is the com_starxpert_save.zip file inside StarXpert_save_EN.

  6. #6
    Join Date
    Jul 2008
    Posts
    21
    Rep Power
    8

    Default To jason

    i faced this problem, You have to change the permission to 777 of the zimbra path then it will work,

    when you create a new zip file use the follow these steps:
    1) go inside the folder that contains zimlet files
    2)zip ../zimlet_name.zip *

  7. #7
    Join Date
    Jun 2008
    Location
    Berkeley, CA
    Posts
    1,474
    Rep Power
    10

    Default

    The recommendation in the previous post ought to be stickied, IMO.

    Also, deploying zimlets through the admin GUI can generate this error, too. I was getting it last night on a simple zimlet I wrote. However the admin GUI worked fine with a zimlet downloaded from the gallery, as long as the original zipfile was intact. However if I unzipped the zimlet and rezipped it before deploying over the GUI, I'd get the error.‡

    I wound up preparing my zimlet (assuming contents are in zimletdirectory) by

    cd zimletdirectory
    chmod 777 *
    zip ../zimletdirectory.zip *
    chmod 777 ../zimletdirectory.zip [may not be needed]

    Then I used the command line while logged in as the zimbra user.

    I'm guessing I could have used the GUI once the permissions on the zimlet contents were set properly.

    ‡ Further detail: I downloaded the zimlet from the Gallery using Safari 3.2.1 under Mac OS 10.4. Since Safari auto-triggers an unzip, I rezipped the zimlet by selecting the folder and using File:Create Archive. When that didn't work, I re-downloaded the zimlet by ctrl-clicking and "Download linked file", which bypasses the auto-unzip.

Similar Threads

  1. unable to use zimlets
    By ras in forum Zimlets
    Replies: 3
    Last Post: 04-03-2009, 05:46 AM
  2. Replies: 1
    Last Post: 04-07-2008, 08:58 AM
  3. unable to deploy custom zimlets
    By ras in forum Zimlets
    Replies: 1
    Last Post: 04-02-2008, 02:53 AM
  4. where are my zimlets ?
    By santo in forum Zimlets
    Replies: 21
    Last Post: 06-05-2007, 07:30 AM
  5. Can't Deploy Zimlets after upgrade to 4.5.5
    By ajsp in forum Installation
    Replies: 2
    Last Post: 05-17-2007, 07:17 AM

Posting Permissions

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