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

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 10-28-2007, 06:27 AM
Active Member
 
Posts: 28
Default Zimlets all not working?

Hi folk! How do you go about debugging why a Zimlet isn't working? More importantly, -all- of them are not working. While running 4.5.8, I was using only the default Zimlets, and there was no date highlighting, no url highlighting, etc. When I upgraded to 4.5.9, I briefly saw the date highlighting (and others) working. However, I installed the yahoo maps Zimlet from the extras directory and now none of them work. I removed the yahoo maps one and everything is -still- not working. I don't see anything in the logs that's telling me what's going on. Any ideas? I've tried disabling and reenabling various zimlets with no success.
__________________
The most addictive drug in the world is music.
- The Lost Boyz
Reply With Quote
  #2 (permalink)  
Old 10-28-2007, 07:14 AM
Zimbra Consultant & Moderator
 
Posts: 19,633
Default

All the zimlets do work, I'd be surprised if you found problems with them. The usual reason for them not working is a browser extension/plug-in that conflicts with it. Undeploy then redeploy the zimlets (check the wiki if you need details on how to do that), restart Zimbra then try using a browser with no extensions/plug-ins etc and see if you still have the problem.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 10-28-2007, 07:46 AM
Active Member
 
Posts: 28
Default

*grin* I certainly did not mean to imply that the Zimlets don't work. In fact I left out an important weird-ism! They work -just dandy- with the install at work. I can see dates highlighted, urls, everything. All looks great! Then I tab over to my home install and nothing. Same with my wife's Firefox install that has nothing but the default setup. (mine has the web developer toolbar amongst other things) If it were the browser I would assume the same effect would occur with work's install though.

I tried restarting, checked to see if it was still busted, then undeploying each zimlet and redeploying, checked to see if it was still busted, then restarted the server again. Still not behaving. =( I mean overall I was just looking for some sort of logs that might tell me "tried to load date zimlet and failed", but I see nothing that indicates any reason why it would not work.

I'm baffled! =( Is there any other useful information I can provide?

I posted about this in another thread thinking it was only occuring to me with the 5.0 betas, when I was testing it out on a dev machine to make sure we wanted to switch over from my home brew system. 4.5 seemed to work at first. I'd almost describe the behavior like this ... right after a reinstall it works for a short period and just stops. Now I know that's about the most useless thing I can possibly say. =( But as far as I can see I have no solid errors/messages to report back!

Hrm. This looks kinda interesting though (just stumbled upon it)

mailbox.log.2007-10-27:2007-10-27 14:38:45,575 ERROR [PostStartupCrashRecovery] [] ObjectHandler - loadHandler caught exception
mailbox.log.2007-10-27:com.zimbra.cs.object.ObjectHandlerException: null handler for com_zimbra_phone
mailbox.log.2007-10-27:2007-10-27 14:38:45,578 ERROR [PostStartupCrashRecovery] [] ObjectHandler - loadHandler caught exception
mailbox.log.2007-10-27:com.zimbra.cs.object.ObjectHandlerException: null handler for com_zimbra_url

Of course, that occured yesterday, not today. =/
__________________
The most addictive drug in the world is music.
- The Lost Boyz
Reply With Quote
  #4 (permalink)  
Old 10-28-2007, 07:57 AM
Active Member
 
Posts: 28
Default

Now this is interesting. I just changed my theme to Steel (from Sky) and all of a sudden the Zimlets are working fine. Then I changed back to Sky and they're still working fine. ?? How bizarre! Any thoughts?
__________________
The most addictive drug in the world is music.
- The Lost Boyz
Reply With Quote
  #5 (permalink)  
Old 10-28-2007, 08:03 AM
Active Member
 
Posts: 28
Default

And then I logged out and back in and they're busted again. I can easily reproduce it but don't think I'm providing useful real debugging info. =/
__________________
The most addictive drug in the world is music.
- The Lost Boyz
Reply With Quote
  #6 (permalink)  
Old 10-28-2007, 09:59 AM
Zimlet Guru & Moderator
 
Posts: 467
Default

Quote:
Originally Posted by jadestorm View Post
And then I logged out and back in and they're busted again. I can easily reproduce it but don't think I'm providing useful real debugging info. =/
Throw firebug into your firefox browser, and see if any errors pop up.
Reply With Quote
  #7 (permalink)  
Old 10-28-2007, 12:30 PM
Active Member
 
Posts: 28
Default

Great idea! I do have firebug installed though and no errors. =( Doesn't make any sense! You know, next time I see it happening (and am awake to do debugging) I'll do a packet trace and see if I'm literally receiving no tags or not. Just to make sure that the browser isn't mis-rendering it or something. Should I expect to see the mail arriving to my browser pre-parsed with hyperlinks where the highlighted things are? Or is that all adjusted on the client side via javascript?
__________________
The most addictive drug in the world is music.
- The Lost Boyz
Reply With Quote
  #8 (permalink)  
Old 10-28-2007, 12:45 PM
Former Zimbran
 
Posts: 5,606
Default

Looks like you might be hitting Bug 8711 - Custom Zimlets not found after upgrade

I've seen this a lot, in particular on RC1 and RC2, but we think we have it fixed now.

In the interm, undeploy all your zimlets.

Then, go to /opt/zimbra/tomcat/webapps/service/zimlet

and remove the files for each of the zimlets you have removed.

Then stop zimbra

cd /opt/zimbra/tomcat/work
rm -rf *

start zimbra and redeploy
Reply With Quote
  #9 (permalink)  
Old 10-28-2007, 01:23 PM
Active Member
 
Posts: 28
Default

Crap. I thought that had it for a moment. So basically after performing those steps, if I log in it's working fine. I log out and back in, broken again. I can reproduce the full set of steps over and over. Your procedure here indeed seems to "reset something" and make it happy for one login worth.

I do see some pieces of /opt/zimbra that appear to be owned to root post-install. I figured that was expected, but do you think it's worth a chown -Rh zimbra:zimbra of the entire structure and seeing if that cheers it up?
__________________
The most addictive drug in the world is music.
- The Lost Boyz
Reply With Quote
  #10 (permalink)  
Old 10-28-2007, 01:25 PM
Former Zimbran
 
Posts: 5,606
Default

Quote:
Originally Posted by jadestorm View Post
do you think it's worth a chown -Rh zimbra:zimbra of the entire structure and seeing if that cheers it up?
Don't do that. Especially if you're running 4.5.9.

That will most defenetly break it.

When you say that they don't appear, do you get anything in the pane? A icon/text, anything?

Last edited by jholder; 10-28-2007 at 01:30 PM..
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.