Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-21-2008, 06:56 PM
Senior Member
 
Posts: 55
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?
Reply With Quote
  #2 (permalink)  
Old 07-21-2008, 07:07 PM
Moderator
 
Posts: 6,236
Default

In one terminal while you deploy in another you can simply:
tail -f /opt/zimbra/log/mailbox.log
Reply With Quote
  #3 (permalink)  
Old 07-21-2008, 07:23 PM
Senior Member
 
Posts: 55
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 07:26 PM.. Reason: changed
Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 08:05 PM
Senior Member
 
Posts: 55
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.
Reply With Quote
  #5 (permalink)  
Old 07-23-2008, 02:16 AM
Zimlet Guru & Moderator
 
Posts: 265
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.
Reply With Quote
  #6 (permalink)  
Old 07-24-2008, 07:39 AM
Intermediate Member
 
Posts: 21
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 *
Reply With Quote
  #7 (permalink)  
Old 03-23-2009, 11:29 AM
Moderator
 
Posts: 1,405
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.
__________________
Elliot Wilen
Berkeley, CA

Don't forget to enter your Zimbra version in your forum profile.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.