Results 1 to 4 of 4

Thread: [SOLVED] 6.0.7 --> 6.0.8 Upgrade - Asterisk zimlet update failed

  1. #1
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    6

    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.

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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 ?

  3. #3
    Join Date
    Oct 2009
    Location
    Dublin, IRELAND
    Posts
    712
    Rep Power
    6

    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 ?

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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.

Similar Threads

  1. Asterisk PBX Integration Zimlet (new)
    By chlauber in forum Zimlets
    Replies: 197
    Last Post: 01-20-2014, 02:22 PM
  2. Replies: 6
    Last Post: 06-21-2010, 12:46 AM
  3. [SOLVED] 5.0.11 -> 5.0.12 Upgrade failed (SSLeay.so)
    By bards1888 in forum Installation
    Replies: 30
    Last Post: 04-26-2010, 07:56 AM
  4. Replies: 6
    Last Post: 03-05-2010, 12:13 AM
  5. Problem with Mail Server - Need help!
    By joeleo in forum Installation
    Replies: 2
    Last Post: 03-04-2008, 11:03 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
  •