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

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 08-30-2010, 02:22 AM
Elite Member
 
Posts: 469
Default [SOLVED] 6.0.7 --> 6.0.8 Upgrade - Asterisk zimlet update failed

Not sure of the right forum for this as it is an upgrade rather than a new install - so please move if necessary.

Just ran an upgrade on our server. Everything went smoothly as usual (great job again guys) except for one of the non-standard zimlets - asterisk - did not update correctly.

Code:
Updating non-standard zimlets...
        com_zimbra_local...done.
        com_zimbra_holidaycalendars...done.
        com_zimbra_attachmail...done.
        com_zimbra_asterisk...failed. This may impact system functionality.
        com_zimbra_asteriskmwi...done.
I also tried post-install to deploy this zimlet from the zimbra-experimental folder, and it also failed from there.

It creates the com_zimbra_asterisk folder, and copies just one file into the folder asterisk.css but all other files are missing.

This is not an immediate show-stopper for us as we are just beginning to experiment with the integration but, it might be important for others.
Reply With Quote
  #2 (permalink)  
Old 08-31-2010, 12:52 AM
Moderator
 
Posts: 7,928
Default

Does /opt/zimbra/log/mailbox.log report what the issue is ? Have you tried unzipping the zimlet to ensure all the files are correct ?
__________________
Reply With Quote
  #3 (permalink)  
Old 08-31-2010, 01:32 AM
Elite Member
 
Posts: 469
Default

Found a permissions error in deploying the first of 2 jar files contained in the ZIP file.

Code:
2010-08-30 10:17:09,226 INFO  [Thread-309] [] zimlet - Deploying Zimlet com_zimbra_asterisk in LDAP.
2010-08-30 10:17:09,332 INFO  [Thread-309] [] zimlet - Installing Zimlet com_zimbra_asterisk on this host.
2010-08-30 10:17:09,332 INFO  [Thread-309] [] zimlet - deploy
java.io.FileNotFoundException: /opt/zimbra/mailboxd/webapps/zimlet/WEB-INF/lib/JainSipApi1.1.jar (Permission denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.(FileOutputStream.java:179)
	at java.io.FileOutputStream.(FileOutputStream.java:131)
	at com.zimbra.cs.zimlet.ZimletUtil.writeFile(ZimletUtil.java:707)
	at com.zimbra.cs.zimlet.ZimletUtil.installZimlet(ZimletUtil.java:652)
	at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(ZimletUtil.java:587)
	at com.zimbra.cs.zimlet.ZimletUtil.deployZimlet(ZimletUtil.java:520)
	at com.zimbra.cs.service.admin.DeployZimlet$DeployThread.run(DeployZimlet.java:99)
	at java.lang.Thread.run(Thread.java:619)
There are 2 jar files contained in there

JainSipApi1.1.jar
nist-sip-1.2.jar

Both of them were previously marked with permissions r--r--r--

I renamed them to nnn.OLD, and did another manual deploy on the zimlet. This time it worked correctly, and new copies of the files were deployed to the directory

The permissions on the new copies are rw-r-----

Are these files part of a standard install ? Or are they only there from my previous installation of the zimlet on 6.0.7 ?
Reply With Quote
  #4 (permalink)  
Old 08-31-2010, 01:41 AM
Moderator
 
Posts: 7,928
Default

They are in the Zimlet. It could be that the permissions have been fixed in 6.0.8 as when I expand the zip:

-rw-r--r-- 1 root root 397993 Aug 24 10:40 nist-sip-1.2.jar

Set the permissions and you should be okay for future upgrades.
__________________
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.