Conversion: Unable to instantiate MIME handler: Difference between revisions
(New page: == Summary == Document conversion may not function properly after migrating from ZCS FOSS to Network Edition. The problem can be identified by: * Search for known string found in an attac...) |
(No difference)
|
Revision as of 22:40, 24 November 2008
Summary
Document conversion may not function properly after migrating from ZCS FOSS to Network Edition. The problem can be identified by:
- Search for known string found in an attachment like PDF or DOC does not return the message containing the attachment.
- View as html results in file download.
Problem
MIME handlers for conversion are not updated during migration.
Solution
Update the MIME handler configuration in the Zimbra directory. Also, It is strongly recommended version 2 of conversion be used on a production Zimbra mailbox server.
Check and update conversion version 2
$ zmlocalconfig convertd_version convertd_version = 1 $ /opt/zimbra/convertd/bin/upgrade_v2 $ zmcontrol stop $ zmcontrol start
See the Zimbra release notes for further details.
Fix MIME handler configuration
Place the following LDIF file into the /tmp directory on the Zimbra LDAP server and make it readable for the zimbra user. This LDIF is to be used with conversion V2.
fixconversion.ldif
dn: cn=all,cn=mime,cn=config,cn=zimbra changetype: modify replace: zimbraMimeHandlerClass zimbraMimeHandlerClass: ConverterHandler zimbraMimeHandlerExtension: convertd - replace: description description: All Documents dn: cn=text/enriched,cn=mime,cn=config,cn=zimbra changetype: modify replace: zimbraMimeHandlerClass zimbraMimeHandlerClass: com.zimbra.cs.mime.handler.TextEnrichedHandler dn: cn=text/plain,cn=mime,cn=config,cn=zimbra changetype: modify replace: zimbraMimeHandlerClass zimbraMimeHandlerClass: com.zimbra.cs.mime.handler.TextEnrichedHandler
Run these commands as the zimbra user.
$ source ~/bin/zmshutil $ zmsetvars $ ldapmodify -x -H $ldap_master_url -D $zimbra_ldap_userdn -w $zimbra_ldap_password -f /tmp/fixconversion.ldif
Restart all mailbox servers
$ zmmailboxdctl restart
Bugs
Bug 28851 "View as html" doesn't work after upgrading from FOSS to NE
Keywords: conversion convertd